Searched refs:MD_prof (Results 1 – 17 of 17) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 67 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect() 120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
|
D | SampleProfile.cpp | 625 TI->setMetadata(llvm::LLVMContext::MD_prof, in propagateWeights()
|
/external/llvm/include/llvm/IR/ |
D | LLVMContext.h | 52 MD_prof = 2, // "prof" enumerator
|
D | IRBuilder.h | 576 I->setMetadata(LLVMContext::MD_prof, Weights); in addBranchWeights()
|
/external/llvm/lib/IR/ |
D | LLVMContext.cpp | 48 assert(ProfID == MD_prof && "prof kind id drifted"); (void)ProfID; in LLVMContext()
|
D | Instructions.cpp | 818 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapSuccessors() 825 setMetadata(LLVMContext::MD_prof, in swapSuccessors()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 138 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()
|
D | SimplifyCFG.cpp | 685 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 …]
|
D | BasicBlockUtils.cpp | 717 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen() 767 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
|
/external/llvm/docs/ |
D | BranchWeightMetadata.rst | 13 ``TerminatorInst`` as a ``MDNode`` of the ``MD_prof`` kind. The first operator
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 340 case LLVMContext::MD_prof: in combineLoadToNewType() 406 case LLVMContext::MD_prof: in combineStoreToNewValue()
|
/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 102 EXPECT_EQ(Weights, TI->getMetadata(LLVMContext::MD_prof)); in TEST_F()
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 184 MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof); in calcMetadataWeights()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 673 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul() 680 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
|
D | CGStmt.cpp | 1637 SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof, in EmitSwitchStmt()
|
D | CGExpr.cpp | 2343 Branch->setMetadata(llvm::LLVMContext::MD_prof, Node); in EmitCheck()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4524 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()
|