Lines Matching refs:OM
74 static void orderValue(const Value *V, OrderMap &OM) { in orderValue() argument
75 if (OM.lookup(V).first) in orderValue()
82 orderValue(Op, OM); in orderValue()
86 OM.index(V); in orderValue()
92 OrderMap OM; in orderModule() local
97 orderValue(G.getInitializer(), OM); in orderModule()
98 orderValue(&G, OM); in orderModule()
102 orderValue(A.getAliasee(), OM); in orderModule()
103 orderValue(&A, OM); in orderModule()
107 orderValue(I.getResolver(), OM); in orderModule()
108 orderValue(&I, OM); in orderModule()
113 orderValue(U.get(), OM); in orderModule()
115 orderValue(&F, OM); in orderModule()
121 orderValue(&A, OM); in orderModule()
123 orderValue(&BB, OM); in orderModule()
128 orderValue(Op, OM); in orderModule()
129 orderValue(&I, OM); in orderModule()
133 return OM; in orderModule()
137 unsigned ID, const OrderMap &OM, in predictValueUseListOrderImpl() argument
144 if (OM.lookup(U.getUser()).first) in predictValueUseListOrderImpl()
154 ID = OM.lookup(BA->getBasicBlock()).first; in predictValueUseListOrderImpl()
161 auto LID = OM.lookup(LU->getUser()).first; in predictValueUseListOrderImpl()
162 auto RID = OM.lookup(RU->getUser()).first; in predictValueUseListOrderImpl()
200 OrderMap &OM, UseListOrderStack &Stack) { in predictValueUseListOrder() argument
201 auto &IDPair = OM[V]; in predictValueUseListOrder()
210 predictValueUseListOrderImpl(V, F, IDPair.first, OM, Stack); in predictValueUseListOrder()
217 predictValueUseListOrder(Op, F, OM, Stack); in predictValueUseListOrder()
221 OrderMap OM = orderModule(M); in predictUseListOrder() local
237 predictValueUseListOrder(&BB, &F, OM, Stack); in predictUseListOrder()
239 predictValueUseListOrder(&A, &F, OM, Stack); in predictUseListOrder()
244 predictValueUseListOrder(Op, &F, OM, Stack); in predictUseListOrder()
247 predictValueUseListOrder(&I, &F, OM, Stack); in predictUseListOrder()
252 predictValueUseListOrder(&G, nullptr, OM, Stack); in predictUseListOrder()
254 predictValueUseListOrder(&F, nullptr, OM, Stack); in predictUseListOrder()
256 predictValueUseListOrder(&A, nullptr, OM, Stack); in predictUseListOrder()
258 predictValueUseListOrder(&I, nullptr, OM, Stack); in predictUseListOrder()
261 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack); in predictUseListOrder()
263 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack); in predictUseListOrder()
265 predictValueUseListOrder(I.getResolver(), nullptr, OM, Stack); in predictUseListOrder()
268 predictValueUseListOrder(U.get(), nullptr, OM, Stack); in predictUseListOrder()