Home
last modified time | relevance | path

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

123

/external/v8/src/crankshaft/
Dhydrogen-flow-engine.h39 inline NoState* Copy(HBasicBlock* succ, Zone* zone) { in Copy()
45 inline NoState* Merge(HBasicBlock* succ, NoState* other, Zone* zone) { in Merge()
82 State* AnalyzeOneBlock(HBasicBlock* block, State* state) { in AnalyzeOneBlock()
92 void AnalyzeDominatedBlocks(HBasicBlock* root, State* initial) { in AnalyzeDominatedBlocks()
98 HBasicBlock* block = graph_->blocks()->at(i); in AnalyzeDominatedBlocks()
123 HBasicBlock* succ = block->end()->SuccessorAt(i); in AnalyzeDominatedBlocks()
141 Effects* ComputeLoopEffects(HBasicBlock* block) { in ComputeLoopEffects()
154 HBasicBlock* member = graph_->blocks()->at(i); in ComputeLoopEffects()
174 inline bool SkipNonDominatedBlock(HBasicBlock* root, HBasicBlock* other) { in SkipNonDominatedBlock()
180 inline State* StateAt(HBasicBlock* block) { in StateAt()
[all …]
Dhydrogen.h58 class HBasicBlock final : public ZoneObject {
60 explicit HBasicBlock(HGraph* graph);
61 ~HBasicBlock() { } in ~HBasicBlock()
79 const ZoneList<HBasicBlock*>* predecessors() const { return &predecessors_; } in predecessors()
81 const ZoneList<HBasicBlock*>* dominated_blocks() const { in dominated_blocks()
90 HBasicBlock* dominator() const { return dominator_; } in dominator()
115 bool Dominates(HBasicBlock* other) const;
116 bool EqualToOrDominates(HBasicBlock* other) const;
127 HBasicBlock* parent_loop_header() const { return parent_loop_header_; } in parent_loop_header()
129 void set_parent_loop_header(HBasicBlock* block) { in set_parent_loop_header()
[all …]
Dhydrogen-removable-simulates.cc88 HBasicBlock* succ_block, in Merge()
90 HBasicBlock* pred_block, in Merge()
97 static State* Finish(State* state, HBasicBlock* block, Zone* zone) { in Finish()
138 State* Copy(HBasicBlock* succ_block, HBasicBlock* pred_block, Zone* zone) { in Copy()
148 State* Merge(HBasicBlock* succ_block, in Merge()
150 HBasicBlock* pred_block, in Merge()
Dhydrogen-mark-unreachable.cc15 const ZoneList<HBasicBlock*>* blocks = graph()->blocks(); in MarkUnreachableBlocks()
19 HBasicBlock* block = blocks->at(i); in MarkUnreachableBlocks()
23 HBasicBlock* predecessor = it.Current(); in MarkUnreachableBlocks()
29 HBasicBlock* pred_succ; in MarkUnreachableBlocks()
Dhydrogen-gvn.cc538 HBasicBlock* block = graph()->blocks()->at(i); in ComputeBlockSideEffects()
555 HBasicBlock* with_parent = block; in ComputeBlockSideEffects()
558 HBasicBlock* parent_block = with_parent->parent_loop_header(); in ComputeBlockSideEffects()
572 HBasicBlock* block = graph()->blocks()->at(i); in LoopInvariantCodeMotion()
580 HBasicBlock* last = block->loop_information()->GetLastBackEdge(); in LoopInvariantCodeMotion()
590 HBasicBlock* block, in ProcessLoopBlock()
591 HBasicBlock* loop_header, in ProcessLoopBlock()
593 HBasicBlock* pre_header = loop_header->predecessors()->at(0); in ProcessLoopBlock()
641 HBasicBlock* loop_header) { in ShouldMove()
651 HBasicBlock* dominator, HBasicBlock* dominated) { in CollectSideEffectsOnPathsToDominatedBlock()
[all …]
Dhydrogen-sce.cc16 HBasicBlock* block = graph()->blocks()->at(i); in Run()
18 HBasicBlock* back_edge = block->loop_information()->GetLastBackEdge(); in Run()
19 HBasicBlock* dominator = back_edge; in Run()
Dhydrogen-osr.h28 HBasicBlock* BuildOsrLoopEntry(IterationStatement* statement);
47 HBasicBlock* osr_entry_;
48 HBasicBlock* osr_loop_entry_;
Dhydrogen-gvn.h121 HBasicBlock* dominator,
122 HBasicBlock* dominated);
126 void ProcessLoopBlock(HBasicBlock* block,
127 HBasicBlock* before_loop,
129 bool ShouldMove(HInstruction* instr, HBasicBlock* loop_header);
Dlithium-allocator.h18 class HBasicBlock; variable
393 bool CanEagerlyResolveControlFlow(HBasicBlock* block) const;
398 BitVector* ComputeLiveOut(HBasicBlock* block);
399 void AddInitialIntervals(HBasicBlock* block, BitVector* live_out);
400 void ProcessInstructions(HBasicBlock* block, BitVector* live);
401 void MeetRegisterConstraints(HBasicBlock* block);
405 void ResolvePhis(HBasicBlock* block);
483 HBasicBlock* block,
484 HBasicBlock* pred);
493 HBasicBlock* GetBlock(LifetimePosition pos);
[all …]
Dhydrogen-bce.h39 void EliminateRedundantBoundsChecks(HBasicBlock* bb);
40 BoundsCheckBbData* PreProcessBlock(HBasicBlock* bb);
41 void PostProcessBlock(HBasicBlock* bb, BoundsCheckBbData* data);
Dhydrogen-range-analysis.cc13 Pending(HBasicBlock* block, int last_changed_range) in Pending()
16 HBasicBlock* block() const { return block_; } in block()
20 HBasicBlock* block_;
36 HBasicBlock* block(graph()->entry_block()); in Run()
43 HBasicBlock* pred = block->predecessors()->first(); in Run()
78 const ZoneList<HBasicBlock*>* dominated_blocks(block->dominated_blocks()); in Run()
106 HBasicBlock* block = graph()->blocks()->at(i); in PoisonRanges()
117 HBasicBlock* dest) { in InferControlFlowRange()
Dhydrogen-escape-analysis.h38 HPhi* NewPhiAndInsert(HBasicBlock* block, HValue* incoming_value, int index);
44 HCapturedObject* StateAt(HBasicBlock* block) { in StateAt()
48 void SetStateAt(HBasicBlock* block, HCapturedObject* state) { in SetStateAt()
Dhydrogen-bce.cc102 HBasicBlock* BasicBlock() const { return basic_block_; } in BasicBlock()
199 HBasicBlock* bb, in BoundsCheckBbData()
217 HBasicBlock* basic_block_;
339 HBasicBlock* block_;
351 HBasicBlock* entry) { in EliminateRedundantBoundsChecks()
366 const ZoneList<HBasicBlock*>* children = state->block_->dominated_blocks(); in EliminateRedundantBoundsChecks()
370 HBasicBlock* child = children->at(state->index_++); in EliminateRedundantBoundsChecks()
385 HBasicBlock* bb) { in PreProcessBlock()
465 HBasicBlock* block, BoundsCheckBbData* data) { in PostProcessBlock()
Dhydrogen-redundant-phi.cc12 const ZoneList<HBasicBlock*>* blocks(graph()->blocks()); in Run()
15 HBasicBlock* block = blocks->at(i); in Run()
35 void HRedundantPhiEliminationPhase::ProcessBlock(HBasicBlock* block) { in ProcessBlock()
Dhydrogen.cc244 HBasicBlock::HBasicBlock(HGraph* graph) in HBasicBlock() function in v8::internal::HBasicBlock
269 Isolate* HBasicBlock::isolate() const { in isolate()
274 void HBasicBlock::MarkUnreachable() { in MarkUnreachable()
279 void HBasicBlock::AttachLoopInformation() { in AttachLoopInformation()
285 void HBasicBlock::DetachLoopInformation() { in DetachLoopInformation()
291 void HBasicBlock::AddPhi(HPhi* phi) { in AddPhi()
298 void HBasicBlock::RemovePhi(HPhi* phi) { in RemovePhi()
307 void HBasicBlock::AddInstruction(HInstruction* instr, SourcePosition position) { in AddInstruction()
332 HPhi* HBasicBlock::AddNewPhi(int merged_index) { in AddNewPhi()
342 HSimulate* HBasicBlock::CreateSimulate(BailoutId ast_id, in CreateSimulate()
[all …]
Dhydrogen-environment-liveness.cc48 HBasicBlock* block, BitVector* live) { in ZapEnvironmentSlotsInSuccessors()
52 HBasicBlock* successor = it.Current(); in ZapEnvironmentSlotsInSuccessors()
84 HBasicBlock* block, in UpdateLivenessAtBlockEnd()
178 HBasicBlock* block = graph()->blocks()->at(block_id); in Run()
210 HBasicBlock* block = graph()->blocks()->at(block_id); in Run()
Dhydrogen-osr.cc18 HBasicBlock* HOsrBuilder::BuildOsrLoopEntry(IterationStatement* statement) { in BuildOsrLoopEntry()
30 HBasicBlock* non_osr_entry = graph->CreateBasicBlock(); in BuildOsrLoopEntry()
37 HBasicBlock* loop_predecessor = graph->CreateBasicBlock(); in BuildOsrLoopEntry()
Dhydrogen-dce.cc51 HBasicBlock* block = graph()->blocks()->at(i); in MarkLiveInstructions()
71 HBasicBlock* block = graph()->blocks()->at(i); in RemoveDeadInstructions()
96 HBasicBlock* block = phi->block(); in RemoveDeadInstructions()
Dhydrogen-escape-analysis.cc44 HBasicBlock* block = graph()->blocks()->at(i); in CollectCapturedValues()
88 HBasicBlock* block = previous->block(); in NewStateForLoopHeader()
114 HPhi* HEscapeAnalysisPhase::NewPhiAndInsert(HBasicBlock* block, in NewPhiAndInsert()
164 HBasicBlock* allocate_block = allocate->block(); in AnalyzeDataFlow()
171 HBasicBlock* block = graph()->blocks()->at(i); in AnalyzeDataFlow()
253 HBasicBlock* succ = block->end()->SuccessorAt(i); in AnalyzeDataFlow()
Dhydrogen-environment-liveness.h30 void ZapEnvironmentSlotsInSuccessors(HBasicBlock* block, BitVector* live);
32 void UpdateLivenessAtBlockEnd(HBasicBlock* block, BitVector* live);
Dhydrogen-load-elimination.cc122 HBasicBlock* succ_block, in Merge()
124 HBasicBlock* pred_block, in Merge()
137 HBasicBlock* block, in Finish()
145 HLoadEliminationTable* Copy(HBasicBlock* succ, HBasicBlock* from_block, in Copy()
161 HLoadEliminationTable* Merge(HBasicBlock* succ, HLoadEliminationTable* that, in Merge()
162 HBasicBlock* that_block, Zone* zone) { in Merge()
Dlithium-allocator.cc542 BitVector* LAllocator::ComputeLiveOut(HBasicBlock* block) { in ComputeLiveOut()
551 HBasicBlock* successor = it.Current(); in ComputeLiveOut()
571 void LAllocator::AddInitialIntervals(HBasicBlock* block, in AddInitialIntervals()
663 LGap* LAllocator::GetLastGap(HBasicBlock* block) { in GetLastGap()
753 void LAllocator::MeetRegisterConstraints(HBasicBlock* block) { in MeetRegisterConstraints()
883 void LAllocator::ProcessInstructions(HBasicBlock* block, BitVector* live) { in ProcessInstructions()
1017 void LAllocator::ResolvePhis(HBasicBlock* block) { in ResolvePhis()
1037 HBasicBlock* cur_block = block->predecessors()->at(j); in ResolvePhis()
1096 const ZoneList<HBasicBlock*>* blocks = graph_->blocks(); in MeetRegisterConstraints()
1098 HBasicBlock* block = blocks->at(i); in MeetRegisterConstraints()
[all …]
Dhydrogen-mark-deoptimize.cc45 const ZoneList<HBasicBlock*>* blocks(graph()->blocks()); in Run()
47 const HBasicBlock* block(blocks->at(i)); in Run()
Dhydrogen-infer-types.cc12 HBasicBlock* block = graph()->blocks()->at(i); in InferTypes()
24 HBasicBlock* last_back_edge = in InferTypes()
Dhydrogen-instructions.h28 class HBasicBlock; variable
496 HBasicBlock* block() const { return block_; } in block()
497 void SetBlock(HBasicBlock* block);
582 bool IsDefinedAfter(HBasicBlock* other) const;
822 HBasicBlock* block_;
1123 void InitializeAsFirst(HBasicBlock* block) { in InitializeAsFirst()
1132 friend class HBasicBlock; variable
1155 virtual HBasicBlock* SuccessorAt(int i) const = 0;
1157 virtual void SetSuccessorAt(int i, HBasicBlock* block) = 0;
1161 virtual bool KnownSuccessorBlock(HBasicBlock** block) { in KnownSuccessorBlock()
[all …]

123