Home
last modified time | relevance | path

Searched refs:HBasicBlock (Results 1 – 14 of 14) sorted by relevance

/external/v8/src/
Dhydrogen.h54 class HBasicBlock: public ZoneObject {
56 explicit HBasicBlock(HGraph* graph);
57 virtual ~HBasicBlock() { } in ~HBasicBlock()
70 const ZoneList<HBasicBlock*>* predecessors() const { return &predecessors_; } in predecessors()
72 const ZoneList<HBasicBlock*>* dominated_blocks() const { in dominated_blocks()
81 HBasicBlock* dominator() const { return dominator_; } in dominator()
104 bool Dominates(HBasicBlock* other) const;
111 HBasicBlock* parent_loop_header() const { return parent_loop_header_; } in parent_loop_header()
113 void set_parent_loop_header(HBasicBlock* block) { in set_parent_loop_header()
124 void Goto(HBasicBlock* block, bool drop_extra = false);
[all …]
Dhydrogen.cc55 HBasicBlock::HBasicBlock(HGraph* graph) in HBasicBlock() function in v8::internal::HBasicBlock
77 void HBasicBlock::AttachLoopInformation() { in AttachLoopInformation()
83 void HBasicBlock::DetachLoopInformation() { in DetachLoopInformation()
89 void HBasicBlock::AddPhi(HPhi* phi) { in AddPhi()
96 void HBasicBlock::RemovePhi(HPhi* phi) { in RemovePhi()
106 void HBasicBlock::AddInstruction(HInstruction* instr) { in AddInstruction()
120 HDeoptimize* HBasicBlock::CreateDeoptimize( in CreateDeoptimize()
136 HSimulate* HBasicBlock::CreateSimulate(int ast_id) { in CreateSimulate()
158 void HBasicBlock::Finish(HControlInstruction* end) { in Finish()
168 void HBasicBlock::Goto(HBasicBlock* block, bool drop_extra) { in Goto()
[all …]
Dlithium-allocator.h41 class HBasicBlock; variable
492 bool CanEagerlyResolveControlFlow(HBasicBlock* block) const;
497 BitVector* ComputeLiveOut(HBasicBlock* block);
498 void AddInitialIntervals(HBasicBlock* block, BitVector* live_out);
499 void ProcessInstructions(HBasicBlock* block, BitVector* live);
500 void MeetRegisterConstraints(HBasicBlock* block);
504 void ResolvePhis(HBasicBlock* block);
570 HBasicBlock* block,
571 HBasicBlock* pred);
578 HBasicBlock* GetBlock(LifetimePosition pos);
[all …]
Dlithium-allocator.cc561 BitVector* LAllocator::ComputeLiveOut(HBasicBlock* block) { in ComputeLiveOut()
570 HBasicBlock* successor = it.Current(); in ComputeLiveOut()
590 void LAllocator::AddInitialIntervals(HBasicBlock* block, in AddInitialIntervals()
679 LGap* LAllocator::GetLastGap(HBasicBlock* block) { in GetLastGap()
768 void LAllocator::MeetRegisterConstraints(HBasicBlock* block) { in MeetRegisterConstraints()
890 void LAllocator::ProcessInstructions(HBasicBlock* block, BitVector* live) { in ProcessInstructions()
1012 void LAllocator::ResolvePhis(HBasicBlock* block) { in ResolvePhis()
1030 HBasicBlock* cur_block = block->predecessors()->at(j); in ResolvePhis()
1087 const ZoneList<HBasicBlock*>* blocks = graph_->blocks(); in MeetRegisterConstraints()
1089 HBasicBlock* block = blocks->at(i); in MeetRegisterConstraints()
[all …]
Dhydrogen-instructions.h46 class HBasicBlock; variable
583 HBasicBlock* block() const { return block_; } in block()
584 void SetBlock(HBasicBlock* block);
626 bool IsDefinedAfter(HBasicBlock* other) const;
796 HBasicBlock* block_;
854 void InitializeAsFirst(HBasicBlock* block) { in InitializeAsFirst()
865 friend class HBasicBlock; variable
885 virtual HBasicBlock* SuccessorAt(int i) = 0;
887 virtual void SetSuccessorAt(int i, HBasicBlock* block) = 0;
891 HBasicBlock* FirstSuccessor() { in FirstSuccessor()
[all …]
Dhydrogen-instructions.cc274 bool HValue::IsDefinedAfter(HBasicBlock* other) const { in IsDefinedAfter()
427 void HValue::SetBlock(HBasicBlock* block) { in SetBlock()
578 HBasicBlock* block = previous->block(); in InsertAfter()
608 HBasicBlock* cur_block = block(); in Verify()
611 HBasicBlock* other_block = other_operand->block(); in Verify()
2307 HBasicBlock* defining_block = value->block(); in Verify()
2308 HBasicBlock* predecessor_block = block()->predecessors()->at(i); in Verify()
/external/v8/src/x64/
Dlithium-x64.h322 explicit LGap(HBasicBlock* block) in LGap()
340 HBasicBlock* block() const { return block_; } in block()
362 HBasicBlock* block_;
368 explicit LInstructionGap(HBasicBlock* block) : LGap(block) { } in LInstructionGap()
413 explicit LLabel(HBasicBlock* block) in LLabel()
462 HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); } in SuccessorAt()
2158 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
2179 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2349 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2362 HBasicBlock* current_block_;
[all …]
Dlithium-x64.cc387 HBasicBlock* block = graph()->blocks()->at(i); in MarkEmptyBlocks()
471 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction()
550 const ZoneList<HBasicBlock*>* blocks = graph()->blocks(); in Build()
552 HBasicBlock* next = NULL; in Build()
907 void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) { in DoBasicBlock()
918 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
935 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
1043 HBasicBlock* successor = HConstant::cast(value)->ToBoolean() in DoBranch()
/external/v8/src/mips/
Dlithium-mips.h320 explicit LGap(HBasicBlock* block) in LGap()
338 HBasicBlock* block() const { return block_; } in block()
360 HBasicBlock* block_;
366 explicit LInstructionGap(HBasicBlock* block) : LGap(block) { } in LInstructionGap()
411 explicit LLabel(HBasicBlock* block) in LLabel()
460 HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); } in SuccessorAt()
2176 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
2197 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2363 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2377 HBasicBlock* current_block_;
[all …]
Dlithium-mips.cc445 HBasicBlock* block = graph()->blocks()->at(i); in MarkEmptyBlocks()
478 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction()
557 const ZoneList<HBasicBlock*>* blocks = graph()->blocks(); in Build()
559 HBasicBlock* next = NULL; in Build()
912 void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) { in DoBasicBlock()
923 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
940 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
1046 HBasicBlock* successor = HConstant::cast(value)->ToBoolean() in DoBranch()
/external/v8/src/arm/
Dlithium-arm.h321 explicit LGap(HBasicBlock* block) in LGap()
339 HBasicBlock* block() const { return block_; } in block()
361 HBasicBlock* block_;
367 explicit LInstructionGap(HBasicBlock* block) : LGap(block) { } in LInstructionGap()
412 explicit LLabel(HBasicBlock* block) in LLabel()
461 HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); } in SuccessorAt()
2196 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
2217 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2383 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2396 HBasicBlock* current_block_;
[all …]
Dlithium-arm.cc445 HBasicBlock* block = graph()->blocks()->at(i); in MarkEmptyBlocks()
478 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction()
557 const ZoneList<HBasicBlock*>* blocks = graph()->blocks(); in Build()
559 HBasicBlock* next = NULL; in Build()
912 void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) { in DoBasicBlock()
923 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
940 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
1046 HBasicBlock* successor = HConstant::cast(value)->ToBoolean() in DoBranch()
/external/v8/src/ia32/
Dlithium-ia32.h314 explicit LGap(HBasicBlock* block) : block_(block) { in LGap()
331 HBasicBlock* block() const { return block_; } in block()
353 HBasicBlock* block_;
359 explicit LInstructionGap(HBasicBlock* block) : LGap(block) { } in LInstructionGap()
394 explicit LLabel(HBasicBlock* block) in LLabel()
449 HBasicBlock* SuccessorAt(int i) { return hydrogen()->SuccessorAt(i); } in SuccessorAt()
2294 void AddInstruction(LInstruction* instruction, HBasicBlock* block);
2315 HBasicBlock* block = graph_->blocks()->at(block_id); in GetLabel()
2485 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block);
2498 HBasicBlock* current_block_;
[all …]
Dlithium-ia32.cc389 HBasicBlock* block = graph()->blocks()->at(i); in MarkEmptyBlocks()
473 void LChunk::AddInstruction(LInstruction* instr, HBasicBlock* block) { in AddInstruction()
552 const ZoneList<HBasicBlock*>* blocks = graph()->blocks(); in Build()
554 HBasicBlock* next = NULL; in Build()
913 void LChunkBuilder::DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block) { in DoBasicBlock()
924 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
941 HBasicBlock* pred = block->predecessors()->at(0); in DoBasicBlock()
1049 HBasicBlock* successor = HConstant::cast(value)->ToBoolean() in DoBranch()