Searched refs:WeightsNode (Results 1 – 2 of 2) sorted by relevance
298 MDNode *WeightsNode = getBranchWeightMDNode(*TI);299 if (!WeightsNode)303 if (OpNo >= WeightsNode->getNumOperands())306 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
382 MDNode *WeightsNode = getValidBranchWeightMDNode(*TI); in calcMetadataWeights() local383 if (!WeightsNode) in calcMetadataWeights()397 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()