• Home
  • Raw
  • Download

Lines Matching refs:BasicBlock

19 class BasicBlock;  variable
24 typedef ZoneVector<BasicBlock*> BasicBlockVector;
31 class V8_EXPORT_PRIVATE BasicBlock final
60 BasicBlock(Zone* zone, Id id); in NON_EXPORTED_BASE()
68 BasicBlock* PredecessorAt(size_t index) { return predecessors_[index]; } in NON_EXPORTED_BASE()
70 void AddPredecessor(BasicBlock* predecessor); in NON_EXPORTED_BASE()
76 BasicBlock* SuccessorAt(size_t index) { return successors_[index]; } in NON_EXPORTED_BASE()
78 void AddSuccessor(BasicBlock* successor); in NON_EXPORTED_BASE()
122 BasicBlock* dominator() const { return dominator_; } in NON_EXPORTED_BASE()
123 void set_dominator(BasicBlock* dominator) { dominator_ = dominator; } in NON_EXPORTED_BASE()
125 BasicBlock* rpo_next() const { return rpo_next_; } in NON_EXPORTED_BASE()
126 void set_rpo_next(BasicBlock* rpo_next) { rpo_next_ = rpo_next; } in NON_EXPORTED_BASE()
128 BasicBlock* loop_header() const { return loop_header_; } in NON_EXPORTED_BASE()
129 void set_loop_header(BasicBlock* loop_header); in NON_EXPORTED_BASE()
131 BasicBlock* loop_end() const { return loop_end_; } in NON_EXPORTED_BASE()
132 void set_loop_end(BasicBlock* loop_end); in NON_EXPORTED_BASE()
145 bool LoopContains(BasicBlock* block) const; in NON_EXPORTED_BASE()
149 static BasicBlock* GetCommonDominator(BasicBlock* b1, BasicBlock* b2); in NON_EXPORTED_BASE()
156 BasicBlock* dominator_; // Immediate dominator of the block. in NON_EXPORTED_BASE()
157 BasicBlock* rpo_next_; // Link to next block in special RPO order. in NON_EXPORTED_BASE()
158 BasicBlock* loop_header_; // Pointer to dominating loop header basic block, in NON_EXPORTED_BASE()
161 BasicBlock* loop_end_; // end of the loop, if this block is a loop header. in NON_EXPORTED_BASE()
172 DISALLOW_COPY_AND_ASSIGN(BasicBlock); in NON_EXPORTED_BASE()
175 std::ostream& operator<<(std::ostream&, const BasicBlock::Control&);
176 std::ostream& operator<<(std::ostream&, const BasicBlock::Id&);
188 BasicBlock* block(Node* node) const; in NON_EXPORTED_BASE()
191 BasicBlock* GetBlockById(BasicBlock::Id block_id); in NON_EXPORTED_BASE()
200 BasicBlock* NewBasicBlock(); in NON_EXPORTED_BASE()
204 void PlanNode(BasicBlock* block, Node* node); in NON_EXPORTED_BASE()
207 void AddNode(BasicBlock* block, Node* node); in NON_EXPORTED_BASE()
210 void AddGoto(BasicBlock* block, BasicBlock* succ); in NON_EXPORTED_BASE()
213 void AddCall(BasicBlock* block, Node* call, BasicBlock* success_block, in NON_EXPORTED_BASE()
214 BasicBlock* exception_block); in NON_EXPORTED_BASE()
217 void AddBranch(BasicBlock* block, Node* branch, BasicBlock* tblock, in NON_EXPORTED_BASE()
218 BasicBlock* fblock); in NON_EXPORTED_BASE()
221 void AddSwitch(BasicBlock* block, Node* sw, BasicBlock** succ_blocks, in NON_EXPORTED_BASE()
225 void AddDeoptimize(BasicBlock* block, Node* input); in NON_EXPORTED_BASE()
228 void AddTailCall(BasicBlock* block, Node* input); in NON_EXPORTED_BASE()
231 void AddReturn(BasicBlock* block, Node* input); in NON_EXPORTED_BASE()
234 void AddThrow(BasicBlock* block, Node* input); in NON_EXPORTED_BASE()
237 void InsertBranch(BasicBlock* block, BasicBlock* end, Node* branch, in NON_EXPORTED_BASE()
238 BasicBlock* tblock, BasicBlock* fblock); in NON_EXPORTED_BASE()
241 void InsertSwitch(BasicBlock* block, BasicBlock* end, Node* sw, in NON_EXPORTED_BASE()
242 BasicBlock** succ_blocks, size_t succ_count); in NON_EXPORTED_BASE()
245 void AddSuccessorForTesting(BasicBlock* block, BasicBlock* succ) { in NON_EXPORTED_BASE()
253 BasicBlock* start() { return start_; } in NON_EXPORTED_BASE()
254 BasicBlock* end() { return end_; } in NON_EXPORTED_BASE()
266 void EnsureSplitEdgeForm(BasicBlock* block); in NON_EXPORTED_BASE()
268 void EnsureDeferredCodeSingleEntryPoint(BasicBlock* block); in NON_EXPORTED_BASE()
272 void AddSuccessor(BasicBlock* block, BasicBlock* succ); in NON_EXPORTED_BASE()
273 void MoveSuccessors(BasicBlock* from, BasicBlock* to); in NON_EXPORTED_BASE()
275 void SetControlInput(BasicBlock* block, Node* node); in NON_EXPORTED_BASE()
276 void SetBlockForNode(BasicBlock* block, Node* node); in NON_EXPORTED_BASE()
282 BasicBlock* start_; in NON_EXPORTED_BASE()
283 BasicBlock* end_; in NON_EXPORTED_BASE()