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

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h254 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
255 if (!WeightsNode)
258 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
263 if (OpNo >= WeightsNode->getNumOperands())
266 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp289 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
290 if (!WeightsNode)
298 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1)
309 for (unsigned I = 1, E = WeightsNode->getNumOperands(); I != E; ++I) {
311 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(I));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp2399 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); local
2400 if (!WeightsNode)
2403 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
2409 return WeightsNode->getNumOperands() == TI->getNumSuccessors() + 1;

Completed in 72 milliseconds