Home | History | Annotate | Download | only in Writer

Lines Matching defs:OM

57 static void orderValue(const Value *V, OrderMap &OM) {
58 if (OM.lookup(V).first)
65 orderValue(Op, OM);
69 OM.index(V);
75 OrderMap OM;
85 orderValue(G.getInitializer(), OM);
88 orderValue(A.getAliasee(), OM);
92 orderValue(F.getPrefixData(), OM);
95 orderValue(F.getPrologueData(), OM);
97 OM.LastGlobalConstantID = OM.size();
108 orderValue(&F, OM);
110 orderValue(&A, OM);
112 orderValue(&G, OM);
113 OM.LastGlobalValueID = OM.size();
122 orderValue(&BB, OM);
124 orderValue(&A, OM);
130 orderValue(Op, OM);
133 orderValue(&I, OM);
135 return OM;
139 unsigned ID, const OrderMap &OM,
146 if (OM.lookup(U.getUser()).first)
153 bool IsGlobalValue = OM.isGlobalValue(ID);
160 auto LID = OM.lookup(LU->getUser()).first;
161 auto RID = OM.lookup(RU->getUser()).first;
169 if (OM.isGlobalValue(LID) && OM.isGlobalValue(RID))
208 OrderMap &OM, UseListOrderStack &Stack) {
209 auto &IDPair = OM[V];
218 predictValueUseListOrderImpl(V, F, IDPair.first, OM, Stack);
225 predictValueUseListOrder(Op, F, OM, Stack);
229 OrderMap OM = orderModule(M);
246 predictValueUseListOrder(&BB, &F, OM, Stack);
248 predictValueUseListOrder(&A, &F, OM, Stack);
253 predictValueUseListOrder(Op, &F, OM, Stack);
256 predictValueUseListOrder(&I, &F, OM, Stack);
262 predictValueUseListOrder(&G, nullptr, OM, Stack);
264 predictValueUseListOrder(&F, nullptr, OM, Stack);
266 predictValueUseListOrder(&A, nullptr, OM, Stack);
269 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack);
271 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack);
274 predictValueUseListOrder(F.getPrefixData(), nullptr, OM, Stack);
276 predictValueUseListOrder(F.getPrologueData(), nullptr, OM, Stack);