Searched refs:definition (Results 1 - 3 of 3) sorted by relevance

/art/compiler/sea_ir/ir/
H A Dinstruction_nodes.h53 // Mark the current instruction as a downward exposed definition.
55 // Rename the use of @reg_no to refer to the instruction @definition,
57 void RenameToSSA(int reg_no, InstructionNode* definition) { argument
58 definition_edges_.insert(std::pair<int, InstructionNode*>(reg_no, definition));
59 DCHECK(NULL != definition) << "SSA definition for register " << reg_no
61 definition->AddSSAUse(this);
H A Dsea.h52 // Creates a new signature node representing the initial definition of the
89 // Renames the use of @reg_no to refer to the instruction @definition.
93 // edge for @definition, essentially creating SSA form.
94 void RenameToSSA(int reg_no, InstructionNode* definition, unsigned int predecessor_id) { argument
95 DCHECK(NULL != definition) << "Tried to rename to SSA using a NULL definition for "
103 definition_edges_[predecessor_id]->push_back(definition);
104 definition->AddSSAUse(this);
H A Dsea.cc294 // is in a different block than the corresponding definition.
342 // Pass: Build edges to the definition corresponding to each use.
368 InstructionNode* definition = scoped_table->Lookup(current_used_reg); local
369 current_instruction->RenameToSSA(current_used_reg, definition);
598 InstructionNode* definition = scoped_table->Lookup(reg_no); local
599 phi->RenameToSSA(reg_no, definition, predecessor_id);

Completed in 132 milliseconds