Home
last modified time | relevance | path

Searched refs:OperandSize (Results 1 – 21 of 21) sorted by relevance

/external/v8/src/interpreter/
Dbytecode-traits.h18 static const OperandSize kUnscaledSize = OperandSize::kNone;
26 static const OperandSize kUnscaledSize = BaseSize; \
48 template <bool, OperandSize, OperandScale>
52 template <OperandSize size, OperandScale scale>
56 template <OperandSize size, OperandScale scale>
65 static const OperandSize kOperandSize = static_cast<OperandSize>(kSize);
83 static const OperandSize kSingleScaleOperandSizes[];
84 static const OperandSize kDoubleScaleOperandSizes[];
85 static const OperandSize kQuadrupleScaleOperandSizes[];
105 STATIC_CONST_MEMBER_DEFINITION const OperandSize
[all …]
Dbytecode-array-writer.cc118 const OperandSize* operand_sizes = in EmitBytecode()
122 case OperandSize::kNone: in EmitBytecode()
125 case OperandSize::kByte: in EmitBytecode()
128 case OperandSize::kShort: { in EmitBytecode()
135 case OperandSize::kQuad: { in EmitBytecode()
187 constant_array_builder()->DiscardReservedEntry(OperandSize::kByte); in PatchJumpWith8BitOperand()
194 OperandSize::kByte, Smi::FromInt(delta)); in PatchJumpWith8BitOperand()
196 OperandSize::kByte); in PatchJumpWith8BitOperand()
215 constant_array_builder()->DiscardReservedEntry(OperandSize::kShort); in PatchJumpWith16BitOperand()
222 OperandSize::kShort, Smi::FromInt(delta)); in PatchJumpWith16BitOperand()
[all …]
Dconstant-array-builder.cc22 Zone* zone, size_t start_index, size_t capacity, OperandSize operand_size) in ConstantArraySlice()
100 new (zone) ConstantArraySlice(zone, 0, k8BitCapacity, OperandSize::kByte); in ConstantArrayBuilder()
102 zone, k8BitCapacity, k16BitCapacity, OperandSize::kShort); in ConstantArrayBuilder()
104 zone, k8BitCapacity + k16BitCapacity, k32BitCapacity, OperandSize::kQuad); in ConstantArrayBuilder()
233 ConstantArrayBuilder::OperandSizeToSlice(OperandSize operand_size) const { in OperandSizeToSlice()
236 case OperandSize::kNone: in OperandSizeToSlice()
239 case OperandSize::kByte: in OperandSizeToSlice()
242 case OperandSize::kShort: in OperandSizeToSlice()
245 case OperandSize::kQuad: in OperandSizeToSlice()
262 OperandSize ConstantArrayBuilder::CreateReservedEntry() { in CreateReservedEntry()
[all …]
Dbytecode-operands.cc54 const char* OperandSizeToString(OperandSize operand_size) { in OperandSizeToString()
56 case OperandSize::kNone: in OperandSizeToString()
58 case OperandSize::kByte: in OperandSizeToString()
60 case OperandSize::kShort: in OperandSizeToString()
62 case OperandSize::kQuad: in OperandSizeToString()
75 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size) { in operator <<()
Dbytecode-operands.h74 enum class OperandSize : uint8_t { enum
85 V(None, false, false, OperandSize::kNone) \
86 V(ScalableSignedByte, true, false, OperandSize::kByte) \
87 V(ScalableUnsignedByte, true, true, OperandSize::kByte) \
88 V(FixedUnsignedByte, false, true, OperandSize::kByte) \
89 V(FixedUnsignedShort, false, true, OperandSize::kShort)
131 const OperandSize& operand_size);
Dbytecode-decoder.cc40 case OperandSize::kByte: in DecodeSignedOperand()
42 case OperandSize::kShort: in DecodeSignedOperand()
44 case OperandSize::kQuad: in DecodeSignedOperand()
46 case OperandSize::kNone: in DecodeSignedOperand()
58 case OperandSize::kByte: in DecodeUnsignedOperand()
60 case OperandSize::kShort: in DecodeUnsignedOperand()
62 case OperandSize::kQuad: in DecodeUnsignedOperand()
64 case OperandSize::kNone: in DecodeUnsignedOperand()
Dconstant-array-builder.h79 OperandSize CreateReservedEntry();
83 size_t CommitReservedEntry(OperandSize operand_size, Smi* value);
86 void DiscardReservedEntry(OperandSize operand_size);
149 OperandSize operand_size);
166 inline OperandSize operand_size() const { return operand_size_; } in operand_size()
172 OperandSize operand_size_;
179 ConstantArraySlice* OperandSizeToSlice(OperandSize operand_size) const;
Dinterpreter-assembler.cc251 DCHECK_EQ(OperandSize::kByte, Bytecodes::GetOperandSize( in BytecodeOperandUnsignedByte()
260 DCHECK_EQ(OperandSize::kByte, Bytecodes::GetOperandSize( in BytecodeOperandSignedByte()
321 OperandSize::kShort, in BytecodeOperandUnsignedShort()
336 OperandSize::kShort, in BytecodeOperandSignedShort()
350 DCHECK_EQ(OperandSize::kQuad, Bytecodes::GetOperandSize( in BytecodeOperandUnsignedQuad()
364 DCHECK_EQ(OperandSize::kQuad, Bytecodes::GetOperandSize( in BytecodeOperandSignedQuad()
377 OperandSize operand_size) { in BytecodeSignedOperand()
381 case OperandSize::kByte: in BytecodeSignedOperand()
383 case OperandSize::kShort: in BytecodeSignedOperand()
385 case OperandSize::kQuad: in BytecodeSignedOperand()
[all …]
Dbytecode-register.cc96 OperandSize Register::SizeOfOperand() const { in SizeOfOperand()
99 return OperandSize::kByte; in SizeOfOperand()
101 return OperandSize::kShort; in SizeOfOperand()
103 return OperandSize::kQuad; in SizeOfOperand()
Dbytecodes.cc50 const OperandSize* const Bytecodes::kOperandSizes[][3] = {
114 OperandSize operand_size = in GetOperandOffset()
275 OperandSize Bytecodes::SizeOfOperand(OperandType operand_type, in SizeOfOperand()
284 static const OperandSize kOperandSizes[][3] = { in SizeOfOperand()
Dbytecodes.h695 static OperandSize GetOperandSize(Bytecode bytecode, int i, in GetOperandSize()
702 static const OperandSize* GetOperandSizes(Bytecode bytecode, in GetOperandSizes()
778 static OperandSize SizeOfOperand(OperandType operand, OperandScale scale);
815 static OperandSize SizeForUnsignedOperand(uint32_t value) { in SizeForUnsignedOperand()
817 return OperandSize::kByte; in SizeForUnsignedOperand()
819 return OperandSize::kShort; in SizeForUnsignedOperand()
821 return OperandSize::kQuad; in SizeForUnsignedOperand()
833 static const OperandSize* const kOperandSizes[][3];
Dinterpreter-assembler.h290 OperandSize operand_size);
292 OperandSize operand_size);
Dbytecode-array-writer.h48 Bytecodes::kMaxOperands * static_cast<size_t>(OperandSize::kLast); in NON_EXPORTED_BASE()
Dbytecode-register.h58 OperandSize SizeOfOperand() const;
Dbytecode-array-builder.cc1048 DCHECK(Bytecodes::SizeForUnsignedOperand(function_id) <= OperandSize::kShort); in CallRuntime()
1075 DCHECK(Bytecodes::SizeForUnsignedOperand(function_id) <= OperandSize::kShort); in CallRuntimeForPair()
/external/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.h220 enum OperandSize { enum
316 static OperandSize OperandSizeFor(intptr_t cid);
318 static bool CanHoldLoadOffset(OperandSize size,
321 static bool CanHoldStoreOffset(OperandSize size,
677 void vaddqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
685 void vsubqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
693 void vmulqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
697 void vshlqi(OperandSize sz, QRegister qd, QRegister qm, QRegister qn);
699 void vshlqu(OperandSize sz, QRegister qd, QRegister qm, QRegister qn);
734 void vceqqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
[all …]
Dassembler_arm.cc1191 static inline int ShiftOfOperandSize(OperandSize size) { in ShiftOfOperandSize()
1218 void Assembler::EmitSIMDqqq(int32_t opcode, OperandSize size,
1236 void Assembler::EmitSIMDddd(int32_t opcode, OperandSize size, in EmitSIMDddd()
1260 void Assembler::vaddqi(OperandSize sz,
1271 void Assembler::vsubqi(OperandSize sz, in vsubqi()
1283 void Assembler::vmulqi(OperandSize sz,
1294 void Assembler::vshlqi(OperandSize sz,
1301 void Assembler::vshlqu(OperandSize sz,
1379 void Assembler::vdup(OperandSize sz, QRegister qd, DRegister dm, int idx) { in vdup()
1427 void Assembler::vceqqi(OperandSize sz,
[all …]
/external/llvm/lib/Target/X86/
DX86InstrFormats.td146 class OperandSize<bits<2> val> {
149 def OpSizeFixed : OperandSize<0>; // Never needs a 0x66 prefix.
150 def OpSize16 : OperandSize<1>; // Needs 0x66 prefix in 32-bit mode.
151 def OpSize32 : OperandSize<2>; // Needs 0x66 prefix in 16-bit mode.
164 class OpSize16 { OperandSize OpSize = OpSize16; }
165 class OpSize32 { OperandSize OpSize = OpSize32; }
248 OperandSize OpSize = OpSizeFixed; // Does this instruction's encoding change
DX86InstrArithmetic.td554 bit hasOddOpcode, OperandSize opSize,
608 OperandSize OpSize = opSize;
DX86ISelLowering.cpp8582 int OperandSize = Mask.size() / V.getNumOperands(); in lowerVectorShuffleAsBroadcast() local
8583 V = V.getOperand(BroadcastIdx / OperandSize); in lowerVectorShuffleAsBroadcast()
8584 BroadcastIdx %= OperandSize; in lowerVectorShuffleAsBroadcast()
/external/v8/src/x64/
Ddisasm-x64.cc315 enum OperandSize { enum in disasm::DisassemblerX64
411 OperandSize operand_size() { in operand_size()
469 int PrintImmediate(byte* data, OperandSize size);
597 int DisassemblerX64::PrintImmediate(byte* data, OperandSize size) { in PrintImmediate()
721 OperandSize immediate_size = in PrintImmediateOp()