HomeSort by relevance Sort by last modified time
    Searched refs:InstructionNode (Results 1 - 13 of 13) sorted by null

  /art/compiler/sea_ir/ir/
instruction_nodes.h 37 // the number of InstructionNode objects should dwindle, while the
39 class InstructionNode: public SeaNode {
41 static std::vector<sea_ir::InstructionNode*> Create(const art::Instruction* in);
42 // Returns the Dalvik instruction around which this InstructionNode is wrapped.
44 DCHECK(NULL != instruction_) << "Tried to access NULL instruction in an InstructionNode.";
57 void RenameToSSA(int reg_no, InstructionNode* definition) {
58 definition_edges_.insert(std::pair<int, InstructionNode*>(reg_no, definition));
65 virtual std::vector<InstructionNode*> GetSSAProducers() {
67 std::vector<InstructionNode*> ssa_uses;
73 std::map<int, InstructionNode* >* GetSSAProducersMap()
    [all...]
sea.h 43 class InstructionNode;
50 class SignatureNode: public InstructionNode {
55 InstructionNode(NULL), register_no_(register_no), position_(signature_position) { }
80 class PhiInstructionNode: public InstructionNode {
83 InstructionNode(NULL), register_no_(register_no), definition_edges_() {}
94 void RenameToSSA(int reg_no, InstructionNode* definition, unsigned int predecessor_id) {
101 definition_edges_[predecessor_id] = new std::vector<InstructionNode*>();
109 std::vector<InstructionNode*> GetSSAProducers() {
110 std::vector<InstructionNode*> producers;
111 for (std::vector<std::vector<InstructionNode*>*>::const_iterato
    [all...]
visitor.h 24 class InstructionNode;
51 virtual void Visit(InstructionNode* region) = 0;
69 virtual void Traverse(InstructionNode* region) { }
sea.cc 38 std::vector<InstructionNode*>* instructions = region->GetInstructions();
39 for (std::vector<InstructionNode*>::const_iterator cit = instructions->begin();
232 sea_ir::InstructionNode* last_node = NULL;
233 sea_ir::InstructionNode* node = NULL;
236 std::vector<InstructionNode*> sea_instructions_for_dalvik =
237 sea_ir::InstructionNode::Create(inst);
238 for (std::vector<InstructionNode*>::const_iterator cit = sea_instructions_for_dalvik.begin();
278 utils::ScopedHashtable<int, InstructionNode*> scoped_table;
299 std::vector<InstructionNode*>* instructions = (*region_it)->GetInstructions();
300 for (std::vector<InstructionNode*>::iterator inst_it = instructions->begin()
    [all...]
  /art/compiler/sea_ir/debug/
dot_gen.h 46 void ToDotSSAEdges(InstructionNode* instruction);
57 void Visit(InstructionNode* instruction);
62 Visit(reinterpret_cast<InstructionNode*>(instruction));
65 Visit(reinterpret_cast<InstructionNode*>(instruction));
68 Visit(reinterpret_cast<InstructionNode*>(instruction));
71 Visit(reinterpret_cast<InstructionNode*>(instruction));
74 Visit(reinterpret_cast<InstructionNode*>(instruction));
77 Visit(reinterpret_cast<InstructionNode*>(instruction));
80 Visit(reinterpret_cast<InstructionNode*>(instruction));
83 Visit(reinterpret_cast<InstructionNode*>(instruction))
    [all...]
dot_gen.cc 44 void DotGenerationVisitor::ToDotSSAEdges(InstructionNode* instruction) {
45 std::map<int, InstructionNode*>* definition_edges = instruction->GetSSAProducersMap();
47 for (std::map<int, InstructionNode*>::const_iterator
67 std::vector<InstructionNode*>* used_in = instruction->GetSSAConsumers();
68 for (std::vector<InstructionNode*>::const_iterator cit = used_in->begin();
77 std::vector<InstructionNode*> definition_edges = instruction->GetSSAProducers();
79 for (std::vector<InstructionNode*>::const_iterator
99 std::vector<InstructionNode*>* used_in = instruction->GetSSAConsumers();
100 for (std::vector<InstructionNode*>::const_iterator cit = used_in->begin();
132 std::vector<InstructionNode*>* instructions = region->GetInstructions()
    [all...]
  /art/compiler/sea_ir/types/
type_inference.h 27 class InstructionNode;
63 FunctionTypeInfo(const SeaGraph* graph, InstructionNode* inst,
type_inference_visitor_test.cc 23 class TestInstructionNode:public InstructionNode {
25 explicit TestInstructionNode(std::vector<InstructionNode*> prods): InstructionNode(NULL),
27 std::vector<InstructionNode*> GetSSAProducers() {
31 std::vector<InstructionNode*> producers_;
111 std::vector<InstructionNode*> preds;
116 new TestInstructionNode(std::vector<InstructionNode*>());
118 new TestInstructionNode(std::vector<InstructionNode*>());
type_inference_visitor.h 48 void Visit(InstructionNode* instruction) { }
61 std::vector<const Type*> GetOperandTypes(InstructionNode* instruction) const;
type_inference.cc 47 FunctionTypeInfo::FunctionTypeInfo(const SeaGraph* graph, InstructionNode* inst,
145 std::list<InstructionNode*> worklist;
151 std::vector<InstructionNode*>* instructions = (*region_it)->GetInstructions();
170 for (std::list<InstructionNode*>::const_iterator instruction_it = worklist.begin();
179 std::vector<InstructionNode*>* consumers = (*instruction_it)->GetSSAConsumers();
180 for (std::vector<InstructionNode*>::iterator consumer = consumers->begin();
type_inference_visitor.cc 72 InstructionNode* instruction) const {
73 std::vector<InstructionNode*> sources = instruction->GetSSAProducers();
75 for (std::vector<InstructionNode*>::const_iterator cit = sources.begin(); cit != sources.end();
  /art/compiler/sea_ir/code_gen/
code_gen.cc 118 void CodeGenVisitor::Visit(InstructionNode* instruction) {
146 std::vector<InstructionNode*> ssa_uses = instruction->GetSSAProducers();
148 InstructionNode* use_l = ssa_uses.at(0);
151 InstructionNode* use_r = ssa_uses.at(1);
167 std::vector<InstructionNode*> ssa_uses = instruction->GetSSAUses();
168 InstructionNode* use_l = ssa_uses.at(0);
187 std::vector<InstructionNode*> ssa_uses = instruction->GetSSAProducers();
188 InstructionNode* use_l = ssa_uses.at(0);
205 std::vector<InstructionNode*> parameter_sources = invoke->GetSSAProducers();
208 for (std::vector<InstructionNode*>::const_iterator cit = parameter_sources.begin()
    [all...]
code_gen.h 59 llvm::Value* GetValue(InstructionNode* instruction) {
62 // Records @value as corresponding to the sea_ir::InstructionNode with id @instruction_id.
66 // Records @value as corresponding to the sea_ir::InstructionNode @instruction.
67 void AddValue(InstructionNode* instruction, llvm::Value* value) {
109 void Visit(InstructionNode* instruction) { }
133 void Visit(InstructionNode* region) { }
154 void Visit(InstructionNode* region);

Completed in 86 milliseconds