/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ProfDataUtils.h | 77 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 D | ProfDataUtils.cpp | 173 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 D | Instructions.cpp | 4020 if (!extractBranchWeights(ProfileData, Weights)) in init()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MisExpect.cpp | 191 if (!extractBranchWeights(I, ExpectedWeights)) in checkBackendInstrumentation() 199 if (!extractBranchWeights(I, RealWeights)) in checkFrontendInstrumentation()
|
H A D | SimplifyCFG.cpp | 3028 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 D | LoopPeel.cpp | 704 if (!extractBranchWeights(*Term, Weights)) in initBranchWeights()
|
H A D | Local.cpp | 225 extractBranchWeights(MD, Weights); in ConstantFoldTerminator() 318 if (extractBranchWeights(*SI, Weights) && Weights.size() == 2) { in ConstantFoldTerminator()
|
H A D | LoopUtils.cpp | 829 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 952 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 D | CodeGenPrepare.cpp | 6995 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 D | HotColdSplitting.cpp | 121 if (!extractBranchWeights(*CondBr, TrueWt, FalseWt)) in analyzeProfMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 155 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 D | LoopPredication.cpp | 922 extractBranchWeights(ProfileData, Weights); in parseLoopLatchICmp()
|
H A D | SimpleLoopUnswitch.cpp | 3045 if (!extractBranchWeights(*BI, Weights)) in shouldTryInjectBasingOnMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 381 !extractBranchWeights(*BI, TrueWeight, FalseWeight)) in isHardwareLoopProfitable()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 401 extractBranchWeights(WeightsNode, Weights); in calcMetadataWeights()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 586 if (!extractBranchWeights(*I, TrueWeight, FalseWeight)) in extractBranchProbabilities()
|
H A D | PGOInstrumentation.cpp | 2400 bool HasProf = extractBranchWeights(I, TC, FC); in getNodeLabel()
|