Home
last modified time | relevance | path

Searched refs:HInstruction (Results 1 – 25 of 55) sorted by relevance

123

/external/v8/src/crankshaft/
Dhydrogen-uint32-analysis.cc83 if (!use->CheckFlag(HInstruction::kUint32)) { in Uint32UsesAreSafe()
104 if (use->IsPhi() && !use->CheckFlag(HInstruction::kUint32)) { in Uint32UsesAreSafe()
105 use->SetFlag(HInstruction::kUint32); in Uint32UsesAreSafe()
117 if (!phi->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
124 if (!operand->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
128 operand->SetFlag(HInstruction::kUint32); in CheckPhiOperands()
145 phi->ClearFlag(HInstruction::kUint32); in UnmarkPhi()
148 if (operand->CheckFlag(HInstruction::kUint32)) { in UnmarkPhi()
149 operand->ClearFlag(HInstruction::kUint32); in UnmarkPhi()
217 ZoneList<HInstruction*>* uint32_instructions = graph()->uint32_instructions(); in Run()
[all …]
Dhydrogen-canonicalize.cc21 HInstruction* instr = it.Current(); in Run()
25 HInstruction::kTruncatingToInt32)) { in Run()
26 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32); in Run()
30 HInstruction::kTruncatingToSmi)) { in Run()
31 instr->SetFlag(HInstruction::kAllUsesTruncatingToSmi); in Run()
33 HInstruction::kTruncatingToInt32)) { in Run()
35 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32); in Run()
51 HInstruction* instr = it.Current(); in Run()
Dhydrogen-escape-analysis.h31 void AnalyzeDataFlow(HInstruction* instr);
33 HCapturedObject* NewState(HInstruction* prev);
34 HCapturedObject* NewStateForAllocation(HInstruction* prev);
35 HCapturedObject* NewStateForLoopHeader(HInstruction* prev, HCapturedObject*);
36 HCapturedObject* NewStateCopy(HInstruction* prev, HCapturedObject* state);
53 ZoneList<HInstruction*> captured_;
Dhydrogen-infer-representation.cc70 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToInt32); in Run()
72 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToSmi); in Run()
82 phi_list->at(index)->ClearFlag(HInstruction::kTruncatingToInt32); in Run()
91 phi_list->at(index)->ClearFlag(HInstruction::kTruncatingToSmi); in Run()
125 HInstruction* current = it.Current(); in Run()
149 HInstruction* current = it.Current(); in Run()
151 current->CheckFlag(HInstruction::kFlexibleRepresentation)) { in Run()
152 if (current->CheckFlag(HInstruction::kCannotBeTagged)) { in Run()
Dhydrogen-gvn.cc30 void Add(HInstruction* instr, Zone* zone) { in Add()
35 HInstruction* Lookup(HInstruction* instr) const;
46 HInstruction* instr;
58 void Insert(HInstruction* instr, Zone* zone);
83 void Store(SideEffects side_effects, HInstruction* instr);
87 inline HInstruction* operator[](int i) const { in operator []()
92 inline HInstruction* at(int i) const { return operator[](i); } in at()
96 HInstruction* data_[kNumberOfTrackedSideEffects];
156 HInstruction* instr = array_[i].instr; in Kill()
163 HInstruction* instr = lists_[current].instr; in Kill()
[all …]
Dhydrogen.h71 HInstruction* first() const { return first_; } in first()
72 HInstruction* last() const { return last_; } in last()
73 void set_last(HInstruction* instr) { last_ = instr; } in set_last()
116 void AddInstruction(HInstruction* instr, SourcePosition position);
214 HInstruction* first_;
215 HInstruction* last_;
265 inline HInstruction* Current() { return instr_; } in Current()
272 HInstruction* instr_;
273 HInstruction* next_;
450 ZoneList<HInstruction*>* uint32_instructions() { in uint32_instructions()
[all …]
Dhydrogen-escape-analysis.cc47 HInstruction* instr = it.Current(); in CollectCapturedValues()
64 HCapturedObject* HEscapeAnalysisPhase::NewState(HInstruction* previous) { in NewState()
75 HInstruction* previous) { in NewStateForAllocation()
87 HInstruction* previous, in NewStateForLoopHeader()
102 HInstruction* previous, in NewStateCopy()
150 HInstruction* new_instr = HForceRepresentation::New( in NewLoadReplacement()
163 void HEscapeAnalysisPhase::AnalyzeDataFlow(HInstruction* allocate) { in AnalyzeDataFlow()
182 HInstruction* instr = it.Current(); in AnalyzeDataFlow()
Dhydrogen.cc309 void HBasicBlock::AddInstruction(HInstruction* instr, SourcePosition position) { in AddInstruction()
751 HInstruction* current = block->first(); in Verify()
1373 HInstruction* HGraphBuilder::AddInstruction(HInstruction* instr) { in AddInstruction()
2099 HInstruction* left_instance_type = AddLoadStringInstanceType(left); in BuildCreateConsString()
2100 HInstruction* right_instance_type = AddLoadStringInstanceType(right); in BuildCreateConsString()
2440 HInstruction* HGraphBuilder::BuildUncheckedMonomorphicElementAccess( in BuildUncheckedMonomorphicElementAccess()
2472 HInstruction* length = NULL; in BuildUncheckedMonomorphicElementAccess()
2502 HInstruction* result = AddElementAccess( in BuildUncheckedMonomorphicElementAccess()
2565 HInstruction* mul = in BuildCalculateElementsSize()
2666 HInstruction* HGraphBuilder::AddElementAccess( in AddElementAccess()
[all …]
Dhydrogen-representation-changes.cc15 HInstruction* next = NULL; in InsertRepresentationChangeForUse()
19 next = HInstruction::cast(use_value); in InsertRepresentationChangeForUse()
25 HInstruction* new_value = NULL; in InsertRepresentationChangeForUse()
236 for (HInstruction* current = block->first(); current != NULL; ) { in Run()
237 HInstruction* next = current->next(); in Run()
Dhydrogen-gvn.h68 SideEffects ComputeChanges(HInstruction* instr);
69 SideEffects ComputeDependsOn(HInstruction* instr);
129 bool ShouldMove(HInstruction* instr, HBasicBlock* loop_header);
Dhydrogen-instructions.cc653 std::ostream& HInstruction::PrintTo(std::ostream& os) const { // NOLINT in PrintTo()
662 std::ostream& HInstruction::PrintDataTo(std::ostream& os) const { // NOLINT in PrintDataTo()
671 void HInstruction::Unlink() { in Unlink()
687 void HInstruction::InsertBefore(HInstruction* next) { in InsertBefore()
693 HInstruction* prev = next->previous(); in InsertBefore()
705 void HInstruction::InsertAfter(HInstruction* previous) { in InsertAfter()
721 HInstruction* next = previous->next_; in InsertAfter()
742 bool HInstruction::Dominates(HInstruction* other) { in Dominates()
748 for (HInstruction* instr = next(); instr != NULL; instr = instr->next()) { in Dominates()
758 void HInstruction::Verify() { in Verify()
[all …]
Dhydrogen-bce.cc190 HInstruction* old_position = new_check->next(); in CoverCheck()
226 HInstruction* end_of_scan_range) { in MoveIndexIfNecessary()
240 for (HInstruction* cursor = end_of_scan_range; cursor != insert_before;) { in MoveIndexIfNecessary()
273 for (HInstruction* cursor = end_of_scan_range; cursor != insert_before;) { in MoveIndexIfNecessary()
391 HInstruction* i = it.Current(); in PreProcessBlock()
Dhydrogen-instructions.h34 class HInstruction; variable
948 class HInstruction : public HValue {
950 HInstruction* next() const { return next_; } in next()
951 HInstruction* previous() const { return previous_; } in previous()
959 void InsertBefore(HInstruction* next);
966 void InsertAfter(HInstruction* previous);
981 bool Dominates(HInstruction* other);
999 explicit HInstruction(HType type = HType::Tagged()) in DECLARE_ABSTRACT_INSTRUCTION()
1015 HInstruction* next_;
1016 HInstruction* previous_;
[all …]
Dhydrogen-dce.cc54 HInstruction* instr = it.Current(); in MarkLiveInstructions()
74 HInstruction* instr = it.Current(); in RemoveDeadInstructions()
Dhydrogen-store-elimination.cc37 HInstruction* instr = it.Current(); in Run()
98 void HStoreEliminationPhase::ProcessInstr(HInstruction* instr, in ProcessInstr()
Dhydrogen-removable-simulates.cc19 State* Process(HInstruction* instr, Zone* zone) { in Process()
177 void Process(HInstruction* instr, Zone* zone) { } in Process()
Dhydrogen-check-elimination.cc67 HInstruction* check_; // The last check instruction.
86 HCheckTable* Process(HInstruction* instr, Zone* zone) { in Process()
658 HInstruction* instr) { in EnsureChecked()
775 HInstruction* check, in Insert()
782 HInstruction* check, in Insert()
820 void Process(HInstruction* instr, Zone* zone) { in Process()
Dhydrogen-flow-engine.h27 inline void Process(HInstruction* value, Zone* zone) { in Process()
42 inline NoState* Process(HInstruction* value, Zone* zone) { in Process()
Dhydrogen-environment-liveness.cc95 HInstruction* instr, in UpdateLivenessAtInstruction()
181 for (HInstruction* instr = block->end(); instr != NULL; in Run()
Dhydrogen-store-elimination.h28 void ProcessInstr(HInstruction* instr, GVNFlagSet flags);
/external/v8/src/
Dcode-stubs-hydrogen.cc112 HInstruction* stack_parameter_count = NULL; in BuildGraph()
151 HInstruction* stack_pop_count = stack_parameter_count; in BuildGraph()
155 HInstruction* constant_one = graph()->GetConstant1(); in BuildGraph()
343 HInstruction* elements = AddLoadElements(object); in BuildCodeStub()
351 HInstruction* elements_length = AddLoadFixedArrayLength(elements); in BuildCodeStub()
/external/v8/src/crankshaft/mips64/
Dlithium-mips64.cc479 HInstruction* instr = HInstruction::cast(value); in Use()
535 HInstruction* hinstr, in MarkAsCall()
656 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
752 HInstruction* current = block->first(); in DoBasicBlock()
772 void LChunkBuilder::VisitInstruction(HInstruction* current) { in VisitInstruction()
773 HInstruction* old_current = current_instruction_; in VisitInstruction()
815 HInstruction* hydrogen_val) { in AddInstruction()
1226 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1244 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1257 LOperand* temp = instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) in DoDivI()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-arm64.cc325 HInstruction* instr = HInstruction::cast(value); in Use()
425 HInstruction* hinstr, in MarkAsCall()
586 HInstruction* current = block->first(); in DoBasicBlock()
605 void LChunkBuilder::VisitInstruction(HInstruction* current) { in VisitInstruction()
606 HInstruction* old_current = current_instruction_; in VisitInstruction()
648 HInstruction* hydrogen_val) { in AddInstruction()
1091 if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
1111 if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
1324 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1338 LOperand* temp = instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) in DoDivByConstI()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-arm.cc472 HInstruction* instr = HInstruction::cast(value); in Use()
528 HInstruction* hinstr, in MarkAsCall()
649 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
742 HInstruction* current = block->first(); in DoBasicBlock()
762 void LChunkBuilder::VisitInstruction(HInstruction* current) { in VisitInstruction()
763 HInstruction* old_current = current_instruction_; in VisitInstruction()
805 HInstruction* hydrogen_val) { in AddInstruction()
1218 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1236 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1844 } else if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-ppc.cc485 HInstruction* instr = HInstruction::cast(value); in Use()
541 HInstruction* hinstr, in MarkAsCall()
661 does_deopt = !instr->CheckFlag(HInstruction::kUint32); in DoShift()
757 HInstruction* current = block->first(); in DoBasicBlock()
777 void LChunkBuilder::VisitInstruction(HInstruction* current) { in VisitInstruction()
778 HInstruction* old_current = current_instruction_; in VisitInstruction()
820 HInstruction* hydrogen_val) { in AddInstruction()
1241 (!instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32) && in DoDivByPowerOf2I()
1259 !instr->CheckFlag(HInstruction::kAllUsesTruncatingToInt32)) { in DoDivByConstI()
1821 } else if (val->CheckFlag(HInstruction::kUint32)) { in DoChange()
[all …]

123