Searched refs:MDWeights (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1189 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in FoldValueComparisonIntoPredecessors() local 1191 setBranchWeights(NewSI, MDWeights); in FoldValueComparisonIntoPredecessors() 2768 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), in FoldBranchToCommonDest() local 2770 setBranchWeights(PBI, MDWeights[0], MDWeights[1]); in FoldBranchToCommonDest() 3627 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in tryToSimplifyUncondBranchWithICmpInIt() local 3628 setBranchWeights(SI, MDWeights); in tryToSimplifyUncondBranchWithICmpInIt() 4453 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in eliminateDeadSwitchCases() local 4454 setBranchWeights(SI, MDWeights); in eliminateDeadSwitchCases()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1118 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in FoldValueComparisonIntoPredecessors() local 1122 MDBuilder(BB->getContext()).createBranchWeights(MDWeights)); in FoldValueComparisonIntoPredecessors() 2413 SmallVector<uint32_t, 8> MDWeights(NewWeights.begin(), in FoldBranchToCommonDest() local 2417 MDBuilder(BI->getContext()).createBranchWeights(MDWeights)); in FoldBranchToCommonDest() 3232 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in TryToSimplifyUncondBranchWithICmpInIt() local 3235 MDBuilder(SI->getContext()).createBranchWeights(MDWeights)); in TryToSimplifyUncondBranchWithICmpInIt() 4061 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end()); in EliminateDeadSwitchCases() local 4064 .createBranchWeights(MDWeights)); in EliminateDeadSwitchCases()
|