Searched refs:WeightsNode (Results 1 – 1 of 1) sorted by relevance
189 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights() local190 if (!WeightsNode) in calcMetadataWeights()198 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) in calcMetadataWeights()207 for (unsigned i = 1, e = WeightsNode->getNumOperands(); i != e; ++i) { in calcMetadataWeights()209 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(i)); in calcMetadataWeights()