Lines Matching refs:MDNode
52 bool isTargetMD(const MDNode *ProfData, const char *Name, unsigned MinOps) { in isTargetMD()
71 static void extractFromBranchWeightMD(const MDNode *ProfileData, in extractFromBranchWeightMD()
98 bool isBranchWeightMD(const MDNode *ProfileData) { in isBranchWeightMD()
102 bool isValueProfileMD(const MDNode *ProfileData) { in isValueProfileMD()
130 bool hasBranchWeightOrigin(const MDNode *ProfileData) { in hasBranchWeightOrigin()
141 unsigned getBranchWeightOffset(const MDNode *ProfileData) { in getBranchWeightOffset()
145 unsigned getNumBranchWeights(const MDNode &ProfileData) { in getNumBranchWeights()
149 MDNode *getBranchWeightMDNode(const Instruction &I) { in getBranchWeightMDNode()
156 MDNode *getValidBranchWeightMDNode(const Instruction &I) { in getValidBranchWeightMDNode()
163 void extractFromBranchWeightMD32(const MDNode *ProfileData, in extractFromBranchWeightMD32()
168 void extractFromBranchWeightMD64(const MDNode *ProfileData, in extractFromBranchWeightMD64()
173 bool extractBranchWeights(const MDNode *ProfileData, in extractBranchWeights()
207 bool extractProfTotalWeight(const MDNode *ProfileData, uint64_t &TotalVal) { in extractProfTotalWeight()
242 MDNode *BranchWeights = MDB.createBranchWeights(Weights, IsExpected); in setBranchWeights()
296 I.setMetadata(LLVMContext::MD_prof, MDNode::get(C, Vals)); in scaleProfData()