HomeSort by: relevance | last modified time | path
    Searched defs:ProfileData (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/IR/
Instruction.cpp 784 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof);
785 if (!ProfileData || ProfileData->getNumOperands() != 3 ||
786 !isa<MDString>(ProfileData->getOperand(0)))
789 MDString *MDName = cast<MDString>(ProfileData->getOperand(0));
794 Metadata *Ops[] = {ProfileData->getOperand(0), ProfileData->getOperand(2),
795 ProfileData->getOperand(1)};
797 MDNode::get(ProfileData->getContext(), Ops));
Instructions.cpp 562 auto *ProfileData = getMetadata(LLVMContext::MD_prof);
563 if (ProfileData == nullptr)
566 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0));
582 Vals.push_back(ProfileData->getOperand(0));
585 ProfileData->getNumOperands() > 0) {
587 APInt Val(128, mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1))
595 for (unsigned i = 1; i < ProfileData->getNumOperands(); i += 2) {
597 Vals.push_back(ProfileData->getOperand(i));
599 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i + 1))
604 Vals.push_back(ProfileData->getOperand(i + 1))
    [all...]

Completed in 19 milliseconds