Lines Matching full:store
124 static bool rewrite_single_store(struct instruction *store) in rewrite_single_store() argument
126 pseudo_t addr = store->src; in rewrite_single_store()
136 // by the value from the store. This is only valid in rewrite_single_store()
137 // if the store dominate the load. in rewrite_single_store()
139 if (insn->bb == store->bb) { in rewrite_single_store()
140 // the load and the store are in the same BB in rewrite_single_store()
141 // we can convert if the load is after the store. in rewrite_single_store()
142 if (!insn_before(store, insn)) in rewrite_single_store()
144 } else if (!domtree_dominates(store->bb, insn->bb)) { in rewrite_single_store()
153 convert_load_instruction(insn, store->target); in rewrite_single_store()
160 kill_store(store); in rewrite_single_store()
174 struct instruction *store = NULL; in ssa_convert_one_var() local
209 store = insn; in ssa_convert_one_var()
232 if (rewrite_single_store(store)) in ssa_convert_one_var()