Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp67 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
DSampleProfile.cpp625 TI->setMetadata(llvm::LLVMContext::MD_prof, in propagateWeights()
/external/llvm/include/llvm/IR/
DLLVMContext.h52 MD_prof = 2, // "prof" enumerator
DIRBuilder.h576 I->setMetadata(LLVMContext::MD_prof, Weights); in addBranchWeights()
/external/llvm/lib/IR/
DLLVMContext.cpp48 assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID; in LLVMContext()
DInstructions.cpp818 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapSuccessors()
825 setMetadata(LLVMContext::MD_prof, in swapSuccessors()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp138 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator()
158 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
217 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in ConstantFoldTerminator()
225 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
DSimplifyCFG.cpp685 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof); in SimplifyEqualityComparisonWithOnlyPredecessor()
705 SI->setMetadata(LLVMContext::MD_prof, in SimplifyEqualityComparisonWithOnlyPredecessor()
779 MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof); in HasBranchWeights()
792 MDNode *MD = TI->getMetadata(LLVMContext::MD_prof); in GetBranchWeights()
1001 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
2019 MDNode *ProfileData = BI->getMetadata(LLVMContext::MD_prof); in ExtractBranchMetadata()
2276 PBI->setMetadata(LLVMContext::MD_prof, in FoldBranchToCommonDest()
2280 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest()
2526 PBI->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch()
2603 NewBI->setMetadata(LLVMContext::MD_prof, in SimplifyTerminatorOnSelect()
[all …]
DBasicBlockUtils.cpp717 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
767 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
/external/llvm/docs/
DBranchWeightMetadata.rst13 ``TerminatorInst`` as a ``MDNode`` of the ``MD_prof`` kind. The first operator
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp340 case LLVMContext::MD_prof: in combineLoadToNewType()
406 case LLVMContext::MD_prof: in combineStoreToNewValue()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp102 EXPECT_EQ(Weights, TI->getMetadata(LLVMContext::MD_prof)); in TEST_F()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp184 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp673 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
680 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
DCGStmt.cpp1637 SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof, in EmitSwitchStmt()
DCGExpr.cpp2343 Branch->setMetadata(llvm::LLVMContext::MD_prof, Node); in EmitCheck()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4524 auto *ProfileData = BI->getMetadata(LLVMContext::MD_prof); in extractBranchMetadata()
4689 Br1->setMetadata(LLVMContext::MD_prof, MDBuilder(Br1->getContext()) in splitBranchCondition()
4695 Br2->setMetadata(LLVMContext::MD_prof, MDBuilder(Br2->getContext()) in splitBranchCondition()
4722 Br1->setMetadata(LLVMContext::MD_prof, MDBuilder(Br1->getContext()) in splitBranchCondition()
4728 Br2->setMetadata(LLVMContext::MD_prof, MDBuilder(Br2->getContext()) in splitBranchCondition()