Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h67 InstrProfKind ProfileKind = InstrProfKind::Unknown; variable
137 if (ProfileKind == InstrProfKind::Unknown) { in mergeProfileKind()
138 ProfileKind = Other; in mergeProfileKind()
144 return (static_cast<bool>(ProfileKind & A) && in mergeProfileKind()
146 (static_cast<bool>(ProfileKind & B) && in mergeProfileKind()
153 (ProfileKind & InstrProfKind::FrontendInstrumentation) ^ in mergeProfileKind()
165 ProfileKind |= Other; in mergeProfileKind()
169 InstrProfKind getProfileKind() const { return ProfileKind; } in getProfileKind()
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-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp436 if (static_cast<bool>(ProfileKind & InstrProfKind::IRInstrumentation)) in writeImpl()
438 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) in writeImpl()
440 if (static_cast<bool>(ProfileKind & in writeImpl()
445 if (static_cast<bool>(ProfileKind & InstrProfKind::FunctionEntryOnly)) in writeImpl()
447 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) in writeImpl()
449 if (static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile)) in writeImpl()
519 if (static_cast<bool>(ProfileKind & InstrProfKind::MemProf)) { in writeImpl()
608 if (static_cast<bool>(ProfileKind & InstrProfKind::TemporalProfile)) { in writeImpl()
764 if (static_cast<bool>(ProfileKind & InstrProfKind::ContextSensitive)) in writeText()
769 if (static_cast<bool>(ProfileKind & in writeText()
[all …]
H A DInstrProfReader.cpp44 InstrProfKind ProfileKind = InstrProfKind::Unknown; in getProfileKindFromVersion() local
46 ProfileKind |= InstrProfKind::IRInstrumentation; in getProfileKindFromVersion()
49 ProfileKind |= InstrProfKind::ContextSensitive; in getProfileKindFromVersion()
55 ProfileKind |= InstrProfKind::SingleByteCoverage; in getProfileKindFromVersion()
58 ProfileKind |= InstrProfKind::FunctionEntryOnly; in getProfileKindFromVersion()
61 ProfileKind |= InstrProfKind::MemProf; in getProfileKindFromVersion()
64 ProfileKind |= InstrProfKind::TemporalProfile; in getProfileKindFromVersion()
66 return ProfileKind; in getProfileKindFromVersion()
252 ProfileKind |= InstrProfKind::IRInstrumentation; in readHeader()
257 ProfileKind |= InstrProfKind::ContextSensitive; in readHeader()
[all …]
/freebsd-14.2/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.cpp487 ARM::ProfileKind Profile = ARM::parseArchProfile(ArchName); in parseARMArch()
489 if (Profile == ARM::ProfileKind::M && Version == 6) { in parseARMArch()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DARM.cpp146 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()
399 llvm::ARM::ProfileKind Profile = llvm::ARM::parseArchProfile(SubArch); in isBranchProtectionSupportedArch()
400 return a.isArmT32() && (Profile == llvm::ARM::ProfileKind::M); in isBranchProtectionSupportedArch()
615 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
623 if (ArchProfile == llvm::ARM::ProfileKind::M) in handleTargetFeatures()
765 if (CPUProfile.empty() || ArchProfile != llvm::ARM::ProfileKind::M) in getTargetDefines()
[all …]
H A DARM.h61 llvm::ARM::ProfileKind ArchProfile;
/freebsd-14.2/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-14.2/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()
772 llvm::ARM::ProfileKind ArchProfile = in getARMTargetFeatures()
775 (ArchProfile == llvm::ARM::ProfileKind::A || in getARMTargetFeatures()
776 ArchProfile == llvm::ARM::ProfileKind::R))) { in getARMTargetFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp104 cl::opt<ProfileKinds> ProfileKind( variable
1640 if (ProfileKind != instr) in merge_main()
1650 if (ProfileKind == instr) in merge_main()
2619 if (ProfileKind == instr) in overlap_main()