Lines Matching defs:OM
112 static void orderValue(const Value *V, OrderMap &OM) {
113 if (OM.lookup(V))
120 orderValue(Op, OM);
124 unsigned ID = OM.size() + 1;
125 OM[V] = ID;
129 OrderMap OM;
134 orderValue(G.getInitializer(), OM);
135 orderValue(&G, OM);
139 orderValue(A.getAliasee(), OM);
140 orderValue(&A, OM);
144 orderValue(I.getResolver(), OM);
145 orderValue(&I, OM);
150 orderValue(U.get(), OM);
152 orderValue(&F, OM);
158 orderValue(&A, OM);
160 orderValue(&BB, OM);
166 orderValue(Op, OM);
168 orderValue(&I, OM);
172 return OM;
176 predictValueUseListOrder(const Value *V, unsigned ID, const OrderMap &OM) {
182 if (OM.lookup(U.getUser()))
194 ID = OM.lookup(BA->getBasicBlock());
201 auto LID = OM.lookup(LU->getUser());
202 auto RID = OM.lookup(RU->getUser());
238 OrderMap OM = orderModule(M);
240 for (const auto &Pair : OM) {
246 predictValueUseListOrder(V, Pair.second, OM);