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.h298 MDNode *WeightsNode = getBranchWeightMDNode(*TI);
299 if (!WeightsNode)
303 if (OpNo >= WeightsNode->getNumOperands())
306 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp382 MDNode *WeightsNode = getValidBranchWeightMDNode(*TI); in calcMetadataWeights() local
383 if (!WeightsNode) in calcMetadataWeights()
397 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()