Home
last modified time | relevance | path

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

/external/v8/test/unittests/interpreter/
Dconstant-array-builder-unittest.cc51 OperandSize operand_size = builder.CreateReservedEntry(); in TEST_F()
52 CHECK(operand_size == OperandSize::kByte); in TEST_F()
80 builder.CommitReservedEntry(OperandSize::kByte, in TEST_F()
102 OperandSize operand_size = builder.CreateReservedEntry(); in TEST_F()
103 CHECK(operand_size == OperandSize::kByte); in TEST_F()
108 size_t index = builder.CommitReservedEntry(OperandSize::kByte, object); in TEST_F()
127 OperandSize operand_size = builder.CreateReservedEntry(); in TEST_F()
128 CHECK(operand_size == OperandSize::kShort); in TEST_F()
132 builder.DiscardReservedEntry(OperandSize::kShort); in TEST_F()
136 OperandSize operand_size = builder.CreateReservedEntry(); in TEST_F()
[all …]
/external/v8/src/interpreter/
Dconstant-array-builder.cc121 OperandSize ConstantArrayBuilder::CreateReservedEntry() { in CreateReservedEntry()
124 return OperandSize::kByte; in CreateReservedEntry()
127 return OperandSize::kShort; in CreateReservedEntry()
130 return OperandSize::kNone; in CreateReservedEntry()
135 size_t ConstantArrayBuilder::CommitReservedEntry(OperandSize operand_size, in CommitReservedEntry()
143 if (operand_size == OperandSize::kByte && in CommitReservedEntry()
153 DCHECK(operand_size == OperandSize::kShort || index < idx8_slice_.capacity()); in CommitReservedEntry()
159 void ConstantArrayBuilder::DiscardReservedEntry(OperandSize operand_size) { in DiscardReservedEntry()
161 case OperandSize::kByte: in DiscardReservedEntry()
164 case OperandSize::kShort: in DiscardReservedEntry()
Dbytecode-traits.h25 static const OperandSize kSizeType = Size; \
46 static inline OperandSize GetOperandSize(int i) {
48 const OperandSize kOperandSizes[] =
81 static inline OperandSize GetOperandSize(int i) {
83 const OperandSize kOperandSizes[] =
113 static inline OperandSize GetOperandSize(int i) {
115 const OperandSize kOperandSizes[] =
141 static inline OperandSize GetOperandSize(int i) {
162 static inline OperandSize GetOperandSize(int i) {
164 return OperandSize::kNone;
Dbytecodes.h22 V(None, OperandSize::kNone) \
25 V(Count8, OperandSize::kByte) \
26 V(Imm8, OperandSize::kByte) \
27 V(Idx8, OperandSize::kByte) \
28 V(MaybeReg8, OperandSize::kByte) \
29 V(Reg8, OperandSize::kByte) \
30 V(RegPair8, OperandSize::kByte) \
33 V(Count16, OperandSize::kShort) \
34 V(Idx16, OperandSize::kShort) \
35 V(Reg16, OperandSize::kShort)
[all …]
Dbytecode-array-iterator.cc51 case OperandSize::kNone: in GetRawOperand()
53 case OperandSize::kByte: in GetRawOperand()
55 case OperandSize::kShort: in GetRawOperand()
68 OperandSize size = in GetCountOperand()
70 OperandType type = (size == OperandSize::kByte) ? OperandType::kCount8 in GetCountOperand()
Dbytecodes.cc44 const char* Bytecodes::OperandSizeToString(OperandSize operand_size) { in OperandSizeToString()
46 case OperandSize::kNone: in OperandSizeToString()
48 case OperandSize::kByte: in OperandSizeToString()
50 case OperandSize::kShort: in OperandSizeToString()
118 OperandSize Bytecodes::GetOperandSize(Bytecode bytecode, int i) { in GetOperandSize()
128 return OperandSize::kNone; in GetOperandSize()
148 OperandSize Bytecodes::SizeOfOperand(OperandType operand_type) { in SizeOfOperand()
157 return OperandSize::kNone; in SizeOfOperand()
341 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size) { in operator <<()
Dconstant-array-builder.h51 OperandSize CreateReservedEntry();
55 size_t CommitReservedEntry(OperandSize operand_size, Handle<Object> object);
58 void DiscardReservedEntry(OperandSize operand_size);
Dbytecode-array-builder.cc38 OperandSize size = Bytecodes::GetOperandSize(bytecode, operand_index); in GetOperand()
41 case OperandSize::kNone: in GetOperand()
43 case OperandSize::kByte: in GetOperand()
46 case OperandSize::kShort: in GetOperand()
174 case OperandSize::kNone: in Output()
176 case OperandSize::kByte: in Output()
179 case OperandSize::kShort: { in Output()
832 constant_array_builder()->DiscardReservedEntry(OperandSize::kByte); in PatchIndirectJumpWith8BitOperand()
839 OperandSize::kByte, handle(Smi::FromInt(delta), isolate())); in PatchIndirectJumpWith8BitOperand()
853 OperandSize::kShort, handle(Smi::FromInt(delta), isolate())); in PatchIndirectJumpWith16BitOperand()
[all …]
/external/v8/src/compiler/
Dinterpreter-assembler.cc159 DCHECK_EQ(interpreter::OperandSize::kByte, in BytecodeOperand()
171 DCHECK_EQ(interpreter::OperandSize::kByte, in BytecodeOperandSignExtended()
188 DCHECK_EQ(interpreter::OperandSize::kShort, in BytecodeOperandShort()
221 DCHECK_EQ(interpreter::OperandSize::kShort, in BytecodeOperandShortSignExtended()
260 case interpreter::OperandSize::kByte: in BytecodeOperandCount()
265 case interpreter::OperandSize::kShort: in BytecodeOperandCount()
286 case interpreter::OperandSize::kByte: in BytecodeOperandIdx()
291 case interpreter::OperandSize::kShort: in BytecodeOperandIdx()
309 interpreter::OperandSize::kByte, in BytecodeOperandReg()
314 interpreter::OperandSize::kShort, in BytecodeOperandReg()
/external/libchrome/sandbox/win/src/sidestep/
Dmini_disassembler_types.h36 enum OperandSize { enum
192 OperandSize operand_size_;
/external/v8/src/x64/
Ddisasm-x64.cc314 enum OperandSize { enum in disasm::DisassemblerX64
410 OperandSize operand_size() { in operand_size()
468 int PrintImmediate(byte* data, OperandSize size);
596 int DisassemblerX64::PrintImmediate(byte* data, OperandSize size) { in PrintImmediate()
720 OperandSize immediate_size = in PrintImmediateOp()
/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.cpp8131 int OperandSize = Mask.size() / V.getNumOperands(); in lowerVectorShuffleAsBroadcast() local
8132 V = V.getOperand(BroadcastIdx / OperandSize); in lowerVectorShuffleAsBroadcast()
8133 BroadcastIdx %= OperandSize; in lowerVectorShuffleAsBroadcast()
/external/v8/test/cctest/interpreter/
Dtest-bytecode-generator.cc228 case OperandSize::kNone: in CheckBytecodeArrayEqual()
231 case OperandSize::kByte: in CheckBytecodeArrayEqual()
235 case OperandSize::kShort: in CheckBytecodeArrayEqual()