Home
last modified time | relevance | path

Searched refs:MD_prof (Results 1 – 25 of 67) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp80 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
223 LLVMContext::MD_prof, in handlePhiDef()
227 LLVMContext::MD_prof, in handlePhiDef()
291 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
DLowerGuardIntrinsic.cpp71 CheckBI->setMetadata(LLVMContext::MD_prof, in MakeGuardControlFlowExplicit()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp174 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
202 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in TEST_F()
210 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp79 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
132 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
DLowerGuardIntrinsic.cpp69 CheckBI->setMetadata(LLVMContext::MD_prof, in MakeGuardControlFlowExplicit()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp74 SI->setMetadata(LLVMContext::MD_prof, WeightsNode); in HandleSwitchExpect()
120 BI->setMetadata(LLVMContext::MD_prof, WeightsNode); in HandleIfExpect()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp625 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapProfMetadata()
637 setMetadata(LLVMContext::MD_prof, in swapProfMetadata()
681 auto *ProfileData = getMetadata(LLVMContext::MD_prof); in updateProfWeight()
720 setMetadata(LLVMContext::MD_prof, MDNode::get(getContext(), Vals)); in updateProfWeight()
729 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
DLLVMContext.cpp41 {MD_prof, "prof"}, in LLVMContext()
/external/swiftshader/third_party/LLVM/include/llvm/
DLLVMContext.h43 MD_prof = 2 // "prof" enumerator
/external/llvm/docs/
DBranchWeightMetadata.rst13 ``TerminatorInst`` as a ``MDNode`` of the ``MD_prof`` kind. The first operator
123 optimization, ``MD_prof`` nodes can also be assigned to a function definition.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp316 NewInst->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in promoteIndirectCall()
370 I->setMetadata(LLVMContext::MD_prof, nullptr); in processFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DBranchWeightMetadata.rst13 ``TerminatorInst`` as a ``MDNode`` of the ``MD_prof`` kind. The first operator
137 optimization, ``MD_prof`` nodes can also be assigned to a function definition.
/external/swiftshader/third_party/LLVM/lib/VMCore/
DLLVMContext.cpp45 assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID; in LLVMContext()
/external/llvm/include/llvm/IR/
DLLVMContext.h54 MD_prof = 2, // "prof" enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h61 MD_prof = 2, // "prof" enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DLLVMContext.h82 MD_prof = 2, // "prof" enumerator
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp139 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCFGPrinter.h157 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp157 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp381 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in updateBranchWeights()
659 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in peelLoop()
DCallPromotionUtils.cpp374 CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr); in promoteCall()
DBasicBlockUtils.cpp701 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
743 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp477 NewInst->setMetadata(LLVMContext::MD_prof, 0); in createDirectCallInst()
613 I->setMetadata(LLVMContext::MD_prof, 0); in processFunction()
/external/llvm/lib/IR/
DLLVMContext.cpp49 assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID; in LLVMContext()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp803 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in SimplifyEqualityComparisonWithOnlyPredecessor()
823 SI->setMetadata(LLVMContext::MD_prof, in SimplifyEqualityComparisonWithOnlyPredecessor()
897 MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof); in HasBranchWeights()
910 MDNode *MD = TI->getMetadata(LLVMContext::MD_prof); in GetBranchWeights()
1121 LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
2416 LLVMContext::MD_prof, in FoldBranchToCommonDest()
2419 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest()
2947 PBI->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch()
2987 NV->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch()
3044 NewBI->setMetadata(LLVMContext::MD_prof, in SimplifyTerminatorOnSelect()
[all …]

123