Home
last modified time | relevance | path

Searched refs:instr_ (Results 1 – 25 of 26) sorted by relevance

12

/external/v8/src/compiler/
Dcode-generator-impl.h26 : gen_(gen), instr_(instr) {} in InstructionOperandConverter()
31 return ToRegister(instr_->InputAt(index)); in InputRegister()
35 return ToDoubleRegister(instr_->InputAt(index)); in InputDoubleRegister()
38 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble()
40 float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); } in InputFloat32()
43 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
47 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64()
67 return ToExternalReference(instr_->InputAt(index)); in InputExternalReference()
71 return ToHeapObject(instr_->InputAt(index)); in InputHeapObject()
74 Label* InputLabel(size_t index) { return ToLabel(instr_->InputAt(index)); } in InputLabel()
[all …]
Dcode-generator.h34 : instr_(instr), pos_(pos) {} in InstructionOperandIterator()
36 Instruction* instruction() const { return instr_; } in instruction()
37 InstructionOperand* Advance() { return instr_->InputAt(pos_++); } in Advance()
40 Instruction* instr_;
Dinstruction-scheduler.h61 Instruction* instruction() { return instr_; } in instruction()
72 Instruction* instr_;
Dinstruction-scheduler.cc16 : instr_(instr), in ScheduleGraphNode()
Dinstruction.cc304 wrapper.instr_ = this; in Print()
455 const Instruction& instr = *printable.instr_; in operator <<()
943 printable_instr.instr_ = code.InstructionAt(j); in operator <<()
Dinstruction.h842 const Instruction* instr_; member
/external/v8/src/crankshaft/
Dlithium-inl.h34 : instr_(instr), limit_(instr->TempCount()), current_(0) { in TempIterator()
44 return instr_->TempAt(current_); in Current()
49 while (current_ < limit_ && instr_->TempAt(current_) == NULL) ++current_; in SkipUninteresting()
60 : instr_(instr), limit_(instr->InputCount()), current_(0) { in InputIterator()
70 DCHECK(instr_->InputAt(current_) != NULL); in Current()
71 return instr_->InputAt(current_); in Current()
83 LOperand* current = instr_->InputAt(current_); in SkipUninteresting()
Dlithium.h801 LInstruction* instr_; variable
817 LInstruction* instr_; variable
Dhydrogen.h233 : instr_(block->first()) { in HInstructionIterator()
234 next_ = Done() ? NULL : instr_->next(); in HInstructionIterator()
237 inline bool Done() const { return instr_ == NULL; } in Done()
238 inline HInstruction* Current() { return instr_; } in Current()
240 instr_ = next_; in Advance()
241 next_ = Done() ? NULL : instr_->next(); in Advance()
245 HInstruction* instr_;
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc36 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
43 return ToRegister(instr_->InputAt(index)).W(); in InputRegister32()
47 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister32()
48 (instr_->InputAt(index)->IsImmediate() && (InputInt32(index) == 0))); in InputOrZeroRegister32()
49 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister32()
58 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister64()
59 (instr_->InputAt(index)->IsImmediate() && (InputInt64(index) == 0))); in InputOrZeroRegister64()
60 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister64()
67 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
71 return ToOperand(instr_->InputAt(index)); in InputOperand()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc3435 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3437 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3439 LInstruction* instr() override { return instr_; } in DoMathAbs()
3442 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4253 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4254 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4255 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4258 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4409 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4410 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc3429 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3431 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3433 LInstruction* instr() override { return instr_; } in DoMathAbs()
3436 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4148 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4149 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4150 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4153 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4302 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4303 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc3367 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3369 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3371 LInstruction* instr() override { return instr_; } in DoMathAbs()
3374 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4125 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4126 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4127 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4130 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4280 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4281 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc3350 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3352 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3354 LInstruction* instr() override { return instr_; } in DoMathAbs()
3357 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4065 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4066 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4067 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4070 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4194 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4195 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc3631 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
3633 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoShiftI()
3635 LInstruction* instr() override { return instr_; } in DoShiftI()
3638 LMathAbs* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4420 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4421 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoShiftI()
4422 LInstruction* instr() override { return instr_; } in DoShiftI()
4425 LMaybeGrowElements* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4570 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4571 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoShiftI()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc1448 : LDeferredCode(codegen), instr_(instr) { } in DoAllocate()
1449 virtual void Generate() { codegen()->DoDeferredAllocate(instr_); } in DoAllocate()
1450 virtual LInstruction* instr() { return instr_; } in DoAllocate()
1452 LAllocate* instr_; in DoAllocate() member in v8::internal::LCodeGen::DoAllocate::DeferredAllocate
2046 : LDeferredCode(codegen), instr_(instr), object_(object) { in DoCheckMaps()
2050 codegen()->DoDeferredInstanceMigration(instr_, object_); in DoCheckMaps()
2053 virtual LInstruction* instr() { return instr_; } in DoCheckMaps()
2055 LCheckMaps* instr_; in DoCheckMaps() member in v8::internal::LCodeGen::DoCheckMaps::DeferredCheckMaps
3515 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbsTagged()
3517 codegen()->DoDeferredMathAbsTagged(instr_, exit(), in DoMathAbsTagged()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc3622 : LDeferredCode(codegen, x87_stack), instr_(instr) { } in DoMathAbs()
3624 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3626 LInstruction* instr() override { return instr_; } in DoMathAbs()
3629 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4470 : LDeferredCode(codegen, x87_stack), instr_(instr) {} in DoMaybeGrowElements()
4471 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4472 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4475 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4599 : LDeferredCode(codegen, x87_stack), instr_(instr) { } in DoStringCharCodeAt()
4600 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc3567 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3569 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3571 LInstruction* instr() override { return instr_; } in DoMathAbs()
3574 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4359 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4360 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4361 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4364 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4514 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4515 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc31 return ToFloat32Register(instr_->OutputAt(index)); in OutputFloat32Register()
35 return ToFloat32Register(instr_->InputAt(index)); in InputFloat32Register()
43 return ToFloat64Register(instr_->OutputAt(index)); in OutputFloat64Register()
47 return ToFloat64Register(instr_->InputAt(index)); in InputFloat64Register()
55 switch (instr_->flags_mode()) { in OutputSBit()
67 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
89 switch (AddressingModeField::decode(instr_->opcode())) { in InputOperand2()
121 switch (AddressingModeField::decode(instr_->opcode())) { in InputOffset()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc44 return ToSingleRegister(instr_->OutputAt(index)); in OutputSingleRegister()
48 return ToSingleRegister(instr_->InputAt(index)); in InputSingleRegister()
58 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroDoubleRegister()
64 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroSingleRegister()
70 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
95 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
104 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc43 return ToSingleRegister(instr_->OutputAt(index)); in OutputSingleRegister()
47 return ToSingleRegister(instr_->InputAt(index)); in InputSingleRegister()
57 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroDoubleRegister()
63 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroSingleRegister()
69 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
95 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
104 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc30 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
33 switch (instr_->flags_mode()) { in OutputRCBit()
45 switch (instr_->flags_condition()) { in CompareLogical()
59 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
84 *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc33 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
37 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
40 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
109 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc32 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
36 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
39 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
75 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc30 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
34 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
37 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
103 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()

12