Lines Matching refs:LLVMContext
95 return I.hasMetadata(LLVMContext::MD_prof); in hasProfMD()
107 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightMD()
112 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasCountTypeMD()
126 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in hasBranchWeightOrigin()
150 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in getBranchWeightMDNode()
183 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
195 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in extractBranchWeights()
236 return extractProfTotalWeight(I.getMetadata(LLVMContext::MD_prof), TotalVal); in extractProfTotalWeight()
243 I.setMetadata(LLVMContext::MD_prof, BranchWeights); in setBranchWeights()
248 auto *ProfileData = I.getMetadata(LLVMContext::MD_prof); in scaleProfData()
260 LLVMContext &C = I.getContext(); in scaleProfData()
296 I.setMetadata(LLVMContext::MD_prof, MDNode::get(C, Vals)); in scaleProfData()