Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
DJumpThreading.cpp292 .createBranchWeights(Weights)); in updatePredecessorProfileMetadata()
2294 MDBuilder(TI->getParent()->getContext()).createBranchWeights(Weights)); in UpdateBlockFreqAndEdgeWeight()
/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/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()
DLibCallsShrinkWrap.cpp488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000); in shrinkWrapCI()
DLocal.cpp203 createBranchWeights(Weights)); in ConstantFoldTerminator()
285 createBranchWeights(SICase->getValue().getZExtValue(), in ConstantFoldTerminator()
DCodeExtractor.cpp1382 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights)); in calculateNewCallTerminatorWeights()
DSimplifyCFG.cpp794 N = MDBuilder(SI->getParent()->getContext()).createBranchWeights(Weights); in setBranchWeights()
808 .createBranchWeights(TrueWeight, FalseWeight); in setBranchWeights()
/third_party/skia/third_party/externals/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
DInstruction.cpp754 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
DInstructions.cpp3907 return MDBuilder(SI.getParent()->getContext()).createBranchWeights(*Weights); in buildProfBranchWeightsMD()
/third_party/skia/third_party/externals/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()
DAddressSanitizer.cpp1690 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress()
1712 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress()
DPGOInstrumentation.cpp1714 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata()
DControlHeightReduction.cpp1881 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
DDataFlowSanitizer.cpp603 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000); in doInitialization()
DMemorySanitizer.cpp945 ColdCallWeights = MDBuilder(*C).createBranchWeights(1, 1000); in initializeModule()
946 OriginStoreWeights = MDBuilder(*C).createBranchWeights(1, 1000); in initializeModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
DSampleProfile.cpp1552 MDB.createBranchWeights( in propagateWeights()
1605 MDB.createBranchWeights(Weights)); in propagateWeights()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp515 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
DSafeStack.cpp472 .createBranchWeights(SuccessProb.getNumerator(), in checkStackGuard()
DCodeGenPrepare.cpp7451 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
7457 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
7484 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
7490 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()