Lines Matching defs:OM

77 static void orderValue(const Value *V, OrderMap &OM) {
78 if (OM.lookup(V).first)
85 orderValue(Op, OM);
88 orderValue(CE->getShuffleMaskForBitcode(), OM);
94 OM.index(V);
100 OrderMap OM;
111 orderValue(&G, OM);
113 orderValue(&A, OM);
115 orderValue(&I, OM);
117 orderValue(&F, OM);
118 OM.LastGlobalValueID = OM.size();
120 auto orderConstantValue = [&OM](const Value *V) {
122 orderValue(V, OM);
132 orderValue(&BB, OM);
160 orderValue(&A, OM);
166 orderValue(SVI->getShuffleMaskForBitcode(), OM);
167 orderValue(&I, OM);
170 return OM;
174 unsigned ID, const OrderMap &OM,
181 if (OM.lookup(U.getUser()).first)
188 bool IsGlobalValue = OM.isGlobalValue(ID);
195 auto LID = OM.lookup(LU->getUser()).first;
196 auto RID = OM.lookup(RU->getUser()).first;
232 OrderMap &OM, UseListOrderStack &Stack) {
233 auto &IDPair = OM[V];
242 predictValueUseListOrderImpl(V, F, IDPair.first, OM, Stack);
249 predictValueUseListOrder(Op, F, OM, Stack);
252 predictValueUseListOrder(CE->getShuffleMaskForBitcode(), F, OM,
259 OrderMap OM = orderModule(M);
274 predictValueUseListOrder(VAM->getValue(), &F, OM, Stack);
277 predictValueUseListOrder(VAM->getValue(), &F, OM, Stack);
283 predictValueUseListOrder(&BB, &F, OM, Stack);
285 predictValueUseListOrder(&A, &F, OM, Stack);
295 predictValueUseListOrder(Op, &F, OM, Stack);
300 predictValueUseListOrder(SVI->getShuffleMaskForBitcode(), &F, OM,
302 predictValueUseListOrder(&I, &F, OM, Stack);
310 predictValueUseListOrder(&G, nullptr, OM, Stack);
312 predictValueUseListOrder(&F, nullptr, OM, Stack);
314 predictValueUseListOrder(&A, nullptr, OM, Stack);
316 predictValueUseListOrder(&I, nullptr, OM, Stack);
319 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack);
321 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack);
323 predictValueUseListOrder(I.getResolver(), nullptr, OM, Stack);
326 predictValueUseListOrder(U.get(), nullptr, OM, Stack);