HomeSort by: relevance | last modified time | path
    Searched refs:WeightsNode (Results 1 - 3 of 3) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
CFGPrinter.h 264 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
265 if (!WeightsNode)
268 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
273 if (OpNo >= WeightsNode->getNumOperands())
276 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
BranchProbabilityInfo.cpp 313 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
314 if (!WeightsNode)
322 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1)
333 for (unsigned I = 1, E = WeightsNode->getNumOperands(); I != E; ++I) {
335 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(I));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
JumpThreading.cpp 2492 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
2493 if (!WeightsNode)
2496 MDString *MDName = cast<MDString>(WeightsNode->getOperand(0));
2502 return WeightsNode->getNumOperands() == TI->getNumSuccessors() + 1;

Completed in 59 milliseconds