• Home
  • Raw
  • Download

Lines Matching refs:OM

57 static void orderValue(const Value *V, OrderMap &OM) {  in orderValue()  argument
58 if (OM.lookup(V).first) in orderValue()
65 orderValue(Op, OM); in orderValue()
69 OM.index(V); in orderValue()
75 OrderMap OM; in orderModule() local
85 orderValue(G.getInitializer(), OM); in orderModule()
88 orderValue(A.getAliasee(), OM); in orderModule()
92 orderValue(U.get(), OM); in orderModule()
94 OM.LastGlobalConstantID = OM.size(); in orderModule()
105 orderValue(&F, OM); in orderModule()
107 orderValue(&A, OM); in orderModule()
109 orderValue(&G, OM); in orderModule()
110 OM.LastGlobalValueID = OM.size(); in orderModule()
119 orderValue(&BB, OM); in orderModule()
121 orderValue(&A, OM); in orderModule()
127 orderValue(Op, OM); in orderModule()
130 orderValue(&I, OM); in orderModule()
132 return OM; in orderModule()
136 unsigned ID, const OrderMap &OM, in predictValueUseListOrderImpl() argument
143 if (OM.lookup(U.getUser()).first) in predictValueUseListOrderImpl()
150 bool IsGlobalValue = OM.isGlobalValue(ID); in predictValueUseListOrderImpl()
157 auto LID = OM.lookup(LU->getUser()).first; in predictValueUseListOrderImpl()
158 auto RID = OM.lookup(RU->getUser()).first; in predictValueUseListOrderImpl()
166 if (OM.isGlobalValue(LID) && OM.isGlobalValue(RID)) in predictValueUseListOrderImpl()
205 OrderMap &OM, UseListOrderStack &Stack) { in predictValueUseListOrder() argument
206 auto &IDPair = OM[V]; in predictValueUseListOrder()
215 predictValueUseListOrderImpl(V, F, IDPair.first, OM, Stack); in predictValueUseListOrder()
222 predictValueUseListOrder(Op, F, OM, Stack); in predictValueUseListOrder()
226 OrderMap OM = orderModule(M); in predictUseListOrder() local
243 predictValueUseListOrder(&BB, &F, OM, Stack); in predictUseListOrder()
245 predictValueUseListOrder(&A, &F, OM, Stack); in predictUseListOrder()
250 predictValueUseListOrder(Op, &F, OM, Stack); in predictUseListOrder()
253 predictValueUseListOrder(&I, &F, OM, Stack); in predictUseListOrder()
259 predictValueUseListOrder(&G, nullptr, OM, Stack); in predictUseListOrder()
261 predictValueUseListOrder(&F, nullptr, OM, Stack); in predictUseListOrder()
263 predictValueUseListOrder(&A, nullptr, OM, Stack); in predictUseListOrder()
266 predictValueUseListOrder(G.getInitializer(), nullptr, OM, Stack); in predictUseListOrder()
268 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack); in predictUseListOrder()
271 predictValueUseListOrder(U.get(), nullptr, OM, Stack); in predictUseListOrder()