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.h64 InstrProfKind ProfileKind = InstrProfKind::Unknown; variable
156 if (ProfileKind == InstrProfKind::Unknown) { in mergeProfileKind()
157 ProfileKind = Other; in mergeProfileKind()
163 return (static_cast<bool>(ProfileKind & A) && in mergeProfileKind()
165 (static_cast<bool>(ProfileKind & B) && in mergeProfileKind()
172 (ProfileKind & InstrProfKind::FrontendInstrumentation) ^ in mergeProfileKind()
184 ProfileKind |= Other; in mergeProfileKind()
188 InstrProfKind getProfileKind() const { return ProfileKind; } in getProfileKind()
191 return static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage); in hasSingleByteCoverage()
H A DInstrProfReader.h240 InstrProfKind ProfileKind = InstrProfKind::Unknown; variable
259 return static_cast<bool>(ProfileKind & InstrProfKind::IRInstrumentation); in isIRLevelProfile()
263 return static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive); in hasCSIRLevelProfile()
267 return static_cast<bool>(ProfileKind & in instrEntryBBEnabled()
272 return static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage); in hasSingleByteCoverage()
276 return static_cast<bool>(ProfileKind & InstrProfKind::FunctionEntryOnly); in functionEntryOnly()
285 return static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile); in hasTemporalProfile()
288 InstrProfKind getProfileKind() const override { return ProfileKind; } in getProfileKind()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp863 if (static_cast<bool>(ProfileKind & InstrProfKind::IRInstrumentation)) in writeImpl()
865 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) in writeImpl()
867 if (static_cast<bool>(ProfileKind & in writeImpl()
870 if (static_cast<bool>(ProfileKind & InstrProfKind::SingleByteCoverage)) in writeImpl()
872 if (static_cast<bool>(ProfileKind & InstrProfKind::FunctionEntryOnly)) in writeImpl()
874 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) in writeImpl()
876 if (static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile)) in writeImpl()
891 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) { in writeImpl()
903 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) { in writeImpl()
953 if (static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile)) { 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::SingleByteCoverage; in getProfileKindFromVersion()
60 ProfileKind |= InstrProfKind::FunctionEntryOnly; in getProfileKindFromVersion()
63 ProfileKind |= InstrProfKind::MemProf; in getProfileKindFromVersion()
66 ProfileKind |= InstrProfKind::TemporalProfile; in getProfileKindFromVersion()
68 return ProfileKind; in getProfileKindFromVersion()
249 ProfileKind |= InstrProfKind::IRInstrumentation; in readHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DARMTargetParser.cpp97 static ARM::ProfileKind getProfileKind(ARM::ArchKind AK) { in getProfileKind()
105 return ARM::ProfileKind::M; in getProfileKind()
108 return ARM::ProfileKind::R; in getProfileKind()
128 return ARM::ProfileKind::A; in getProfileKind()
143 return ARM::ProfileKind::INVALID; in getProfileKind()
149 ARM::ProfileKind ARM::parseArchProfile(StringRef Arch) { in parseArchProfile()
480 if (getProfileKind(AK) != ProfileKind::A) in convertV9toV8()
544 parseArchProfile(ArchName) == ProfileKind::M) in computeDefaultTargetABI()
H A DTriple.cpp520 ARM::ProfileKind Profile = ARM::parseArchProfile(ArchName); in parseARMArch()
522 if (Profile == ARM::ProfileKind::M && Version == 6) { in parseARMArch()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.cpp146 if (ArchProfile == llvm::ARM::ProfileKind::M) { in setAtomic()
244 case llvm::ARM::ProfileKind::A: in getCPUProfile()
246 case llvm::ARM::ProfileKind::R: in getCPUProfile()
248 case llvm::ARM::ProfileKind::M: in getCPUProfile()
299 ArchProfile == llvm::ARM::ProfileKind::M) { in ARMTargetInfo()
400 llvm::ARM::ProfileKind Profile = llvm::ARM::parseArchProfile(SubArch); in isBranchProtectionSupportedArch()
401 return a.isArmT32() && (Profile == llvm::ARM::ProfileKind::M); in isBranchProtectionSupportedArch()
616 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
624 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
766 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.h162 enum class ProfileKind { INVALID = 0, A, R, M }; enum
259 ProfileKind parseArchProfile(StringRef Arch);
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DARM.cpp32 return llvm::ARM::parseArchProfile(Arch) == llvm::ARM::ProfileKind::M; in isARMMProfile()
52 return llvm::ARM::parseArchProfile(Arch) == llvm::ARM::ProfileKind::A; in isARMAProfile()
250 llvm::ARM::parseArchProfile(Suffix) == llvm::ARM::ProfileKind::M; in setArchNameInTriple()
777 llvm::ARM::ProfileKind ArchProfile = in getARMTargetFeatures()
780 (ArchProfile == llvm::ARM::ProfileKind::A || in getARMTargetFeatures()
781 ArchProfile == llvm::ARM::ProfileKind::R))) { in getARMTargetFeatures()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp104 cl::opt<ProfileKinds> ProfileKind( variable
1699 if (ProfileKind != instr) in merge_main()
1709 if (ProfileKind == instr) in merge_main()
2678 if (ProfileKind == instr) in overlap_main()