Lines Matching defs:OM
113 static void orderValue(const Value *V, OrderMap &OM) {
114 if (OM.lookup(V))
121 orderValue(Op, OM);
125 unsigned ID = OM.size() + 1;
126 OM[V] = ID;
130 OrderMap OM;
135 orderValue(G.getInitializer(), OM);
136 orderValue(&G, OM);
140 orderValue(A.getAliasee(), OM);
141 orderValue(&A, OM);
145 orderValue(I.getResolver(), OM);
146 orderValue(&I, OM);
151 orderValue(U.get(), OM);
153 orderValue(&F, OM);
159 orderValue(&A, OM);
161 orderValue(&BB, OM);
167 orderValue(Op, OM);
169 orderValue(&I, OM);
173 return OM;
177 predictValueUseListOrder(const Value *V, unsigned ID, const OrderMap &OM) {
183 if (OM.lookup(U.getUser()))
195 ID = OM.lookup(BA->getBasicBlock());
202 auto LID = OM.lookup(LU->getUser());
203 auto RID = OM.lookup(RU->getUser());
239 OrderMap OM = orderModule(M);
241 for (const auto &Pair : OM) {
247 predictValueUseListOrder(V, Pair.second, OM);