Home
last modified time | relevance | path

Searched refs:BranchWeights (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp257 MDNode *BranchWeights) { in versionCallSite() argument
275 BranchWeights); in versionCallSite()
450 MDNode *BranchWeights) { in promoteCallWithIfThenElse() argument
455 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse()
DLibCallsShrinkWrap.cpp487 MDNode *BranchWeights = in shrinkWrapCI() local
491 SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights, DT); in shrinkWrapCI()
DBasicBlockUtils.cpp928 MDNode *BranchWeights, in SplitBlockAndInsertIfThen() argument
948 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
980 MDNode *BranchWeights) { in SplitBlockAndInsertIfThenElse() argument
993 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DCodeExtractor.cpp1349 SmallVector<unsigned, 8> BranchWeights(TI->getNumSuccessors(), 0); in calculateNewCallTerminatorWeights() local
1376 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1382 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights)); in calculateNewCallTerminatorWeights()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp287 MDNode *BranchWeights) { in versionCallSite() argument
303 SplitBlockAndInsertIfThen(Cond, &CB, false, BranchWeights); in versionCallSite()
342 SplitBlockAndInsertIfThenElse(Cond, &CB, &ThenTerm, &ElseTerm, BranchWeights); in versionCallSite()
529 MDNode *BranchWeights) { in promoteCallWithIfThenElse() argument
534 CallBase &NewInst = versionCallSite(CB, Callee, BranchWeights); in promoteCallWithIfThenElse()
DLibCallsShrinkWrap.cpp487 MDNode *BranchWeights = in shrinkWrapCI() local
491 SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights, DT); in shrinkWrapCI()
DBasicBlockUtils.cpp984 MDNode *BranchWeights, in SplitBlockAndInsertIfThen() argument
1004 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
1036 MDNode *BranchWeights) { in SplitBlockAndInsertIfThenElse() argument
1049 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DCodeExtractor.cpp1405 SmallVector<unsigned, 8> BranchWeights(TI->getNumSuccessors(), 0); in calculateNewCallTerminatorWeights() local
1437 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1444 MDBuilder(TI->getContext()).createBranchWeights(BranchWeights)); in calculateNewCallTerminatorWeights()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h252 MDNode *BranchWeights = nullptr,
273 MDNode *BranchWeights = nullptr);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCallPromotionUtils.h49 MDNode *BranchWeights = nullptr);
DBasicBlockUtils.h307 MDNode *BranchWeights = nullptr,
329 MDNode *BranchWeights = nullptr);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DCallPromotionUtils.h51 MDNode *BranchWeights = nullptr);
DBasicBlockUtils.h330 MDNode *BranchWeights = nullptr,
352 MDNode *BranchWeights = nullptr);
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp312 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() local
316 promoteCallWithIfThenElse(CB, DirectCallee, BranchWeights); in promoteIndirectCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp307 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() local
311 promoteCallWithIfThenElse(CallSite(Inst), DirectCallee, BranchWeights); in promoteIndirectCall()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp617 bool Unreachable, MDNode *BranchWeights, in SplitBlockAndInsertIfThen() argument
632 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
660 MDNode *BranchWeights) { in SplitBlockAndInsertIfThenElse() argument
673 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp331 MDNode *BranchWeights = MDB.createBranchWeights( in createIfThenElse() local
335 BranchWeights); in createIfThenElse()
/external/llvm/include/llvm/IR/
DIRBuilder.h678 MDNode *BranchWeights = nullptr,
681 BranchWeights, Unpredictable));
688 MDNode *BranchWeights = nullptr,
691 BranchWeights, Unpredictable));
/external/llvm-project/llvm/include/llvm/IR/
DIRBuilder.h984 MDNode *BranchWeights = nullptr,
987 BranchWeights, Unpredictable));
1007 MDNode *BranchWeights = nullptr,
1010 BranchWeights, Unpredictable));
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h978 MDNode *BranchWeights = nullptr,
981 BranchWeights, Unpredictable));
1001 MDNode *BranchWeights = nullptr,
1004 BranchWeights, Unpredictable));