Home
last modified time | relevance | path

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

12

/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-operands.cc51 const char* OperandSizeToString(OperandSize operand_size) { in OperandSizeToString()
53 case OperandSize::kNone: in OperandSizeToString()
55 case OperandSize::kByte: in OperandSizeToString()
57 case OperandSize::kShort: in OperandSizeToString()
59 case OperandSize::kQuad: in OperandSizeToString()
71 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size) { in operator <<()
Dbytecode-array-writer.cc208 const OperandSize* operand_sizes = in EmitBytecode()
212 case OperandSize::kNone: in EmitBytecode()
215 case OperandSize::kByte: in EmitBytecode()
218 case OperandSize::kShort: { in EmitBytecode()
225 case OperandSize::kQuad: { in EmitBytecode()
278 constant_array_builder()->DiscardReservedEntry(OperandSize::kByte); in PatchJumpWith8BitOperand()
285 OperandSize::kByte, Smi::FromInt(delta)); in PatchJumpWith8BitOperand()
287 OperandSize::kByte); in PatchJumpWith8BitOperand()
306 constant_array_builder()->DiscardReservedEntry(OperandSize::kShort); in PatchJumpWith16BitOperand()
314 OperandSize::kShort, Smi::FromInt(delta)); in PatchJumpWith16BitOperand()
[all …]
Dbytecode-operands.h76 enum class OperandSize : uint8_t { enum
87 V(None, false, false, OperandSize::kNone) \
88 V(ScalableSignedByte, true, false, OperandSize::kByte) \
89 V(ScalableUnsignedByte, true, true, OperandSize::kByte) \
90 V(FixedUnsignedByte, false, true, OperandSize::kByte) \
91 V(FixedUnsignedShort, false, true, OperandSize::kShort)
133 const OperandSize& operand_size);
Dbytecode-decoder.cc42 case OperandSize::kByte: in DecodeSignedOperand()
44 case OperandSize::kShort: in DecodeSignedOperand()
46 case OperandSize::kQuad: in DecodeSignedOperand()
48 case OperandSize::kNone: in DecodeSignedOperand()
60 case OperandSize::kByte: in DecodeUnsignedOperand()
62 case OperandSize::kShort: in DecodeUnsignedOperand()
64 case OperandSize::kQuad: in DecodeUnsignedOperand()
66 case OperandSize::kNone: in DecodeUnsignedOperand()
Dconstant-array-builder.cc23 Zone* zone, size_t start_index, size_t capacity, OperandSize operand_size) in ConstantArraySlice()
141 new (zone) ConstantArraySlice(zone, 0, k8BitCapacity, OperandSize::kByte); in ConstantArrayBuilder()
143 zone, k8BitCapacity, k16BitCapacity, OperandSize::kShort); in ConstantArrayBuilder()
145 zone, k8BitCapacity + k16BitCapacity, k32BitCapacity, OperandSize::kQuad); in ConstantArrayBuilder()
282 ConstantArrayBuilder::OperandSizeToSlice(OperandSize operand_size) const { in OperandSizeToSlice()
285 case OperandSize::kNone: in OperandSizeToSlice()
288 case OperandSize::kByte: in OperandSizeToSlice()
291 case OperandSize::kShort: in OperandSizeToSlice()
294 case OperandSize::kQuad: in OperandSizeToSlice()
324 OperandSize ConstantArrayBuilder::CreateReservedEntry() { in CreateReservedEntry()
[all …]
Dconstant-array-builder.h95 OperandSize CreateReservedEntry();
99 size_t CommitReservedEntry(OperandSize operand_size, Smi* value);
102 void DiscardReservedEntry(OperandSize operand_size);
193 OperandSize operand_size);
210 inline OperandSize operand_size() const { return operand_size_; } in operand_size()
216 OperandSize operand_size_;
223 ConstantArraySlice* OperandSizeToSlice(OperandSize operand_size) const;
Dbytecode-register.cc86 OperandSize Register::SizeOfOperand() const { in SizeOfOperand()
89 return OperandSize::kByte; in SizeOfOperand()
91 return OperandSize::kShort; in SizeOfOperand()
93 return OperandSize::kQuad; in SizeOfOperand()
Dinterpreter-assembler.cc360 DCHECK_EQ(OperandSize::kByte, Bytecodes::GetOperandSize( in BytecodeOperandUnsignedByte()
370 DCHECK_EQ(OperandSize::kByte, Bytecodes::GetOperandSize( in BytecodeOperandSignedByte()
434 OperandSize::kShort, in BytecodeOperandUnsignedShort()
452 OperandSize::kShort, in BytecodeOperandSignedShort()
469 DCHECK_EQ(OperandSize::kQuad, Bytecodes::GetOperandSize( in BytecodeOperandUnsignedQuad()
486 DCHECK_EQ(OperandSize::kQuad, Bytecodes::GetOperandSize( in BytecodeOperandSignedQuad()
501 int operand_index, OperandSize operand_size, in BytecodeSignedOperand()
506 case OperandSize::kByte: in BytecodeSignedOperand()
508 case OperandSize::kShort: in BytecodeSignedOperand()
510 case OperandSize::kQuad: in BytecodeSignedOperand()
[all …]
Dbytecodes.h744 static OperandSize GetOperandSize(Bytecode bytecode, int i, in GetOperandSize()
751 static const OperandSize* GetOperandSizes(Bytecode bytecode, in GetOperandSizes()
857 static OperandSize SizeOfOperand(OperandType operand_type, in SizeOfOperand()
903 static OperandSize SizeForUnsignedOperand(uint32_t value) { in SizeForUnsignedOperand()
905 return OperandSize::kByte; in SizeForUnsignedOperand()
907 return OperandSize::kShort; in SizeForUnsignedOperand()
909 return OperandSize::kQuad; in SizeForUnsignedOperand()
925 static const OperandSize* const kOperandSizes[3][kBytecodeCount];
926 static OperandSize const
Dbytecodes.cc57 const OperandSize* const Bytecodes::kOperandSizes[3][kBytecodeCount] = {
76 const OperandSize
149 OperandSize operand_size = in GetOperandOffset()
Dbytecode-array-writer.h54 Bytecodes::kMaxOperands * static_cast<size_t>(OperandSize::kLast);
Dbytecode-register.h56 OperandSize SizeOfOperand() const;
Dinterpreter-assembler.h353 int operand_index, OperandSize operand_size,
356 int operand_index, OperandSize operand_size,
Dbytecode-array-builder.cc1403 OperandSize::kShort); in CallRuntime()
1431 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp107 unsigned OperandSize = getLoopOperandSizeInBytes(OpTy); in createMemCpyLoopKnownSize() local
108 uint64_t GepIndex = BytesCopied / OperandSize; in createMemCpyLoopKnownSize()
109 assert(GepIndex * OperandSize == BytesCopied && in createMemCpyLoopKnownSize()
129 BytesCopied += OperandSize; in createMemCpyLoopKnownSize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp356 OperandRegBankID(OpRegBank), OperandSize(OpSize) {} in CmpConstants()
369 const unsigned OperandSize; member
435 if (!validOpRegPair(MRI, LHSReg, RHSReg, Helper.OperandSize, in selectCmp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrFormats.td163 class OperandSize<bits<2> val> {
166 def OpSizeFixed : OperandSize<0>; // Never needs a 0x66 prefix.
167 def OpSize16 : OperandSize<1>; // Needs 0x66 prefix in 32-bit mode.
168 def OpSize32 : OperandSize<2>; // Needs 0x66 prefix in 16-bit mode.
181 class OpSize16 { OperandSize OpSize = OpSize16; }
182 class OpSize32 { OperandSize OpSize = OpSize32; }
281 OperandSize OpSize = OpSizeFixed; // Does this instruction's encoding change
DX86InstrArithmetic.td528 bit hasOddOpcode, OperandSize opSize,
582 OperandSize OpSize = opSize;
/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.cc308 enum OperandSize { enum in disasm::DisassemblerX64
404 OperandSize operand_size() { in operand_size()
463 int PrintImmediate(byte* data, OperandSize size);
599 int DisassemblerX64::PrintImmediate(byte* data, OperandSize size) { in PrintImmediate()
721 OperandSize immediate_size = in PrintImmediateOp()

12