Home
last modified time | relevance | path

Searched refs:createBranchWeights (Results 1 – 25 of 84) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp88 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/
DLowerExpectIntrinsic.cpp80 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect()
128 Node = MDB.createBranchWeights(LikelyBranchWeight, UnlikelyBranchWeight); in handleBranchExpect()
130 Node = MDB.createBranchWeights(UnlikelyBranchWeight, LikelyBranchWeight); in handleBranchExpect()
DLowerGuardIntrinsic.cpp70 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in MakeGuardControlFlowExplicit()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp106 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/
DMDBuilder.h58 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight);
61 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights);
/external/llvm/lib/IR/
DMDBuilder.cpp37 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/
DMDBuilder.h61 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/
DMDBuilder.h61 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/
DLoopUnrollPeel.cpp433 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()
DGuardUtils.cpp53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMDBuilder.cpp37 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/
DMDBuilder.cpp37 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/
DLoopPeel.cpp445 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()
DGuardUtils.cpp53 MDB.createBranchWeights(PredicatePassBranchWeight, 1)); in makeGuardControlFlowExplicit()
DLoopUnrollRuntime.cpp529 HeaderIdx ? MDB.createBranchWeights(ExitWeight, BackEdgeWeight) in updateLatchBranchWeightsForRemainderLoop()
530 : MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in updateLatchBranchWeightsForRemainderLoop()
/external/llvm-project/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp253 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/
DIndirectCallPromotion.cpp307 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall()
317 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
DHWAddressSanitizer.cpp643 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/
DIndirectCallPromotion.cpp312 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall()
322 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
DHWAddressSanitizer.cpp760 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/
DCrossDSOCFI.cpp151 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
DSampleProfile.cpp998 MDB.createBranchWeights(Weights)); in propagateWeights()
1040 MDB.createBranchWeights(Weights)); in propagateWeights()
/external/llvm-project/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
/external/llvm/lib/CodeGen/
DStackProtector.cpp434 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()

1234