Home
last modified time | relevance | path

Searched refs:WeightsNode (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp189 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights() local
190 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()