Home
last modified time | relevance | path

Searched refs:extractBranchWeights (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DProfDataUtils.h77 bool extractBranchWeights(const MDNode *ProfileData,
96 bool extractBranchWeights(const Instruction &I,
106 bool extractBranchWeights(const Instruction &I, uint64_t &TrueVal,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfDataUtils.cpp173 bool extractBranchWeights(const MDNode *ProfileData, in extractBranchWeights() function
181 bool extractBranchWeights(const Instruction &I, in extractBranchWeights() function
184 return extractBranchWeights(ProfileData, Weights); in extractBranchWeights()
187 bool extractBranchWeights(const Instruction &I, uint64_t &TrueVal, in extractBranchWeights() function
196 if (!extractBranchWeights(ProfileData, Weights)) in extractBranchWeights()
H A DInstructions.cpp4020 if (!extractBranchWeights(ProfileData, Weights)) in init()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMisExpect.cpp191 if (!extractBranchWeights(I, ExpectedWeights)) in checkBackendInstrumentation()
199 if (!extractBranchWeights(I, RealWeights)) in checkFrontendInstrumentation()
H A DSimplifyCFG.cpp3028 if (extractBranchWeights(*BI, TWeight, FWeight) && in SpeculativelyExecuteBB()
3515 if (extractBranchWeights(*DomBI, TWeight, FWeight) && in FoldTwoEntryPHINode()
3698 extractBranchWeights(*PBI, PredTrueWeight, PredFalseWeight); in extractPredSuccWeights()
3700 extractBranchWeights(*BI, SuccTrueWeight, SuccFalseWeight); in extractPredSuccWeights()
3728 extractBranchWeights(*PBI, PTWeight, PFWeight) && in shouldFoldCondBranchesToCommonDestination()
4459 extractBranchWeights(*PBI, PredWeights) && in SimplifyCondBranchToCondBranch()
7434 if (extractBranchWeights(*BI, BBTWeight, BBFWeight)) in mergeNestedCondBranch()
7439 if (extractBranchWeights(*BB1BI, BB1TWeight, BB1FWeight)) in mergeNestedCondBranch()
7444 if (extractBranchWeights(*BB2BI, BB2TWeight, BB2FWeight)) in mergeNestedCondBranch()
H A DLoopPeel.cpp704 if (!extractBranchWeights(*Term, Weights)) in initBranchWeights()
H A DLocal.cpp225 extractBranchWeights(MD, Weights); in ConstantFoldTerminator()
318 if (extractBranchWeights(*SI, Weights) && Weights.size() == 2) { in ConstantFoldTerminator()
H A DLoopUtils.cpp829 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp952 static bool extractBranchWeights(const SelectOptimizeImpl::SelectLike SI, in extractBranchWeights() function
955 return extractBranchWeights(*SI.getI(), TrueVal, FalseVal); in extractBranchWeights()
962 if (extractBranchWeights(ASI.front(), TrueWeight, FalseWeight)) { in hasExpensiveColdOperand()
1082 if (extractBranchWeights(SI, TrueWeight, FalseWeight)) { in isSelectHighlyPredictable()
1292 if (extractBranchWeights(SI, TrueWeight, FalseWeight)) { in getPredictedPathCost()
H A DCodeGenPrepare.cpp6995 if (extractBranchWeights(*SI, TrueWeight, FalseWeight)) { in isFormingBranchFromSelectProfitable()
8862 if (extractBranchWeights(*Br1, TrueWeight, FalseWeight)) { in splitBranchCondition()
8898 if (extractBranchWeights(*Br1, TrueWeight, FalseWeight)) { in splitBranchCondition()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp121 if (!extractBranchWeights(*CondBr, TrueWt, FalseWt)) in analyzeProfMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp155 if (!extractBranchWeights(*CondBr, TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata()
218 if (extractBranchWeights(*PredBr, PredTrueWeight, PredFalseWeight)) in updatePredecessorProfileMetadata()
2781 if (extractBranchWeights(*SI, TrueWeight, FalseWeight) && in unfoldSelectInstr()
H A DLoopPredication.cpp922 extractBranchWeights(ProfileData, Weights); in parseLoopLatchICmp()
H A DSimpleLoopUnswitch.cpp3045 if (!extractBranchWeights(*BI, Weights)) in shouldTryInjectBasingOnMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp381 !extractBranchWeights(*BI, TrueWeight, FalseWeight)) in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp401 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp586 if (!extractBranchWeights(*I, TrueWeight, FalseWeight)) in extractBranchProbabilities()
H A DPGOInstrumentation.cpp2400 bool HasProf = extractBranchWeights(I, TC, FC); in getNodeLabel()