Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h305 MDNode *WeightsNode = getBranchWeightMDNode(*TI);
306 if (!WeightsNode)
310 if (OpNo >= WeightsNode->getNumOperands())
313 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp386 MDNode *WeightsNode = getValidBranchWeightMDNode(*TI); in calcMetadataWeights() local
387 if (!WeightsNode) in calcMetadataWeights()
401 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()