Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp77 DenseMap<AssertingVH<>, unsigned> ValueRankMap; member in __anon1da20ad40211::Reassociate
124 ValueRankMap.erase(Op); in RemoveDeadBinaryOp()
153 ValueRankMap[&*I] = ++i; in BuildRankMap()
166 ValueRankMap[&*I] = ++BBRank; in BuildRankMap()
173 if (isa<Argument>(V)) return ValueRankMap[V]; // Function argument. in getRank()
177 if (unsigned Rank = ValueRankMap[I]) in getRank()
198 return ValueRankMap[I] = Rank; in getRank()
213 DenseMap<AssertingVH<>, unsigned> &ValueRankMap) { in LowerNegateToMultiply() argument
217 ValueRankMap.erase(Neg); in LowerNegateToMultiply()
285 LHS = LowerNegateToMultiply(cast<Instruction>(LHS), ValueRankMap); in LinearizeExprTree()
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DReassociate.h60 DenseMap<AssertingVH<Value>, unsigned> ValueRankMap; variable
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp154 ValueRankMap[&*I] = ++i; in BuildRankMap()
166 ValueRankMap[&I] = ++BBRank; in BuildRankMap()
173 if (isa<Argument>(V)) return ValueRankMap[V]; // Function argument. in getRank()
177 if (unsigned Rank = ValueRankMap[I]) in getRank()
197 return ValueRankMap[I] = Rank; in getRank()
1853 ValueRankMap.erase(I); in RecursivelyEraseDeadInsts()
1868 ValueRankMap.erase(I); in EraseInst()
2226 ValueRankMap.clear(); in run()