Home
last modified time | relevance | path

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

/external/v8/src/compiler/backend/
Dcode-generator-impl.h25 : gen_(gen), instr_(instr) {} in InstructionOperandConverter()
30 return ToRegister(instr_->InputAt(index)); in InputRegister()
34 return ToFloatRegister(instr_->InputAt(index)); in InputFloatRegister()
38 return ToDoubleRegister(instr_->InputAt(index)); in InputDoubleRegister()
42 return ToSimd128Register(instr_->InputAt(index)); in InputSimd128Register()
45 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble()
47 float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); } in InputFloat32()
50 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
58 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64()
90 return ToExternalReference(instr_->InputAt(index)); in InputExternalReference()
[all …]
Dcode-generator.h44 : instr_(instr), pos_(pos) {} in InstructionOperandIterator()
46 Instruction* instruction() const { return instr_; } in instruction()
47 InstructionOperand* Advance() { return instr_->InputAt(pos_++); } in Advance()
50 Instruction* instr_;
Dinstruction-scheduler.h74 Instruction* instruction() { return instr_; } in instruction()
85 Instruction* instr_;
Dinstruction-scheduler.cc62 : instr_(instr), in ScheduleGraphNode()
/external/v8/src/execution/mips64/
Dsimulator-mips64.cc2194 int32_t func = instr_.FunctionFieldRaw(); in SoftwareInterrupt()
2195 uint32_t code = (func == BREAK) ? instr_.Bits(25, 6) : -1; in SoftwareInterrupt()
2197 if (instr_.InstructionBits() == rtCallRedirInstr) { in SoftwareInterrupt()
2198 Redirection* redirection = Redirection::FromInstruction(instr_.instr()); in SoftwareInterrupt()
2405 HandleStop(code, instr_.instr()); in SoftwareInterrupt()
2640 cc = instr_.FCccValue(); in DecodeTypeRegisterSRsType()
2642 switch (instr_.FunctionFieldRaw()) { in DecodeTypeRegisterSRsType()
2991 if (instr_.Bit(16)) { // Read Tf bit. in DecodeTypeRegisterSRsType()
3011 ft = (instr_.FunctionFieldRaw() != MOVF) ? get_fpu_register_double(ft_reg()) in DecodeTypeRegisterDRsType()
3014 cc = instr_.FCccValue(); in DecodeTypeRegisterDRsType()
[all …]
Dsimulator-mips64.h79 inline Instruction* instr() const { return instr_; } in instr()
83 SimInstructionBase() : operand_(-1), instr_(nullptr), type_(kUnsupported) {} in SimInstructionBase()
87 Instruction* instr_; variable
102 instr_ = instr;
430 SimInstruction instr_; variable
473 inline int32_t rs_reg() const { return instr_.RsValue(); } in rs_reg()
478 inline int32_t rt_reg() const { return instr_.RtValue(); } in rt_reg()
483 inline int32_t rd_reg() const { return instr_.RdValue(); } in rd_reg()
484 inline int32_t fr_reg() const { return instr_.FrValue(); } in fr_reg()
485 inline int32_t fs_reg() const { return instr_.FsValue(); } in fs_reg()
[all …]
/external/v8/src/execution/mips/
Dsimulator-mips.h79 inline Instruction* instr() const { return instr_; } in instr()
83 SimInstructionBase() : operand_(-1), instr_(nullptr), type_(kUnsupported) {} in SimInstructionBase()
87 Instruction* instr_; variable
102 instr_ = instr;
416 SimInstruction instr_; variable
460 inline int32_t rs_reg() const { return instr_.RsValue(); } in rs_reg()
465 inline int32_t rt_reg() const { return instr_.RtValue(); } in rt_reg()
470 inline int32_t rd_reg() const { return instr_.RdValue(); } in rd_reg()
471 inline int32_t fr_reg() const { return instr_.FrValue(); } in fr_reg()
472 inline int32_t fs_reg() const { return instr_.FsValue(); } in fs_reg()
[all …]
Dsimulator-mips.cc2188 int32_t func = instr_.FunctionFieldRaw(); in SoftwareInterrupt()
2189 uint32_t code = (func == BREAK) ? instr_.Bits(25, 6) : -1; in SoftwareInterrupt()
2192 if (instr_.InstructionBits() == rtCallRedirInstr) { in SoftwareInterrupt()
2193 Redirection* redirection = Redirection::FromInstruction(instr_.instr()); in SoftwareInterrupt()
2411 HandleStop(code, instr_.instr()); in SoftwareInterrupt()
2643 ft = (instr_.FunctionFieldRaw() != MOVF) ? get_fpu_register_double(ft_reg()) in DecodeTypeRegisterDRsType()
2648 cc = instr_.FCccValue(); in DecodeTypeRegisterDRsType()
2650 switch (instr_.FunctionFieldRaw()) { in DecodeTypeRegisterDRsType()
2709 int32_t rt_reg = instr_.RtValue(); in DecodeTypeRegisterDRsType()
2720 if (instr_.Bit(16)) { // Read Tf bit. in DecodeTypeRegisterDRsType()
[all …]
/external/v8/src/compiler/backend/arm64/
Dcode-generator-arm64.cc43 if (instr_->InputAt(index)->IsImmediate()) { in InputFloat32OrZeroRegister()
47 DCHECK(instr_->InputAt(index)->IsFPRegister()); in InputFloat32OrZeroRegister()
52 if (instr_->InputAt(index)->IsImmediate()) { in InputFloat64OrZeroRegister()
56 DCHECK(instr_->InputAt(index)->IsDoubleRegister()); in InputFloat64OrZeroRegister()
60 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
69 return ToRegister(instr_->InputAt(index)).W(); in InputRegister32()
73 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister32()
74 (instr_->InputAt(index)->IsImmediate() && (InputInt32(index) == 0))); in InputOrZeroRegister32()
75 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister32()
84 DCHECK(instr_->InputAt(index)->IsRegister() || in InputOrZeroRegister64()
[all …]
/external/v8/src/compiler/
Dgraph-visualizer.h193 const Instruction* instr_; member
Dgraph-visualizer.cc1220 const Instruction* instr = i_json.instr_; in operator <<()
1348 json_instr.instr_ = code->InstructionAt(j); in operator <<()
/external/v8/src/compiler/backend/ia32/
Dcode-generator-ia32.cc38 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
42 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
45 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
113 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
122 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
142 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
160 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
164 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
183 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in NextMemoryOperand()
191 Constant ctant = ToConstant(instr_->InputAt(NextOffset(&offset))); in NextMemoryOperand()
[all …]
/external/v8/src/compiler/backend/mips/
Dcode-generator-mips.cc39 return ToSingleRegister(instr_->OutputAt(index)); in OutputSingleRegister()
43 return ToSingleRegister(instr_->InputAt(index)); in InputSingleRegister()
53 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister()
61 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroDoubleRegister()
67 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroSingleRegister()
73 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
99 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
108 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
3675 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
3678 MipsOperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/backend/mips64/
Dcode-generator-mips64.cc40 return ToSingleRegister(instr_->OutputAt(index)); in OutputSingleRegister()
44 return ToSingleRegister(instr_->InputAt(index)); in InputSingleRegister()
54 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister()
62 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroDoubleRegister()
68 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroSingleRegister()
74 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
101 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
110 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
3945 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
3947 MipsOperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/backend/s390/
Dcode-generator-s390.cc32 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
35 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand()
40 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand()
45 switch (instr_->flags_condition()) { in CompareLogical()
58 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
85 if (mode) *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
86 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
123 InstructionOperand* op = instr_->InputAt(index); in InputStackSlot()
4432 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
4435 S390OperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/backend/arm/
Dcode-generator-arm.cc33 switch (instr_->flags_mode()) { in OutputSBit()
48 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
53 switch (AddressingModeField::decode(instr_->opcode())) { in InputOperand2()
85 switch (AddressingModeField::decode(instr_->opcode())) { in InputOffset()
159 switch (AddressingModeField::decode(instr_->opcode())) { in NeonInputOperand()
3532 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
3535 ArmOperandConverter i(gen_, instr_); in AssembleArchTrap()
3537 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
3558 gen_->AssembleSourcePosition(instr_); in AssembleArchTrap()
3572 Instruction* instr_; in AssembleArchTrap() member in v8::internal::compiler::CodeGenerator::AssembleArchTrap::OutOfLineTrap
/external/v8/src/compiler/backend/ppc/
Dcode-generator-ppc.cc33 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
36 switch (instr_->flags_mode()) { in OutputRCBit()
51 switch (instr_->flags_condition()) { in CompareLogical()
64 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
91 AddressingMode addr_mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
3500 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
3503 PPCOperandConverter i(gen_, instr_); in AssembleArchTrap()
3505 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
3526 gen_->AssembleSourcePosition(instr_); in AssembleArchTrap()
3540 Instruction* instr_; in AssembleArchTrap() member in v8::internal::compiler::CodeGenerator::AssembleArchTrap::OutOfLineTrap
/external/v8/src/compiler/backend/x64/
Dcode-generator-x64.cc34 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
38 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
41 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
83 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
303 : OutOfLineCode(gen), gen_(gen), instr_(instr) {} in WasmOutOfLineTrap()
306 X64OperandConverter i(gen_, instr_); in Generate()
308 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in Generate()
332 gen_->AssembleSourcePosition(instr_); in GenerateCallToTrap()
344 Instruction* instr_; member in v8::internal::compiler::__anon4dff44d40111::WasmOutOfLineTrap