Home
last modified time | relevance | path

Searched refs:HasWeight (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp585 bool HasWeight = false; in getBlockWeight() local
590 HasWeight = true; in getBlockWeight()
593 return HasWeight ? ErrorOr<uint64_t>(Max) : std::error_code(); in getBlockWeight()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp804 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local
805 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()
814 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()
822 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()
4040 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local
4041 if (HasWeight) { in EliminateDeadSwitchCases()
4043 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in EliminateDeadSwitchCases()
4051 if (HasWeight) { in EliminateDeadSwitchCases()
4060 if (HasWeight && Weights.size() >= 2) { in EliminateDeadSwitchCases()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp867 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local
868 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()
877 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()
885 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()
4432 bool HasWeight = HasBranchWeights(SI); in eliminateDeadSwitchCases() local
4433 if (HasWeight) { in eliminateDeadSwitchCases()
4435 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in eliminateDeadSwitchCases()
4443 if (HasWeight) { in eliminateDeadSwitchCases()
4452 if (HasWeight && Weights.size() >= 2) { in eliminateDeadSwitchCases()