Home | History | Annotate | Download | only in IR

Lines Matching refs:OM

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