Home | History | Annotate | Download | only in crankshaft

Lines Matching defs:HBasicBlock

69 HBasicBlock::HBasicBlock(HGraph* graph)
94 Isolate* HBasicBlock::isolate() const {
99 void HBasicBlock::MarkUnreachable() {
104 void HBasicBlock::AttachLoopInformation() {
110 void HBasicBlock::DetachLoopInformation() {
116 void HBasicBlock::AddPhi(HPhi* phi) {
123 void HBasicBlock::RemovePhi(HPhi* phi) {
132 void HBasicBlock::AddInstruction(HInstruction* instr, SourcePosition position) {
157 HPhi* HBasicBlock::AddNewPhi(int merged_index) {
167 HSimulate* HBasicBlock::CreateSimulate(BailoutId ast_id,
201 void HBasicBlock::Finish(HControlInstruction* end, SourcePosition position) {
211 void HBasicBlock::Goto(HBasicBlock* block, SourcePosition position,
231 void HBasicBlock::AddLeaveInlined(HValue* return_value, FunctionState* state,
233 HBasicBlock* target = state->function_return();
250 void HBasicBlock::SetInitialEnvironment(HEnvironment* env) {
257 void HBasicBlock::UpdateEnvironment(HEnvironment* env) {
263 void HBasicBlock::SetJoinId(BailoutId ast_id) {
267 HBasicBlock* predecessor = predecessors_[i];
280 bool HBasicBlock::Dominates(HBasicBlock* other) const {
281 HBasicBlock* current = other->dominator();
290 bool HBasicBlock::EqualToOrDominates(HBasicBlock* other) const {
296 int HBasicBlock::LoopNestingDepth() const {
297 const HBasicBlock* current = this;
307 void HBasicBlock::PostProcessLoopHeader(IterationStatement* stmt) {
325 void HBasicBlock::MarkSuccEdgeUnreachable(int succ) {
327 HBasicBlock* succ_block = end()->SuccessorAt(succ);
334 void HBasicBlock::RegisterPredecessor(HBasicBlock* pred) {
358 void HBasicBlock::AddDominatedBlock(HBasicBlock* block) {
371 void HBasicBlock::AssignCommonDominator(HBasicBlock* other) {
376 HBasicBlock* first = dominator_;
377 HBasicBlock* second = other;
398 void HBasicBlock::AssignLoopSuccessorDominators() {
408 HBasicBlock* last = loop_information()->GetLastBackEdge();
413 HBasicBlock* dominator_candidate = graph_->blocks()->at(j);
416 HBasicBlock* predecessor = it.Current();
432 HBasicBlock* parent_loop_header = dominator_candidate->parent_loop_header();
439 HBasicBlock* successor = it.Current();
454 int HBasicBlock::PredecessorIndexOf(HBasicBlock* predecessor) const {
464 void HBasicBlock::Verify() {
479 void HLoopInformation::RegisterBackEdge(HBasicBlock* block) {
485 HBasicBlock* HLoopInformation::GetLastBackEdge() const {
487 HBasicBlock* result = NULL;
489 HBasicBlock* cur = back_edges_[i];
499 void HLoopInformation::AddBlock(HBasicBlock* block) {
523 ReachabilityAnalyzer(HBasicBlock* entry_block,
525 HBasicBlock* dont_visit)
538 void PushBlock(HBasicBlock* block) {
557 ZoneList<HBasicBlock*> stack_;
559 HBasicBlock* dont_visit_;
568 HBasicBlock* block = blocks_.at(i);
584 HBasicBlock* first = block->end()->FirstSuccessor();
585 HBasicBlock* second = block->end()->SecondSuccessor();
608 HBasicBlock* predecessor = block->predecessors()->at(k);
629 HBasicBlock* block = blocks_.at(i);
815 HBasicBlock* split_edge = builder()->CreateBasicBlock(env->Copy());
870 HBasicBlock* true_block = NULL;
871 HBasicBlock* false_block = NULL;
886 HBasicBlock* true_block = NULL;
887 HBasicBlock* false_block = NULL;
952 HBasicBlock* block = builder()->current_block();
984 void HGraphBuilder::IfBuilder::Finish(HBasicBlock** then_continuation,
985 HBasicBlock** else_continuation) {
1014 HBasicBlock* merge_block =
1174 HBasicBlock* last_block = builder_->current_block();
1253 HBasicBlock* HGraphBuilder::CreateBasicBlock(HEnvironment* env) {
1254 HBasicBlock* b = graph()->CreateBasicBlock();
1260 HBasicBlock* HGraphBuilder::CreateLoopHeaderBlock() {
1261 HBasicBlock* header = graph()->CreateBasicBlock();
3569 HBasicBlock* HOptimizedGraphBuilder::CreateJoin(HBasicBlock* first,
3570 HBasicBlock* second,
3577 HBasicBlock* join_block = graph()->CreateBasicBlock();
3586 HBasicBlock* HOptimizedGraphBuilder::JoinContinue(IterationStatement* statement,
3587 HBasicBlock* exit_block,
3588 HBasicBlock* continue_block) {
3598 HBasicBlock* HOptimizedGraphBuilder::CreateLoop(IterationStatement* statement,
3599 HBasicBlock* loop_entry,
3600 HBasicBlock* body_exit,
3601 HBasicBlock* loop_successor,
3602 HBasicBlock* break_block) {
3615 HBasicBlock* HOptimizedGraphBuilder::BuildLoopEntry() {
3616 HBasicBlock
3623 HBasicBlock* HOptimizedGraphBuilder::BuildLoopEntry(
3625 HBasicBlock* loop_entry = osr()->HasOsrEntryAt(statement)
3632 void HBasicBlock::FinishExit(HControlInstruction* instruction,
3639 std::ostream& operator<<(std::ostream& os, const HBasicBlock& b) {
3681 HBasicBlock* HGraph::CreateBasicBlock() {
3682 HBasicBlock* result = new(zone()) HBasicBlock(this);
3756 HBasicBlock* block() { return block_; }
3758 HBasicBlock* loop_header() { return loop_header_; }
3761 HBasicBlock* block) {
3767 ZoneList<HBasicBlock*>* order) {
3792 HBasicBlock* block,
3793 HBasicBlock* loop_header) {
3824 HBasicBlock* block,
3826 HBasicBlock* loop_header) {
3836 HBasicBlock* block,
3838 HBasicBlock* loop_header) {
3855 void ClosePostorder(ZoneList<HBasicBlock*>* order, Zone* zone) {
3867 ZoneList<HBasicBlock*>* order) {
3893 ZoneList<HBasicBlock*>* order) {
3909 ZoneList<HBasicBlock*>* order) {
3910 HBasicBlock* next_block;
3954 HBasicBlock* AdvanceSuccessors() {
3956 HBasicBlock* result = successor_iterator.Current();
3969 HBasicBlock* AdvanceLoopMembers() {
3971 HBasicBlock* result = loop_->blocks()->at(loop_index);
3983 HBasicBlock* block_;
3984 HBasicBlock* loop_header_;
4017 HBasicBlock* bi = blocks_[i];
4018 HBasicBlock* bj = blocks_[j];
4030 HBasicBlock* block = blocks_[i];
4105 HBasicBlock* if_true = owner->graph()->CreateBasicBlock();
4106 HBasicBlock* if_false = owner->graph()->CreateBasicBlock();
4220 HBasicBlock* empty_true = owner()->graph()->CreateBasicBlock();
4221 HBasicBlock* empty_false = owner()->graph()->CreateBasicBlock();
4225 HBasicBlock* join = owner()->CreateJoin(empty_true, empty_false, ast_id);
4232 HBasicBlock* true_branch = NULL;
4233 HBasicBlock* false_branch = NULL;
4240 HBasicBlock* join = owner()->CreateJoin(true_branch, false_branch, ast_id);
4264 HBasicBlock* materialize_false = owner()->graph()->CreateBasicBlock();
4265 HBasicBlock* materialize_true = owner()->graph()->CreateBasicBlock();
4273 HBasicBlock* join =
4281 HBasicBlock* materialize_true = NULL;
4282 HBasicBlock* materialize_false = NULL;
4295 HBasicBlock* join =
4319 HBasicBlock* empty_true = owner()->graph()->CreateBasicBlock();
4320 HBasicBlock* empty_false = owner()->graph()->CreateBasicBlock();
4332 HBasicBlock* true_branch = NULL;
4333 HBasicBlock* false_branch = NULL;
4408 HBasicBlock* true_block,
4409 HBasicBlock* false_block) {
4456 HBasicBlock* body_entry = CreateBasicBlock(initial_env);
4588 HBasicBlock* block = blocks()->at(block_index);
4657 HBasicBlock* body_entry = CreateBasicBlock(initial_env);
4767 HBasicBlock* break_block = break_info.break_block();
4809 HBasicBlock* cond_true = graph()->CreateBasicBlock();
4810 HBasicBlock* cond_false = graph()->CreateBasicBlock();
4831 HBasicBlock* join = CreateJoin(cond_true, cond_false, stmt->IfId());
4837 HBasicBlock* HOptimizedGraphBuilder::BreakAndContinueScope::Get(
4855 HBasicBlock* block = NULL;
4886 HBasicBlock* continue_block = break_scope()->Get(
4918 HBasicBlock* break_block = break_scope()->Get(
4973 HBasicBlock* if_spec_object = graph()->CreateBasicBlock();
4974 HBasicBlock* not_spec_object = graph()->CreateBasicBlock();
5034 ZoneList<HBasicBlock*> body_blocks(clause_count, zone());
5065 HBasicBlock* next_test_block = graph()->CreateBasicBlock();
5066 HBasicBlock* body_block = graph()->CreateBasicBlock();
5080 HBasicBlock* last_block = current_block();
5085 HBasicBlock* fall_through_block = NULL;
5094 HBasicBlock* normal_block = NULL;
5106 HBasicBlock* join = CreateJoin(fall_through_block,
5119 HBasicBlock* break_block = break_info.break_block();
5134 HBasicBlock* loop_entry) {
5149 HBasicBlock* loop_entry = BuildLoopEntry(stmt);
5156 HBasicBlock* body_exit =
5158 HBasicBlock* loop_successor = NULL;
5183 HBasicBlock* loop_exit = CreateLoop(stmt,
5197 HBasicBlock* loop_entry = BuildLoopEntry(stmt);
5200 HBasicBlock* loop_successor = NULL;
5202 HBasicBlock* body_entry = graph()->CreateBasicBlock();
5221 HBasicBlock* body_exit =
5223 HBasicBlock* loop_exit = CreateLoop(stmt,
5240 HBasicBlock* loop_entry = BuildLoopEntry(stmt);
5242 HBasicBlock* loop_successor = NULL;
5244 HBasicBlock* body_entry = graph()->CreateBasicBlock();
5263 HBasicBlock* body_exit =
5272 HBasicBlock* loop_exit = CreateLoop(stmt,
5358 HBasicBlock* loop_entry = BuildLoopEntry(stmt);
5373 HBasicBlock* loop_body = graph()->CreateBasicBlock();
5374 HBasicBlock* loop_successor = graph()->CreateBasicBlock();
5416 HBasicBlock* body_exit =
5427 HBasicBlock* loop_exit = CreateLoop(stmt,
5535 HBasicBlock* cond_true = graph()->CreateBasicBlock();
5536 HBasicBlock* cond_false = graph()->CreateBasicBlock();
5560 HBasicBlock* join = CreateJoin(cond_true, cond_false, expr->id());
6608 HBasicBlock* join = NULL;
6609 HBasicBlock* number_block = NULL;
6650 HBasicBlock* empty_smi_block = graph()->CreateBasicBlock();
6651 HBasicBlock* not_smi_block = graph()->CreateBasicBlock();
6663 HBasicBlock* if_true = graph()->CreateBasicBlock();
6664 HBasicBlock* if_false = graph()->CreateBasicBlock();
7558 HBasicBlock* join = graph()->CreateBasicBlock();
7563 HBasicBlock* this_map = graph()->CreateBasicBlock();
7564 HBasicBlock* other_map = graph()->CreateBasicBlock();
8072 HBasicBlock* number_block = NULL;
8073 HBasicBlock* join = NULL;
8093 HBasicBlock* empty_smi_block = graph()->CreateBasicBlock();
8094 HBasicBlock* not_smi_block = graph()->CreateBasicBlock();
8105 HBasicBlock* if_true = graph()->CreateBasicBlock();
8106 HBasicBlock* if_false = graph()->CreateBasicBlock();
8569 HBasicBlock* if_true = inlined_test_context()->if_true();
8570 HBasicBlock* if_false = inlined_test_context()->if_false();
8583 HBasicBlock* true_target = TestContext::cast(ast_context())->if_true();
8589 HBasicBlock* false_target = TestContext::cast(ast_context())->if_false();
10548 HBasicBlock* materialize_false = graph()->CreateBasicBlock();
10549 HBasicBlock* materialize_true = graph()->CreateBasicBlock();
10570 HBasicBlock* join =
11278 HBasicBlock* eval_right = graph()->CreateBasicBlock();
11316 HBasicBlock* empty_block = graph()->CreateBasicBlock();
11317 HBasicBlock* eval_right = graph()->CreateBasicBlock();
11328 HBasicBlock* join_block =
11338 HBasicBlock* empty_block = graph()->CreateBasicBlock();
11339 HBasicBlock* right_block = graph()->CreateBasicBlock();
11367 HBasicBlock* join_block =
13066 void HEnvironment::AddIncomingEdge(HBasicBlock* block, HEnvironment* other) {
13165 HEnvironment* HEnvironment::CopyAsLoopHeader(HBasicBlock* loop_header) const {
13301 const ZoneList<HBasicBlock*>* blocks = graph->blocks();
13303 HBasicBlock* current = blocks->at(i);