/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 81 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect() 224 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef() 228 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef() 287 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect() 289 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect()
|
D | LowerGuardIntrinsic.cpp | 72 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in MakeGuardControlFlowExplicit()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 80 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect() 128 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBranchExpect() 130 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBranchExpect()
|
D | LowerGuardIntrinsic.cpp | 70 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in MakeGuardControlFlowExplicit()
|
/external/llvm/include/llvm/IR/ |
D | MDBuilder.h | 58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight); 61 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 174 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/IR/ |
D | MDBuilder.cpp | 37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, in createBranchWeights() function in MDBuilder 39 return createBranchWeights({TrueWeight, FalseWeight}); in createBranchWeights() 42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { in createBranchWeights() function in MDBuilder
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | MDBuilder.h | 61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight); 64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 379 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThruWeight) in updateBranchWeights() 380 : MDB.createBranchWeights(FallThruWeight, ExitWeight); in updateBranchWeights() 657 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in peelLoop() 658 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in peelLoop()
|
D | LibCallsShrinkWrap.cpp | 488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000); in shrinkWrapCI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | MDBuilder.cpp | 38 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, in createBranchWeights() function in MDBuilder 40 return createBranchWeights({TrueWeight, FalseWeight}); in createBranchWeights() 43 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { in createBranchWeights() function in MDBuilder
|
D | Instruction.cpp | 729 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 306 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() 316 NewInst->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in promoteIndirectCall()
|
D | HWAddressSanitizer.cpp | 438 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentMemAccessInline()
|
/external/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 151 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
|
D | SampleProfile.cpp | 998 MDB.createBranchWeights(Weights)); in propagateWeights() 1040 MDB.createBranchWeights(Weights)); in propagateWeights()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 166 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
|
D | SampleProfile.cpp | 1291 I.setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in propagateWeights() 1341 MDB.createBranchWeights(Weights)); in propagateWeights()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 434 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 477 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 857 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createProfileWeights() 881 return MDHelper.createBranchWeights(ScaledWeights); in createProfileWeights()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 825 .createBranchWeights(Weights)); in SimplifyEqualityComparisonWithOnlyPredecessor() 1122 MDBuilder(BB->getContext()).createBranchWeights(MDWeights)); in FoldValueComparisonIntoPredecessors() 2417 MDBuilder(BI->getContext()).createBranchWeights(MDWeights)); in FoldBranchToCommonDest() 2949 .createBranchWeights(NewWeights[0], NewWeights[1])); in SimplifyCondBranchToCondBranch() 2989 .createBranchWeights(NewWeights[0], NewWeights[1])); in SimplifyCondBranchToCondBranch() 3046 .createBranchWeights(TrueWeight, FalseWeight)); in SimplifyTerminatorOnSelect() 3235 MDBuilder(SI->getContext()).createBranchWeights(MDWeights)); in TryToSimplifyUncondBranchWithICmpInIt() 3963 .createBranchWeights((uint32_t)TrueWeight, in TurnSwitchRangeIntoICmp() 4064 .createBranchWeights(MDWeights)); in EliminateDeadSwitchCases()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 561 Cmp, &*IP, false, MDBuilder(*C).createBranchWeights(1, 100000)); in InjectCoverageAtBlock()
|
D | IndirectCallPromotion.cpp | 331 MDNode *BranchWeights = MDB.createBranchWeights( in createIfThenElse()
|
/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 95 MDNode *Weights = MDBuilder(Ctx).createBranchWeights(42, 13); in TEST_F()
|