Home
last modified time | relevance | path

Searched refs:ImmediateOperand (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/compiler/
Dinstruction.h372 class ImmediateOperand : public InstructionOperand {
376 explicit ImmediateOperand(ImmediateType type, int32_t value) in ImmediateOperand() function
394 static ImmediateOperand* New(Zone* zone, ImmediateType type, int32_t value) { in New()
395 return InstructionOperand::New(zone, ImmediateOperand(type, value)); in New()
398 INSTRUCTION_OPERAND_CASTS(ImmediateOperand, IMMEDIATE);
1393 ImmediateOperand AddImmediate(const Constant& constant) { in AddImmediate()
1396 return ImmediateOperand(ImmediateOperand::INLINE, constant.ToInt32()); in AddImmediate()
1400 return ImmediateOperand(ImmediateOperand::INDEXED, index); in AddImmediate()
1403 Constant GetImmediate(const ImmediateOperand* op) const { in GetImmediate()
1405 case ImmediateOperand::INLINE: in GetImmediate()
[all …]
Dregister-allocator-verifier.cc152 const ImmediateOperand* imm = ImmediateOperand::cast(op); in BuildConstraint()
153 int value = imm->type() == ImmediateOperand::INLINE ? imm->inline_value() in BuildConstraint()
216 const ImmediateOperand* imm = ImmediateOperand::cast(op); in CheckConstraint()
217 int value = imm->type() == ImmediateOperand::INLINE in CheckConstraint()
Dinstruction.cc122 ImmediateOperand imm = ImmediateOperand::cast(op); in operator <<()
124 case ImmediateOperand::INLINE: in operator <<()
126 case ImmediateOperand::INDEXED: in operator <<()
853 ? GetImmediate(ImmediateOperand::cast(operand)) in InputRpo()
Dcode-generator-impl.h128 return gen_->code()->GetImmediate(ImmediateOperand::cast(op)); in ToConstant()
/external/v8/test/unittests/compiler/
Dinstruction-selector-unittest.h261 auto imm = ImmediateOperand::cast(operand); in ToConstant()
262 if (imm->type() == ImmediateOperand::INLINE) { in ToConstant()
Dinstruction-sequence-unittest.cc371 return ImmediateOperand(ImmediateOperand::INLINE, op.value_); in ConvertInputOp()
Dinstruction-selector-unittest.cc84 auto imm = ImmediateOperand::cast(input); in Build()
85 if (imm->type() == ImmediateOperand::INDEXED) { in Build()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc683 inputs[input_count++] = ImmediateOperand(ImmediateOperand::INLINE, 4); in VisitWord64Sar()
685 ImmediateOperand* op = ImmediateOperand::cast(&inputs[input_count - 1]); in VisitWord64Sar()
687 *op = ImmediateOperand(ImmediateOperand::INLINE, displacement + 4); in VisitWord64Sar()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc738 ImmediateOperand(ImmediateOperand::INLINE, 0), in VisitBitcastInt32ToFloat32()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc1138 ImmediateOperand(ImmediateOperand::INLINE, 0), in VisitBitcastInt32ToFloat32()