Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp258 MDNode *BranchWeights) { in versionCallSite() argument
276 BranchWeights); in versionCallSite()
414 MDNode *BranchWeights) { in promoteCallWithIfThenElse() argument
419 Instruction *NewInst = versionCallSite(CS, Callee, BranchWeights); in promoteCallWithIfThenElse()
DBasicBlockUtils.cpp686 bool Unreachable, MDNode *BranchWeights, in SplitBlockAndInsertIfThen() argument
701 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
730 MDNode *BranchWeights) { in SplitBlockAndInsertIfThenElse() argument
743 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DLibCallsShrinkWrap.cpp487 MDNode *BranchWeights = in shrinkWrapCI() local
491 SplitBlockAndInsertIfThen(Cond, CI, false, BranchWeights, DT); in shrinkWrapCI()
DCodeExtractor.cpp1074 SmallVector<unsigned, 8> BranchWeights(TI->getNumSuccessors(), 0); in calculateNewCallTerminatorWeights() local
1101 BranchWeights[Weight.TargetNode.Index] = Weight.Amount; in calculateNewCallTerminatorWeights()
1107 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-7.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h256 MDNode *BranchWeights = nullptr,
277 MDNode *BranchWeights = nullptr);
DCallPromotionUtils.h50 MDNode *BranchWeights = nullptr);
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp306 MDNode *BranchWeights = MDB.createBranchWeights( in promoteIndirectCall() local
310 promoteCallWithIfThenElse(CallSite(Inst), DirectCallee, BranchWeights); in promoteIndirectCall()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp331 MDNode *BranchWeights = MDB.createBranchWeights( in createIfThenElse() local
335 BranchWeights); in createIfThenElse()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVInstruction.h782 BranchWeights.push_back(TrueWeight);
783 BranchWeights.push_back(FalseWeight);
805 BranchWeights.resize(TheWordCount - 4);
807 _SPIRV_DEF_ENCDEC4(ConditionId, TrueLabelId, FalseLabelId, BranchWeights)
811 assert(WordCount == BranchWeights.size() + 4);
821 std::vector<SPIRVWord> BranchWeights;
/external/llvm/include/llvm/IR/
DIRBuilder.h678 MDNode *BranchWeights = nullptr,
681 BranchWeights, Unpredictable));
688 MDNode *BranchWeights = nullptr,
691 BranchWeights, Unpredictable));
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIRBuilder.h843 MDNode *BranchWeights = nullptr,
846 BranchWeights, Unpredictable));
866 MDNode *BranchWeights = nullptr,
869 BranchWeights, Unpredictable));