/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 88 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect() 230 MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight)); in handlePhiDef() 234 MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight)); in handlePhiDef() 294 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBrSelExpect() 297 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBrSelExpect()
|
/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-project/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 106 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect() 250 MDB.createBranchWeights(LikelyBranchWeightVal, in handlePhiDef() 254 MDB.createBranchWeights(UnlikelyBranchWeightVal, in handlePhiDef() 320 MDB.createBranchWeights(LikelyBranchWeightVal, UnlikelyBranchWeightVal); in handleBrSelExpect() 323 MDB.createBranchWeights(UnlikelyBranchWeightVal, LikelyBranchWeightVal); in handleBrSelExpect()
|
/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/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/llvm-project/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-10.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-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 433 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in updateBranchWeights() 434 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in updateBranchWeights() 475 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in fixupBranchWeights() 476 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in fixupBranchWeights()
|
D | GuardUtils.cpp | 53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
|
/external/swiftshader/third_party/llvm-10.0/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/llvm-project/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/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopPeel.cpp | 445 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in updateBranchWeights() 446 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in updateBranchWeights() 487 HeaderIdx ? MDB.createBranchWeights(ExitWeight, FallThroughWeight) in fixupBranchWeights() 488 : MDB.createBranchWeights(FallThroughWeight, ExitWeight); in fixupBranchWeights()
|
D | GuardUtils.cpp | 53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
|
D | LoopUnrollRuntime.cpp | 529 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop() 530 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 253 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F() 345 CI2->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in TEST_F() 353 CI2->setMetadata(llvm::LLVMContext::MD_prof, MDB.createBranchWeights({400})); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 307 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() 317 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
|
D | HWAddressSanitizer.cpp | 643 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentMemAccessInline() 650 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentMemAccessInline() 658 MDBuilder(*C).createBranchWeights(1, 100000), in instrumentMemAccessInline() 667 MDBuilder(*C).createBranchWeights(1, 100000), in instrumentMemAccessInline()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 312 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() 322 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
|
D | HWAddressSanitizer.cpp | 760 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentMemAccessInline() 767 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentMemAccessInline() 775 MDBuilder(*C).createBranchWeights(1, 100000), in instrumentMemAccessInline() 784 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/llvm-project/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | CrossDSOCFI.cpp | 162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
|
/external/llvm/lib/CodeGen/ |
D | StackProtector.cpp | 434 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
|