Lines Matching defs:UseRewriter
59 struct UseRewriter { struct in spvtools::opt::__anonaeb750a20111::LCSSARewriter
60 explicit UseRewriter(LCSSARewriter* base, const Instruction& def_insn) in UseRewriter() function
71 void RewriteUse(BasicBlock* bb, Instruction* user, uint32_t operand_index) { in RewriteUse()
88 inline void UpdateManagers() { in UpdateManagers()
102 BasicBlock* GetParent(Instruction* instr) { in GetParent()
109 inline Instruction* CreatePhiInstruction( in CreatePhiInstruction()
130 inline Instruction* CreatePhiInstruction(BasicBlock* bb, in CreatePhiInstruction()
152 Instruction* GetOrBuildIncoming(uint32_t bb_id) { in GetOrBuildIncoming()
206 LCSSARewriter* base_;
207 const Instruction& def_insn_;
208 std::unordered_map<uint32_t, Instruction*> bb_to_phi_;
209 std::unordered_set<Instruction*> rewritten_;