Home
last modified time | relevance | path

Searched refs:OperandType (Results 1 – 25 of 52) sorted by relevance

123

/external/v8/src/interpreter/
Dbytecodes.h41 V(LdaZero, OperandType::kNone) \
42 V(LdaSmi8, OperandType::kImm8) \
43 V(LdaUndefined, OperandType::kNone) \
44 V(LdaNull, OperandType::kNone) \
45 V(LdaTheHole, OperandType::kNone) \
46 V(LdaTrue, OperandType::kNone) \
47 V(LdaFalse, OperandType::kNone) \
48 V(LdaConstant, OperandType::kIdx8) \
49 V(LdaConstantWide, OperandType::kIdx16) \
52 V(LdaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \
[all …]
Dbytecode-traits.h17 #define OPERAND_TERM OperandType::kNone, OperandType::kNone, OperandType::kNone
19 template <OperandType>
24 struct OperandTraits<OperandType::k##Name> { \
32 template <OperandType... Args>
35 template <OperandType operand_0, OperandType operand_1, OperandType operand_2,
36 OperandType operand_3>
39 static OperandType GetOperandType(int i) {
41 const OperandType kOperands[] = {operand_0, operand_1, operand_2,
73 template <OperandType operand_0, OperandType operand_1, OperandType operand_2>
75 static inline OperandType GetOperandType(int i) {
[all …]
Dbytecode-array-iterator.cc41 OperandType operand_type) const { in GetRawOperand()
62 uint32_t operand = GetRawOperand(operand_index, OperandType::kImm8); in GetImmediateOperand()
70 OperandType type = (size == OperandSize::kByte) ? OperandType::kCount8 in GetCountOperand()
71 : OperandType::kCount16; in GetCountOperand()
78 OperandType operand_type = in GetIndexOperand()
80 DCHECK(operand_type == OperandType::kIdx8 || in GetIndexOperand()
81 operand_type == OperandType::kIdx16); in GetIndexOperand()
88 OperandType operand_type = in GetRegisterOperand()
90 DCHECK(operand_type == OperandType::kReg8 || in GetRegisterOperand()
91 operand_type == OperandType::kRegPair8 || in GetRegisterOperand()
[all …]
Dbytecodes.cc30 const char* Bytecodes::OperandTypeToString(OperandType operand_type) { in OperandTypeToString()
33 case OperandType::k##Name: \ in OperandTypeToString()
103 OperandType Bytecodes::GetOperandType(Bytecode bytecode, int i) { in GetOperandType()
113 return OperandType::kNone; in GetOperandType()
148 OperandSize Bytecodes::SizeOfOperand(OperandType operand_type) { in SizeOfOperand()
151 case OperandType::k##Name: \ in SizeOfOperand()
256 OperandType op_type = GetOperandType(bytecode, i); in Decode()
260 case interpreter::OperandType::kCount8: in Decode()
263 case interpreter::OperandType::kCount16: in Decode()
266 case interpreter::OperandType::kIdx8: in Decode()
[all …]
Dbytecode-array-builder.cc1234 OperandType operand_type = Bytecodes::GetOperandType(bytecode, operand_index); in OperandIsValid()
1236 case OperandType::kNone: in OperandIsValid()
1238 case OperandType::kCount16: in OperandIsValid()
1239 case OperandType::kIdx16: in OperandIsValid()
1241 case OperandType::kCount8: in OperandIsValid()
1242 case OperandType::kImm8: in OperandIsValid()
1243 case OperandType::kIdx8: in OperandIsValid()
1245 case OperandType::kMaybeReg8: in OperandIsValid()
1250 case OperandType::kReg8: in OperandIsValid()
1253 case OperandType::kRegPair8: { in OperandIsValid()
[all …]
Dbytecode-array-iterator.h37 uint32_t GetRawOperand(int operand_index, OperandType operand_type) const;
/external/llvm/utils/TableGen/
DAsmWriterInst.h36 } OperandType; member
62 AsmWriterOperand(OpType op = isLiteralTextOperand):OperandType(op) {} in OperandType() function
66 : OperandType(op), Str(LitStr) {} in OperandType() function
74 : OperandType(op), Str(Printer), CGIOpNo(_CGIOpNo), MIOpNo(_MIOpNo), in OperandType() function
78 if (OperandType != Other.OperandType || Str != Other.Str) return true;
79 if (OperandType == isMachineInstrOperand)
109 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
DAsmWriterInst.cpp30 if (OperandType == isLiteralTextOperand) { in getCode()
36 if (OperandType == isLiteralStatementOperand) in getCode()
DX86DisassemblerTables.cpp48 static inline const char* stringForOperandType(OperandType type) { in stringForOperandType()
629 typedef SmallVector<std::pair<OperandEncoding, OperandType>, in emitInstructionInfo()
641 OperandType Type = (OperandType)InstructionSpecifiers[Index] in emitInstructionInfo()
674 OperandType Type = (OperandType)InstructionSpecifiers[index] in emitInstructionInfo()
DCodeGenInstruction.cpp70 std::string OperandType = "OPERAND_UNKNOWN"; in CGIOperandList() local
76 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
80 OperandType = Rec->getValueAsString("OperandType"); in CGIOperandList()
104 OperandType = "OPERAND_REGISTER"; in CGIOperandList()
119 OperandNamespace + "::" + OperandType, MIOperandNo, in CGIOperandList()
DCodeGenInstruction.h84 std::string OperandType; member
112 OperandType(OT), MIOperandNo(MION), MINumOperands(MINO), in OperandInfo()
DX86RecognizableInstr.h124 static OperandType typeFromString(const std::string& s,
DInstrInfoEmitter.cpp147 assert(!Op.OperandType.empty() && "Invalid operand type."); in GetOperandInfo()
148 Res += Op.OperandType; in GetOperandInfo()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.td253 let OperandType = "OPERAND_REG_IMM32";
258 let OperandType = "OPERAND_REG_INLINE_C";
293 let OperandType = "OPERAND_REG_IMM32";
299 let OperandType = "OPERAND_REG_IMM32";
309 let OperandType = "OPERAND_REG_INLINE_C";
315 let OperandType = "OPERAND_REG_INLINE_C";
325 let OperandType = "OPERAND_REG_INLINE_C";
DSIDefines.h47 enum OperandType { enum
/external/v8/test/unittests/compiler/
Dinterpreter-assembler-unittest.cc341 case interpreter::OperandType::kCount8: in TARGET_TEST_F()
344 case interpreter::OperandType::kIdx8: in TARGET_TEST_F()
347 case interpreter::OperandType::kImm8: in TARGET_TEST_F()
351 case interpreter::OperandType::kMaybeReg8: in TARGET_TEST_F()
352 case interpreter::OperandType::kReg8: in TARGET_TEST_F()
353 case interpreter::OperandType::kRegPair8: in TARGET_TEST_F()
357 case interpreter::OperandType::kCount16: in TARGET_TEST_F()
361 case interpreter::OperandType::kIdx16: in TARGET_TEST_F()
365 case interpreter::OperandType::kReg16: in TARGET_TEST_F()
369 case interpreter::OperandType::kNone: in TARGET_TEST_F()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugFrame.cpp284 enum OperandType { enum
299 static ArrayRef<OperandType[2]> getOperandTypes() { in getOperandTypes()
300 static OperandType OpTypes[DW_CFA_restore+1][2]; in getOperandTypes()
343 return ArrayRef<OperandType[2]>(&OpTypes[0], DW_CFA_restore+1); in getOperandTypes()
346 static ArrayRef<OperandType[2]> OpTypes = getOperandTypes();
354 OperandType Type = OpTypes[Opcode][OperandIdx]; in printOperand()
/external/v8/src/compiler/
Dinterpreter-assembler.cc262 interpreter::OperandType::kCount8, in BytecodeOperandCount()
267 interpreter::OperandType::kCount16, in BytecodeOperandCount()
278 DCHECK_EQ(interpreter::OperandType::kImm8, in BytecodeOperandImm()
288 interpreter::OperandType::kIdx8, in BytecodeOperandIdx()
293 interpreter::OperandType::kIdx16, in BytecodeOperandIdx()
305 case interpreter::OperandType::kReg8: in BytecodeOperandReg()
306 case interpreter::OperandType::kRegPair8: in BytecodeOperandReg()
307 case interpreter::OperandType::kMaybeReg8: in BytecodeOperandReg()
312 case interpreter::OperandType::kReg16: in BytecodeOperandReg()
Dinstruction.h127 #define INSTRUCTION_OPERAND_CASTS(OperandType, OperandKind) \ argument
129 static OperandType* cast(InstructionOperand* op) { \
131 return static_cast<OperandType*>(op); \
134 static const OperandType* cast(const InstructionOperand* op) { \
136 return static_cast<const OperandType*>(op); \
139 static OperandType cast(const InstructionOperand& op) { \
141 return *static_cast<const OperandType*>(&op); \
/external/clang/include/clang/Sema/
DDelayedDiagnostic.h153 DD.ForbiddenTypeData.OperandType = type.getAsOpaquePtr(); in makeForbiddenType()
196 return QualType::getFromOpaquePtr(ForbiddenTypeData.OperandType); in getForbiddenTypeOperand()
225 void *OperandType; member
/external/llvm/include/llvm/MC/
DMCInstrDesc.h44 enum OperandType { enum
68 uint8_t OperandType; variable
/external/llvm/lib/MC/
DMCInstrAnalysis.cpp16 Info->get(Inst.getOpcode()).OpInfo[0].OperandType != MCOI::OPERAND_PCREL) in evaluateBranch()
/external/libchrome/sandbox/win/src/sidestep/
Dmini_disassembler_types.h94 enum OperandType { enum
/external/llvm/lib/Target/Mips/
DMicroMipsInstrInfo.td66 let OperandType = "OPERAND_MEMORY";
92 let OperandType = "OPERAND_MEMORY";
100 let OperandType = "OPERAND_MEMORY";
109 let OperandType = "OPERAND_MEMORY";
117 let OperandType = "OPERAND_MEMORY";
125 let OperandType = "OPERAND_MEMORY";
141 let OperandType = "OPERAND_MEMORY";
154 let OperandType = "OPERAND_PCREL";
161 let OperandType = "OPERAND_PCREL";
168 let OperandType = "OPERAND_PCREL";
/external/v8/src/x64/
Ddisasm-x64.cc16 enum OperandType { enum
33 OperandType op_order_;
160 OperandType op_order_;
216 OperandType op_order = bm[i].op_order_; in CopyTable()
218 static_cast<OperandType>(op_order & ~BYTE_SIZE_OPERAND_FLAG); in CopyTable()
466 OperandType op_order,
647 OperandType op_order, in PrintOperands()

123