Home
last modified time | relevance | path

Searched refs:ProfileKind (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h67 InstrProfKind ProfileKind = InstrProfKind::Unknown; variable
171 if (ProfileKind == InstrProfKind::Unknown) { in mergeProfileKind()
172 ProfileKind = Other; in mergeProfileKind()
178 return (static_cast<bool>(ProfileKind & A) && in mergeProfileKind()
180 (static_cast<bool>(ProfileKind & B) && in mergeProfileKind()
187 (ProfileKind & InstrProfKind::FrontendInstrumentation) ^ in mergeProfileKind()
201 ProfileKind |= Other; in mergeProfileKind()
205 InstrProfKind getProfileKind() const { return ProfileKind; } in getProfileKind()
208 return static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage); in hasSingleByteCoverage()
H A DInstrProfReader.h253 InstrProfKind ProfileKind = InstrProfKind::Unknown; variable
272 return static_cast<bool>(ProfileKind & InstrProfKind::IRInstrumentation); in isIRLevelProfile()
276 return static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive); in hasCSIRLevelProfile()
280 return static_cast<bool>(ProfileKind & in instrEntryBBEnabled()
285 return static_cast<bool>(ProfileKind & in instrLoopEntriesEnabled()
290 return static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage); in hasSingleByteCoverage()
294 return static_cast<bool>(ProfileKind & InstrProfKind::FunctionEntryOnly); in functionEntryOnly()
303 return static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile); in hasTemporalProfile()
306 InstrProfKind getProfileKind() const override { return ProfileKind; } in getProfileKind()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp574 if (static_cast<bool>(ProfileKind & InstrProfKind::IRInstrumentation)) in writeImpl()
576 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) in writeImpl()
578 if (static_cast<bool>(ProfileKind & in writeImpl()
581 if (static_cast<bool>(ProfileKind & in writeImpl()
584 if (static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage)) in writeImpl()
586 if (static_cast<bool>(ProfileKind & InstrProfKind::FunctionEntryOnly)) in writeImpl()
588 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) in writeImpl()
590 if (static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile)) in writeImpl()
605 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) { in writeImpl()
617 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) { in writeImpl()
[all …]
H A DInstrProfReader.cpp46 InstrProfKind ProfileKind = InstrProfKind::Unknown; in getProfileKindFromVersion() local
48 ProfileKind |= InstrProfKind::IRInstrumentation; in getProfileKindFromVersion()
51 ProfileKind |= InstrProfKind::ContextSensitive; in getProfileKindFromVersion()
54 ProfileKind |= InstrProfKind::FunctionEntryInstrumentation; in getProfileKindFromVersion()
57 ProfileKind |= InstrProfKind::LoopEntriesInstrumentation; in getProfileKindFromVersion()
60 ProfileKind |= InstrProfKind::SingleByteCoverage; in getProfileKindFromVersion()
63 ProfileKind |= InstrProfKind::FunctionEntryOnly; in getProfileKindFromVersion()
66 ProfileKind |= InstrProfKind::MemProf; in getProfileKindFromVersion()
69 ProfileKind |= InstrProfKind::TemporalProfile; in getProfileKindFromVersion()
71 return ProfileKind; in getProfileKindFromVersion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DARMTargetParser.cpp98 static ARM::ProfileKind getProfileKind(ARM::ArchKind AK) { in getProfileKind()
106 return ARM::ProfileKind::M; in getProfileKind()
109 return ARM::ProfileKind::R; in getProfileKind()
130 return ARM::ProfileKind::A; in getProfileKind()
145 return ARM::ProfileKind::INVALID; in getProfileKind()
151 ARM::ProfileKind ARM::parseArchProfile(StringRef Arch) { in parseArchProfile()
481 if (getProfileKind(AK) != ProfileKind::A) in convertV9toV8()
545 parseArchProfile(ArchName) == ProfileKind::M) in computeDefaultTargetABI()
H A DTriple.cpp550 ARM::ProfileKind Profile = ARM::parseArchProfile(ArchName); in parseARMArch()
552 if (Profile == ARM::ProfileKind::M && Version == 6) { in parseARMArch()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.cpp145 if (ArchProfile == llvm::ARM::ProfileKind::M) { in setAtomic()
245 case llvm::ARM::ProfileKind::A: in getCPUProfile()
247 case llvm::ARM::ProfileKind::R: in getCPUProfile()
249 case llvm::ARM::ProfileKind::M: in getCPUProfile()
300 ArchProfile == llvm::ARM::ProfileKind::M) { in ARMTargetInfo()
401 llvm::ARM::ProfileKind Profile = llvm::ARM::parseArchProfile(SubArch); in isBranchProtectionSupportedArch()
402 return a.isArmT32() && (Profile == llvm::ARM::ProfileKind::M); in isBranchProtectionSupportedArch()
620 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
629 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
771 if (CPUProfile.empty() || ArchProfile != llvm::ARM::ProfileKind::M) in getTargetDefines()
[all …]
H A DARM.h61 llvm::ARM::ProfileKind ArchProfile;
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DARMTargetParser.h171 enum class ProfileKind { INVALID = 0, A, R, M }; enum
269 LLVM_ABI ProfileKind parseArchProfile(StringRef Arch);
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DARM.cpp31 return llvm::ARM::parseArchProfile(Arch) == llvm::ARM::ProfileKind::M; in isARMMProfile()
51 return llvm::ARM::parseArchProfile(Arch) == llvm::ARM::ProfileKind::A; in isARMAProfile()
288 llvm::ARM::parseArchProfile(Suffix) == llvm::ARM::ProfileKind::M; in setArchNameInTriple()
864 llvm::ARM::ProfileKind ArchProfile = in getARMTargetFeatures()
867 (ArchProfile == llvm::ARM::ProfileKind::A || in getARMTargetFeatures()
868 ArchProfile == llvm::ARM::ProfileKind::R))) { in getARMTargetFeatures()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp108 static cl::opt<ProfileKinds> ProfileKind( variable
1795 if (ProfileKind != instr) in merge_main()
1805 if (ProfileKind == instr) in merge_main()
2774 if (ProfileKind == instr) in overlap_main()