Home
last modified time | relevance | path

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

/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()
43 return ToSimd128Register(instr_->InputAt(index)); in InputSimd128Register()
46 double InputDouble(size_t index) { return ToDouble(instr_->InputAt(index)); } in InputDouble()
48 float InputFloat32(size_t index) { return ToFloat32(instr_->InputAt(index)); } in InputFloat32()
51 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
59 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64()
87 return ToExternalReference(instr_->InputAt(index)); in InputExternalReference()
[all …]
Dcode-generator.h43 : instr_(instr), pos_(pos) {} in InstructionOperandIterator()
45 Instruction* instruction() const { return instr_; } in instruction()
46 InstructionOperand* Advance() { return instr_->InputAt(pos_++); } in Advance()
49 Instruction* instr_;
Dinstruction-scheduler.h64 Instruction* instruction() { return instr_; } in instruction()
75 Instruction* instr_;
Dinstruction.cc373 wrapper.instr_ = this; in Print()
524 const Instruction& instr = *printable.instr_; in operator <<()
732 printable_instr.instr_ = code->InstructionAt(j); in operator <<()
Dinstruction-scheduler.cc66 : instr_(instr), in ScheduleGraphNode()
Dinstruction.h992 const Instruction* instr_; member
/external/v8/src/mips64/
Dsimulator-mips64.cc2161 int32_t func = instr_.FunctionFieldRaw(); in SoftwareInterrupt()
2162 uint32_t code = (func == BREAK) ? instr_.Bits(25, 6) : -1; in SoftwareInterrupt()
2164 if (instr_.InstructionBits() == rtCallRedirInstr) { in SoftwareInterrupt()
2165 Redirection* redirection = Redirection::FromInstruction(instr_.instr()); in SoftwareInterrupt()
2373 HandleStop(code, instr_.instr()); in SoftwareInterrupt()
2618 cc = instr_.FCccValue(); in DecodeTypeRegisterSRsType()
2620 switch (instr_.FunctionFieldRaw()) { in DecodeTypeRegisterSRsType()
2969 if (instr_.Bit(16)) { // Read Tf bit. in DecodeTypeRegisterSRsType()
2990 ft = (instr_.FunctionFieldRaw() != MOVF) ? get_fpu_register_double(ft_reg()) in DecodeTypeRegisterDRsType()
2993 cc = instr_.FCccValue(); in DecodeTypeRegisterDRsType()
[all …]
Dsimulator-mips64.h64 inline Instruction* instr() const { return instr_; } in instr()
68 SimInstructionBase() : operand_(-1), instr_(nullptr), type_(kUnsupported) {} in SimInstructionBase()
72 Instruction* instr_; variable
87 instr_ = instr;
363 SimInstruction instr_; variable
407 inline int32_t rs_reg() const { return instr_.RsValue(); } in rs_reg()
412 inline int32_t rt_reg() const { return instr_.RtValue(); } in rt_reg()
417 inline int32_t rd_reg() const { return instr_.RdValue(); } in rd_reg()
418 inline int32_t fr_reg() const { return instr_.FrValue(); } in fr_reg()
419 inline int32_t fs_reg() const { return instr_.FsValue(); } in fs_reg()
[all …]
/external/v8/src/mips/
Dsimulator-mips.h64 inline Instruction* instr() const { return instr_; } in instr()
68 SimInstructionBase() : operand_(-1), instr_(nullptr), type_(kUnsupported) {} in SimInstructionBase()
72 Instruction* instr_; variable
87 instr_ = instr;
351 SimInstruction instr_; variable
395 inline int32_t rs_reg() const { return instr_.RsValue(); } in rs_reg()
400 inline int32_t rt_reg() const { return instr_.RtValue(); } in rt_reg()
405 inline int32_t rd_reg() const { return instr_.RdValue(); } in rd_reg()
406 inline int32_t fr_reg() const { return instr_.FrValue(); } in fr_reg()
407 inline int32_t fs_reg() const { return instr_.FsValue(); } in fs_reg()
[all …]
Dsimulator-mips.cc2206 int32_t func = instr_.FunctionFieldRaw(); in SoftwareInterrupt()
2207 uint32_t code = (func == BREAK) ? instr_.Bits(25, 6) : -1; in SoftwareInterrupt()
2210 if (instr_.InstructionBits() == rtCallRedirInstr) { in SoftwareInterrupt()
2211 Redirection* redirection = Redirection::FromInstruction(instr_.instr()); in SoftwareInterrupt()
2430 HandleStop(code, instr_.instr()); in SoftwareInterrupt()
2670 ft = (instr_.FunctionFieldRaw() != MOVF) ? get_fpu_register_double(ft_reg()) in DecodeTypeRegisterDRsType()
2675 cc = instr_.FCccValue(); in DecodeTypeRegisterDRsType()
2677 switch (instr_.FunctionFieldRaw()) { in DecodeTypeRegisterDRsType()
2736 int32_t rt_reg = instr_.RtValue(); in DecodeTypeRegisterDRsType()
2747 if (instr_.Bit(16)) { // Read Tf bit. in DecodeTypeRegisterDRsType()
[all …]
/external/v8/src/compiler/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/s390/
Dcode-generator-s390.cc31 size_t OutputCount() { return instr_->OutputCount(); } in OutputCount()
34 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand()
39 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand()
44 switch (instr_->flags_condition()) { in CompareLogical()
57 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
79 if (mode) *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
80 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
117 InstructionOperand* op = instr_->InputAt(index); in InputStackSlot()
2803 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
2806 S390OperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/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()
86 *mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
2146 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
2149 PPCOperandConverter i(gen_, instr_); in AssembleArchTrap()
2151 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2172 gen_->AssembleSourcePosition(instr_); in AssembleArchTrap()
2186 Instruction* instr_; in AssembleArchTrap() member in v8::internal::compiler::CodeGenerator::AssembleArchTrap::OutOfLineTrap
/external/v8/src/compiler/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()
95 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
104 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
2952 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
2955 MipsOperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/mips64/
Dcode-generator-mips64.cc41 return ToSingleRegister(instr_->OutputAt(index)); in OutputSingleRegister()
45 return ToSingleRegister(instr_->InputAt(index)); in InputSingleRegister()
55 if (instr_->InputAt(index)->IsImmediate()) { in InputOrZeroRegister()
63 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroDoubleRegister()
69 if (instr_->InputAt(index)->IsImmediate()) return kDoubleRegZero; in InputOrZeroSingleRegister()
75 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
98 InstructionOperand* op = instr_->InputAt(index); in InputOperand()
107 switch (AddressingModeField::decode(instr_->opcode())) { in MemoryOperand()
3191 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
3193 MipsOperandConverter i(gen_, instr_); in AssembleArchTrap()
[all …]
/external/v8/src/compiler/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()
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()
173 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in NextMemoryOperand()
181 Constant ctant = ToConstant(instr_->InputAt(NextOffset(&offset))); in NextMemoryOperand()
[all …]
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc32 switch (instr_->flags_mode()) { in OutputSBit()
47 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
52 switch (AddressingModeField::decode(instr_->opcode())) { in InputOperand2()
83 switch (AddressingModeField::decode(instr_->opcode())) { in InputOffset()
150 switch (AddressingModeField::decode(instr_->opcode())) { in NeonInputOperand()
2894 : OutOfLineCode(gen), instr_(instr), gen_(gen) {} in AssembleArchTrap()
2897 ArmOperandConverter i(gen_, instr_); in AssembleArchTrap()
2899 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in AssembleArchTrap()
2920 gen_->AssembleSourcePosition(instr_); in AssembleArchTrap()
2934 Instruction* instr_; in AssembleArchTrap() member in v8::internal::compiler::CodeGenerator::AssembleArchTrap::OutOfLineTrap
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc33 return ToImmediate(instr_->InputAt(index)); in InputImmediate()
37 return ToOperand(instr_->InputAt(index), extra); in InputOperand()
40 Operand OutputOperand() { return ToOperand(instr_->Output()); } in OutputOperand()
82 AddressingMode mode = AddressingModeField::decode(instr_->opcode()); in MemoryOperand()
276 : OutOfLineCode(gen), gen_(gen), instr_(instr) {} in WasmOutOfLineTrap()
279 X64OperandConverter i(gen_, instr_); in Generate()
281 static_cast<TrapId>(i.InputInt32(instr_->InputCount() - 1)); in Generate()
304 gen_->AssembleSourcePosition(instr_); in GenerateCallToTrap()
316 Instruction* instr_; member in v8::internal::compiler::__anonf3d38af20111::WasmOutOfLineTrap