/third_party/skia/third_party/externals/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()
|
D | JumpThreading.cpp | 292 .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/ |
D | MDBuilder.h | 61 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/ |
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()
|
D | LibCallsShrinkWrap.cpp | 488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000); in shrinkWrapCI()
|
D | Local.cpp | 203 createBranchWeights(Weights)); in ConstantFoldTerminator() 285 createBranchWeights(SICase->getValue().getZExtValue(), in ConstantFoldTerminator()
|
D | CodeExtractor.cpp | 1382 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights)); in calculateNewCallTerminatorWeights()
|
D | SimplifyCFG.cpp | 794 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/ |
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
|
D | Instruction.cpp | 754 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
|
D | Instructions.cpp | 3907 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/ |
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()
|
D | AddressSanitizer.cpp | 1690 MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress() 1712 Cmp, InsertBefore, false, MDBuilder(*C).createBranchWeights(1, 100000)); in instrumentAddress()
|
D | PGOInstrumentation.cpp | 1714 TI->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfMetadata()
|
D | ControlHeightReduction.cpp | 1881 MergedBR->setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in fixupBranchesAndSelects()
|
D | DataFlowSanitizer.cpp | 603 ColdCallWeights = MDBuilder(*Ctx).createBranchWeights(1, 1000); in doInitialization()
|
D | MemorySanitizer.cpp | 945 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/ |
D | CrossDSOCFI.cpp | 162 MDBuilder(M.getContext()).createBranchWeights((1U << 20) - 1, 1); in runOnModule()
|
D | SampleProfile.cpp | 1552 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/ |
D | StackProtector.cpp | 515 .createBranchWeights(SuccessProb.getNumerator(), in InsertStackProtectors()
|
D | SafeStack.cpp | 472 .createBranchWeights(SuccessProb.getNumerator(), in checkStackGuard()
|
D | CodeGenPrepare.cpp | 7451 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition() 7457 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition() 7484 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition() 7490 .createBranchWeights(TrueWeight, FalseWeight)); in splitBranchCondition()
|