Searched refs:getBranchWeightMDNode (Results 1 – 8 of 8) sorted by relevance
155 MDNode *getBranchWeightMDNode(const Instruction &I) { in getBranchWeightMDNode() function163 auto *ProfileData = getBranchWeightMDNode(I); in getValidBranchWeightMDNode()
1333 MDNode *ProfileData = getBranchWeightMDNode(*this); in swapProfMetadata()
4140 MDNode *ProfileData = getBranchWeightMDNode(SI); in init()4224 if (MDNode *ProfileData = getBranchWeightMDNode(SI)) in getSuccessorWeight()
61 LLVM_ABI MDNode *getBranchWeightMDNode(const Instruction &I);
279 MDNode *WeightMD = getBranchWeightMDNode(PreHeaderBI); in updateBranchWeights()286 if (WeightMD != getBranchWeightMDNode(LoopBI)) in updateBranchWeights()
7298 bool HasWeights = extractBranchWeights(getBranchWeightMDNode(*SI), Weights); in simplifySwitchOfCmpIntrinsic()
298 MDNode *WeightsNode = getBranchWeightMDNode(*TI);
3008 MDNode *BranchWeights = getBranchWeightMDNode(*SI); in tryToUnfoldSelectInCurrBB()