Home
last modified time | relevance | path

Searched refs:ProfileData (Results 1 – 25 of 57) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DProfDataUtils.cpp48 bool extractWeights(const MDNode *ProfileData, in extractWeights() argument
51 assert(ProfileData && "ProfileData was nullptr in extractWeights"); in extractWeights()
52 unsigned NOps = ProfileData->getNumOperands(); in extractWeights()
59 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(Idx)); in extractWeights()
95 bool isBranchWeightMD(const MDNode *ProfileData) { in isBranchWeightMD() argument
96 return isTargetMD(ProfileData, "branch_weights", MinBWOps); in isBranchWeightMD()
100 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightMD() local
101 return isBranchWeightMD(ProfileData); in hasBranchWeightMD()
109 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in getBranchWeightMDNode() local
110 if (!isBranchWeightMD(ProfileData)) in getBranchWeightMDNode()
[all …]
H A DInstruction.cpp871 MDNode *ProfileData = getBranchWeightMDNode(*this); in swapProfMetadata() local
872 if (!ProfileData || ProfileData->getNumOperands() != 3) in swapProfMetadata()
876 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2), in swapProfMetadata()
877 ProfileData->getOperand(1)}; in swapProfMetadata()
879 MDNode::get(ProfileData->getContext(), Ops)); in swapProfMetadata()
/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c43 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument
46 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_check_compatibility()
49 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_check_compatibility()
98 int __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument
109 __llvm_profile_header *Header = (__llvm_profile_header *)ProfileData; in __llvm_profile_merge_from_buffer()
116 (__llvm_profile_data *)(ProfileData + sizeof(__llvm_profile_header) + in __llvm_profile_merge_from_buffer()
177 if (SrcValueProfData >= ProfileData + ProfileSize) in __llvm_profile_merge_from_buffer()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DProfDataUtils.h28 bool isBranchWeightMD(const MDNode *ProfileData);
64 bool extractBranchWeights(const MDNode *ProfileData,
92 bool extractProfTotalWeight(const MDNode *ProfileData, uint64_t &TotalWeights);
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/
H A DCMakeLists.txt7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData/Coverage
15 ProfileData
/openbsd-src/gnu/usr.bin/clang/libLLVMCoverage/
H A DMakefile6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData/Coverage
12 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData/Coverage
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/ProfileData/
H A DBUILD.gn6 "//llvm/lib/ProfileData",
7 "//llvm/lib/ProfileData/Coverage",
/openbsd-src/gnu/usr.bin/clang/libLLVMProfileData/
H A DMakefile6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/ProfileData
20 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-cov/
H A DBUILD.gn6 "//llvm/lib/ProfileData",
7 "//llvm/lib/ProfileData/Coverage",
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp128 for (const auto &ProfileData : *V) { in EmitKeyDataLength()
129 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()
135 M += ValueProfData::getSize(ProfileData.second); in EmitKeyDataLength()
150 for (const auto &ProfileData : *V) { in EmitData()
151 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()
152 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
157 LE.write<uint64_t>(ProfileData.first); // Function hash in EmitData()
164 ValueProfData::serializeFrom(ProfileData.second); in EmitData()
H A DCMakeLists.txt15 ${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/CodeGen/
H A DBUILD.gn26 "//llvm/lib/ProfileData",
27 "//llvm/lib/ProfileData/Coverage",
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A DCMakeLists.txt3 ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-profdata/
H A DBUILD.gn6 "//llvm/lib/ProfileData",
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/ProfileData/Coverage/
H A DBUILD.gn6 "//llvm/lib/ProfileData",
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DCMakeLists.txt12 ProfileData
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h120 const RawInstrProf::ProfileData<IntPtrT> *getDataPointer() const {
132 std::vector<RawInstrProf::ProfileData<IntPtrT>> Data;
/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DCMakeLists.txt6 ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/ProfileData/
H A DBUILD.gn1 static_library("ProfileData") {
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCMakeLists.txt38 ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/tools/llvm-profgen/
H A DBUILD.gn8 "//llvm/lib/ProfileData",
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/
H A DBUILD.gn7 "//llvm/lib/ProfileData",
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCMakeLists.txt7 ProfileData
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DCMakeLists.txt68 ProfileData
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/Frontend/
H A DBUILD.gn17 "//llvm/lib/ProfileData",

123