Home
last modified time | relevance | path

Searched defs:ProfileData (Results 1 – 7 of 7) sorted by relevance

/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp71 extractFromBranchWeightMD(const MDNode * ProfileData,SmallVectorImpl<T> & Weights) extractFromBranchWeightMD() argument
98 isBranchWeightMD(const MDNode * ProfileData) isBranchWeightMD() argument
102 isValueProfileMD(const MDNode * ProfileData) isValueProfileMD() argument
107 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); hasBranchWeightMD() local
112 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); hasCountTypeMD() local
126 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); hasBranchWeightOrigin() local
130 hasBranchWeightOrigin(const MDNode * ProfileData) hasBranchWeightOrigin() argument
141 getBranchWeightOffset(const MDNode * ProfileData) getBranchWeightOffset() argument
145 getNumBranchWeights(const MDNode & ProfileData) getNumBranchWeights() argument
150 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); getBranchWeightMDNode() local
157 auto *ProfileData = getBranchWeightMDNode(I); getValidBranchWeightMDNode() local
163 extractFromBranchWeightMD32(const MDNode * ProfileData,SmallVectorImpl<uint32_t> & Weights) extractFromBranchWeightMD32() argument
168 extractFromBranchWeightMD64(const MDNode * ProfileData,SmallVectorImpl<uint64_t> & Weights) extractFromBranchWeightMD64() argument
173 extractBranchWeights(const MDNode * ProfileData,SmallVectorImpl<uint32_t> & Weights) extractBranchWeights() argument
183 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); extractBranchWeights() local
195 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); extractBranchWeights() local
207 extractProfTotalWeight(const MDNode * ProfileData,uint64_t & TotalVal) extractProfTotalWeight() argument
248 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); scaleProfData() local
[all...]
H A DInstruction.cpp1258 MDNode *ProfileData = getBranchWeightMDNode(*this); swapProfMetadata() local
H A DInstructions.cpp4010 MDNode *ProfileData = getBranchWeightMDNode(SI); init() local
4094 if (MDNode *ProfileData = getBranchWeightMDNode(SI)) getSuccessorWeight() local
/llvm-project/llvm/unittests/Transforms/Utils/
H A DProfDataUtilTest.cpp49 auto *ProfileData = Branch->getMetadata(LLVMContext::MD_prof); in TEST() local
77 auto *ProfileData = Branch->getMetadata(LLVMContext::MD_prof); in TEST() local
/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingMerge.c51 int __llvm_profile_check_compatibility(const char *ProfileData, in __llvm_profile_check_compatibility() argument
131 int __llvm_profile_merge_from_buffer(const char *ProfileData, in __llvm_profile_merge_from_buffer() argument
/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp920 if (MDNode *ProfileData = getValidBranchWeightMDNode(*Term)) { isLoopProfitableToPredicate() local
/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h1270 template <class IntPtrT> struct alignas(8) ProfileData { global() struct