Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp184 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights() local
185 if (!WeightsNode) in calcMetadataWeights()
190 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) in calcMetadataWeights()
199 for (unsigned i = 1, e = WeightsNode->getNumOperands(); i != e; ++i) { in calcMetadataWeights()
201 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(i)); in calcMetadataWeights()