Home
last modified time | relevance | path

Searched refs:instr_ (Results 1 – 25 of 28) 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 ToFloatRegister(instr_->InputAt(index)); in InputFloatRegister()
39 return ToDoubleRegister(instr_->InputAt(index)); in InputDoubleRegister()
42 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble()
44 float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); } in InputFloat32()
47 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
55 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64()
75 return ToExternalReference(instr_->InputAt(index)); in InputExternalReference()
79 return ToHeapObject(instr_->InputAt(index)); in InputHeapObject()
[all …]
Dcode-generator.h35 : instr_(instr), pos_(pos) {} in InstructionOperandIterator()
37 Instruction* instruction() const { return instr_; } in instruction()
38 InstructionOperand* Advance() { return instr_->InputAt(pos_++); } in Advance()
41 Instruction* instr_;
Dinstruction-scheduler.h61 Instruction* instruction() { return instr_; } in instruction()
72 Instruction* instr_;
Dinstruction.cc314 wrapper.instr_ = this; in Print()
459 const Instruction& instr = *printable.instr_; in operator <<()
925 printable_instr.instr_ = InstructionAt(j); in PrintBlock()
Dinstruction-scheduler.cc62 : instr_(instr), in ScheduleGraphNode()
/external/v8/src/crankshaft/
Dlithium-inl.h36 : instr_(instr), limit_(instr->TempCount()), current_(0) { in TempIterator()
46 return instr_->TempAt(current_); in Current()
51 while (current_ < limit_ && instr_->TempAt(current_) == NULL) ++current_; in SkipUninteresting()
62 : instr_(instr), limit_(instr->InputCount()), current_(0) { in InputIterator()
72 DCHECK(instr_->InputAt(current_) != NULL); in Current()
73 return instr_->InputAt(current_); in Current()
85 LOperand* current = instr_->InputAt(current_); in SkipUninteresting()
Dlithium.h817 LInstruction* instr_; variable
833 LInstruction* instr_; variable
Dhydrogen.h258 : instr_(block->first()) { in HInstructionIterator()
259 next_ = Done() ? NULL : instr_->next(); in HInstructionIterator()
262 inline bool Done() const { return instr_ == NULL; } in Done()
263 inline HInstruction* Current() { return instr_; } in Current()
265 instr_ = next_; in Advance()
266 next_ = Done() ? NULL : instr_->next(); in Advance()
270 HInstruction* instr_;
/external/v8/src/compiler/arm64/
Dcode-generator-arm64.cc37 if (instr_->InputAt(index)->IsImmediate()) { in InputFloat32OrZeroRegister()
41 DCHECK(instr_->InputAt(index)->IsFPRegister()); in InputFloat32OrZeroRegister()
46 if (instr_->InputAt(index)->IsImmediate()) { in InputFloat64OrZeroRegister()
50 DCHECK(instr_->InputAt(index)->IsDoubleRegister()); in InputFloat64OrZeroRegister()
54 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
61 return ToRegister(instr_->InputAt(index)).W(); in InputRegister32()
65 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister32()
66 (instr_->InputAt(index)->IsImmediate() && (InputInt32(index) == 0))); in InputOrZeroRegister32()
67 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister32()
76 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister64()
[all …]
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc3135 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3137 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3139 LInstruction* instr() override { return instr_; } in DoMathAbs()
3142 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
3911 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
3912 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
3913 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
3916 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4047 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4048 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc1392 : LDeferredCode(codegen), instr_(instr) { } in DoAllocate()
1393 virtual void Generate() { codegen()->DoDeferredAllocate(instr_); } in DoAllocate()
1394 virtual LInstruction* instr() { return instr_; } in DoAllocate()
1396 LAllocate* instr_; in DoAllocate() member in v8::internal::LCodeGen::DoAllocate::DeferredAllocate
2027 : LDeferredCode(codegen), instr_(instr), object_(object) { in DoCheckMaps()
2031 codegen()->DoDeferredInstanceMigration(instr_, object_); in DoCheckMaps()
2034 virtual LInstruction* instr() { return instr_; } in DoCheckMaps()
2036 LCheckMaps* instr_; in DoCheckMaps() member in v8::internal::LCodeGen::DoCheckMaps::DeferredCheckMaps
3489 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbsTagged()
3491 codegen()->DoDeferredMathAbsTagged(instr_, exit(), in DoMathAbsTagged()
[all …]
/external/v8/src/crankshaft/s390/
Dlithium-codegen-s390.cc3491 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
3493 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoShiftI()
3495 LInstruction* instr() override { return instr_; } in DoShiftI()
3498 LMathAbs* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4306 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4307 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoShiftI()
4308 LInstruction* instr() override { return instr_; } in DoShiftI()
4311 LMaybeGrowElements* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4458 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4459 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoShiftI()
[all …]
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc3277 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3279 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3281 LInstruction* instr() override { return instr_; } in DoMathAbs()
3284 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4040 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4041 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4042 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4045 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4201 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4202 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc3562 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
3564 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoShiftI()
3566 LInstruction* instr() override { return instr_; } in DoShiftI()
3569 LMathAbs* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4368 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4369 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoShiftI()
4370 LInstruction* instr() override { return instr_; } in DoShiftI()
4373 LMaybeGrowElements* instr_; in DoShiftI() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4526 : LDeferredCode(codegen), instr_(instr) {} in DoShiftI()
4527 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoShiftI()
[all …]
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc3373 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3375 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3377 LInstruction* instr() override { return instr_; } in DoMathAbs()
3380 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4094 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4095 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4096 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4099 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4255 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4256 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc3338 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3340 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3342 LInstruction* instr() override { return instr_; } in DoMathAbs()
3345 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4183 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4184 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4185 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4188 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4338 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4339 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc3412 : LDeferredCode(codegen, x87_stack), instr_(instr) { } in DoMathAbs()
3414 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3416 LInstruction* instr() override { return instr_; } in DoMathAbs()
3419 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4236 : LDeferredCode(codegen, x87_stack), instr_(instr) {} in DoMaybeGrowElements()
4237 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4238 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4241 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4372 : LDeferredCode(codegen, x87_stack), instr_(instr) { } in DoStringCharCodeAt()
4373 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc3475 : LDeferredCode(codegen), instr_(instr) { } in DoMathAbs()
3477 codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); in DoMathAbs()
3479 LInstruction* instr() override { return instr_; } in DoMathAbs()
3482 LMathAbs* instr_; in DoMathAbs() member in v8::internal::LCodeGen::DoMathAbs::DeferredMathAbsTaggedHeapNumber
4271 : LDeferredCode(codegen), instr_(instr) {} in DoMaybeGrowElements()
4272 void Generate() override { codegen()->DoDeferredMaybeGrowElements(instr_); } in DoMaybeGrowElements()
4273 LInstruction* instr() override { return instr_; } in DoMaybeGrowElements()
4276 LMaybeGrowElements* instr_; in DoMaybeGrowElements() member in v8::internal::LCodeGen::DoMaybeGrowElements::DeferredMaybeGrowElements
4432 : LDeferredCode(codegen), instr_(instr) { } in DoStringCharCodeAt()
4433 void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } in DoStringCharCodeAt()
[all …]
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc34 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
38 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
41 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
114 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
123 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
143 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
161 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
165 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
/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/x87/
Dcode-generator-x87.cc31 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
35 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
38 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
108 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
117 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
137 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
155 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
159 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); 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/s390/
Dcode-generator-s390.cc28 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
31 switch (instr_->flags_condition()) { in CompareLogical()
45 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
70 if (mode) *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
71 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()
46 switch (instr_->flags_condition()) { in CompareLogical()
60 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
85 *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc31 switch (instr_->flags_mode()) { in OutputSBit()
44 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
66 switch (AddressingModeField::decode(instr_->opcode())) { in InputOperand2()
98 switch (AddressingModeField::decode(instr_->opcode())) { in InputOffset()

12