HomeSort by relevance Sort by last modified time
    Searched refs:HInstruction (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/chromium_org/v8/src/
hydrogen-canonicalize.cc 18 HInstruction* instr = it.Current();
22 HInstruction::kTruncatingToInt32)) {
23 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32);
27 HInstruction::kTruncatingToSmi)) {
28 instr->SetFlag(HInstruction::kAllUsesTruncatingToSmi);
30 HInstruction::kTruncatingToInt32)) {
32 instr->SetFlag(HInstruction::kAllUsesTruncatingToInt32);
48 HInstruction* instr = it.Current();
hydrogen-escape-analysis.h 31 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_;
hydrogen-uint32-analysis.cc 86 if (!use->CheckFlag(HInstruction::kUint32)) {
107 if (use->IsPhi() && !use->CheckFlag(HInstruction::kUint32)) {
108 use->SetFlag(HInstruction::kUint32);
120 if (!phi->CheckFlag(HInstruction::kUint32)) {
127 if (!operand->CheckFlag(HInstruction::kUint32)) {
131 operand->SetFlag(HInstruction::kUint32);
148 phi->ClearFlag(HInstruction::kUint32);
151 if (operand->CheckFlag(HInstruction::kUint32)) {
152 operand->ClearFlag(HInstruction::kUint32);
220 ZoneList<HInstruction*>* uint32_instructions = graph()->uint32_instructions()
    [all...]
hydrogen-store-elimination.h 28 void ProcessInstr(HInstruction* instr, GVNFlagSet flags);
hydrogen-infer-representation.cc 69 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToInt32);
71 phi_list->at(index)->CheckFlag(HInstruction::kTruncatingToSmi);
81 phi_list->at(index)->ClearFlag(HInstruction::kTruncatingToInt32);
90 phi_list->at(index)->ClearFlag(HInstruction::kTruncatingToSmi);
124 HInstruction* current = it.Current();
148 HInstruction* current = it.Current();
150 current->CheckFlag(HInstruction::kFlexibleRepresentation)) {
151 if (current->CheckFlag(HInstruction::kCannotBeTagged)) {
hydrogen-mark-deoptimize.cc 48 for (HInstruction* current = block->first(); current != NULL; ) {
49 HInstruction* next = current->next();
hydrogen-gvn.h 18 // the GVNFlags of an HInstruction. These special side effects are tracked by a
66 SideEffects ComputeChanges(HInstruction* instr);
67 SideEffects ComputeDependsOn(HInstruction* instr);
116 bool ShouldMove(HInstruction* instr, HBasicBlock* loop_header);
hydrogen-environment-liveness.h 34 void UpdateLivenessAtInstruction(HInstruction* instr, BitVector* live);
hydrogen-gvn.cc 28 void Add(HInstruction* instr, Zone* zone) {
33 HInstruction* Lookup(HInstruction* instr) const;
42 // A linked list of HInstruction* values. Stored in arrays.
44 HInstruction* instr;
56 void Insert(HInstruction* instr, Zone* zone);
81 void Store(SideEffects side_effects, HInstruction* instr);
85 inline HInstruction* operator[](int i) const {
90 inline HInstruction* at(int i) const { return operator[](i); }
94 HInstruction* data_[kNumberOfTrackedSideEffects]
    [all...]
hydrogen-representation-changes.cc 14 HInstruction* next = NULL;
18 next = HInstruction::cast(use_value);
24 HInstruction* new_value = NULL;
195 for (HInstruction* current = block->first(); current != NULL; ) {
196 HInstruction* next = current->next();
hydrogen.h 45 HInstruction* first() const { return first_; }
46 HInstruction* last() const { return last_; }
47 void set_last(HInstruction* instr) { last_ = instr; }
90 void AddInstruction(HInstruction* instr, HSourcePosition position);
192 HInstruction* first_;
193 HInstruction* last_;
240 inline HInstruction* Current() { return instr_; }
247 HInstruction* instr_;
248 HInstruction* next_;
440 ZoneList<HInstruction*>* uint32_instructions()
    [all...]
  /art/compiler/optimizing/
ssa_phi_elimination.cc 31 for (HUseIterator<HInstruction> it(phi->GetUses()); !it.Done(); it.Advance()) {
32 HUseListNode<HInstruction>* current = it.Current();
33 HInstruction* user = current->GetUser();
48 HInstruction* input = it.Current();
60 HInstruction* current = block->GetFirstPhi();
61 HInstruction* next = nullptr;
90 HInstruction* candidate = phi->InputAt(0);
95 HInstruction* input = phi->InputAt(i);
113 for (HUseIterator<HInstruction> it(phi->GetUses()); !it.Done(); it.Advance()) {
114 HUseListNode<HInstruction>* current = it.Current()
    [all...]
nodes.h 31 class HInstruction;
56 void AddInstruction(HInstruction* instruction);
57 void RemoveInstruction(HInstruction* instruction);
60 HInstruction* first_instruction_;
61 HInstruction* last_instruction_;
184 // The current id to assign to a newly added instruction. See HInstruction.id_.
302 HInstruction* GetFirstInstruction() const { return instructions_.first_instruction_; }
303 HInstruction* GetLastInstruction() const { return instructions_.last_instruction_; }
306 HInstruction* GetFirstPhi() const { return phis_.first_instruction_; }
352 void AddInstruction(HInstruction* instruction)
    [all...]
locations.cc 23 LocationSummary::LocationSummary(HInstruction* instruction)
33 Location Location::RegisterOrConstant(HInstruction* instruction) {
ssa_builder.h 38 GrowableArray<HInstruction*>* GetLocalsFor(HBasicBlock* block) {
48 HInstruction* ValueOfLocal(HBasicBlock* block, size_t local);
53 void VisitInstruction(HInstruction* instruction);
57 GrowableArray<HInstruction*>* current_locals_;
ssa_builder.cc 38 HInstruction* input = ValueOfLocal(block->GetPredecessors().Get(pred), phi->GetRegNumber());
53 HInstruction* current = it.Current();
60 HInstruction* SsaBuilder::ValueOfLocal(HBasicBlock* block, size_t local) {
73 HInstruction* incoming = ValueOfLocal(block->GetLoopInformation()->GetPreHeader(), local);
90 HInstruction* value = ValueOfLocal(block->GetPredecessors().Get(0), local);
93 HInstruction* current = ValueOfLocal(block->GetPredecessors().Get(i), local);
112 HInstruction* value = ValueOfLocal(block->GetPredecessors().Get(i), local);
142 void SsaBuilder::VisitInstruction(HInstruction* instruction) {
pretty_printer.h 29 void PrintPreInstruction(HInstruction* instruction) {
35 virtual void VisitInstruction(HInstruction* instruction) {
41 void PrintPostInstruction(HInstruction* instruction) {
58 for (HUseIterator<HInstruction> it(instruction->GetUses()); !it.Done(); it.Advance()) {
ssa_liveness_analysis.cc 109 HInstruction* current = it.Current();
126 HInstruction* current = it.Current();
180 HInstruction* phi = it.Current();
181 HInstruction* input = phi->InputAt(phi_input_index);
191 HInstruction* current = instructions_from_ssa_index_.Get(idx);
196 HInstruction* current = it.Current();
206 HInstruction* input = current->InputAt(i);
217 GrowableArray<HInstruction*>* environment = current->GetEnvironment()->GetVRegs();
219 HInstruction* instruction = environment->Get(i);
231 HInstruction* current = it.Current()
    [all...]
nodes.cc 291 void HBasicBlock::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) {
312 HInstruction* instruction) {
320 void HBasicBlock::AddInstruction(HInstruction* instruction) {
330 HInstruction* instruction) {
342 void HBasicBlock::RemoveInstruction(HInstruction* instruction) {
350 void HInstruction::RemoveUser(HInstruction* user, size_t input_index) {
351 HUseListNode<HInstruction>* previous = nullptr;
352 HUseListNode<HInstruction>* current = uses_
    [all...]
builder.cc 39 * converting a DEX instruction to multiple HInstruction, and where those
49 void Add(HInstruction* instruction) {
53 HInstruction* temp = new (graph_->GetArena()) HTemporary(index_++);
141 HInstruction* first = LoadLocal(instruction.VRegA(), Primitive::kPrimInt);
142 HInstruction* second = LoadLocal(instruction.VRegB(), Primitive::kPrimInt);
145 HInstruction* ifinst = new (arena_) HIf(comparison);
158 HInstruction* value = LoadLocal(instruction.VRegA(), Primitive::kPrimInt);
161 HInstruction* ifinst = new (arena_) HIf(comparison);
274 HInstruction* first = LoadLocal(instruction.VRegB(), type);
275 HInstruction* second = LoadLocal(instruction.VRegC(), type)
    [all...]
register_allocator.h 29 class HInstruction;
112 void InsertMoveAfter(HInstruction* instruction, Location source, Location destination) const;
113 void AddInputMoveFor(HInstruction* instruction, Location source, Location destination) const;
code_generator.h 94 virtual void Move(HInstruction* instruction, Location location, HInstruction* move_for) = 0;
154 void AllocateRegistersLocally(HInstruction* instruction) const;
171 void InitLocations(HInstruction* instruction);
register_allocator.cc 56 HInstruction* current = it.Current();
116 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i - 1);
209 HInstruction* instruction = liveness_.GetInstructionFromSsaIndex(i);
247 HInstruction* defined_by = current->GetParent()->GetDefinedBy();
575 HInstruction* defined_by = parent->GetDefinedBy();
652 HInstruction* defined_by = interval->GetParent()->GetDefinedBy();
671 static bool IsInputMove(HInstruction* instruction) {
675 void RegisterAllocator::AddInputMoveFor(HInstruction* instruction,
682 HInstruction* previous = instruction->GetPrevious();
702 HInstruction* at = liveness_.GetInstructionFromPosition(position / 2)
    [all...]
ssa_liveness_analysis.h 92 UsePosition(HInstruction* user,
110 HInstruction* GetUser() const { return user_; }
121 HInstruction* const user_;
136 LiveInterval(ArenaAllocator* allocator, Primitive::Type type, HInstruction* defined_by = nullptr)
158 void AddUse(HInstruction* instruction, size_t input_index, bool is_environment) {
183 void AddPhiUse(HInstruction* instruction, size_t input_index, HBasicBlock* block) {
333 HInstruction* GetDefinedBy() const {
459 HInstruction* const defined_by_;
498 HInstruction* GetInstructionFromSsaIndex(size_t index) const {
502 HInstruction* GetInstructionFromPosition(size_t index) const
    [all...]
builder.h 54 // Analyzes the dex instruction and adds HInstruction to the graph
71 void UpdateLocal(int register_index, HInstruction* instruction) const;
72 HInstruction* LoadLocal(int register_index, Primitive::Type type) const;

Completed in 635 milliseconds

1 2 3