Searched refs:WeightsNode (Results 1 – 2 of 2) sorted by relevance
309 MDNode *WeightsNode = getBranchWeightMDNode(*TI);310 if (!WeightsNode)314 if (OpNo >= WeightsNode->getNumOperands())317 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
386 MDNode *WeightsNode = getValidBranchWeightMDNode(*TI); in calcMetadataWeights() local387 if (!WeightsNode) in calcMetadataWeights()401 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()