Home
last modified time | relevance | path

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

123

/external/v8/src/interpreter/
Dbytecodes.h56 V(DebugBreak1, AccumulatorUse::kRead, OperandType::kReg) \
57 V(DebugBreak2, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg) \
58 V(DebugBreak3, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \
59 OperandType::kReg) \
60 V(DebugBreak4, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \
61 OperandType::kReg, OperandType::kReg) \
62 V(DebugBreak5, AccumulatorUse::kRead, OperandType::kRuntimeId, \
63 OperandType::kReg, OperandType::kReg) \
64 V(DebugBreak6, AccumulatorUse::kRead, OperandType::kRuntimeId, \
65 OperandType::kReg, OperandType::kReg, OperandType::kReg)
[all …]
Dbytecode-traits.h31 template <OperandType>
39 struct OperandTraits<OperandType::k##Name> { \
46 template <OperandType operand_type, OperandScale operand_scale>
68 template <OperandType>
75 struct RegisterOperandTraits<OperandType::k##Name> { \
81 template <AccumulatorUse, OperandType...>
84 template <AccumulatorUse accumulator_use, OperandType operand_0,
85 OperandType operand_1, OperandType operand_2, OperandType operand_3>
88 static const OperandType* GetOperandTypes() {
89 static const OperandType operand_types[] = {operand_0, operand_1, operand_2,
[all …]
Dbytecode-array-iterator.cc62 int operand_index, OperandType operand_type) const { in GetUnsignedOperand()
78 int operand_index, OperandType operand_type) const { in GetSignedOperand()
95 OperandType::kFlag8); in GetFlagOperand()
96 return GetUnsignedOperand(operand_index, OperandType::kFlag8); in GetFlagOperand()
101 OperandType::kImm); in GetImmediateOperand()
102 return GetSignedOperand(operand_index, OperandType::kImm); in GetImmediateOperand()
108 OperandType::kRegCount); in GetRegisterCountOperand()
109 return GetUnsignedOperand(operand_index, OperandType::kRegCount); in GetRegisterCountOperand()
113 OperandType operand_type = in GetIndexOperand()
115 DCHECK_EQ(operand_type, OperandType::kIdx); in GetIndexOperand()
[all …]
Dbytecodes.cc63 const char* Bytecodes::OperandTypeToString(OperandType operand_type) { in OperandTypeToString()
66 case OperandType::k##Name: \ in OperandTypeToString()
306 OperandType Bytecodes::GetOperandType(Bytecode bytecode, int i) { in GetOperandType()
314 const OperandType* Bytecodes::GetOperandTypes(Bytecode bytecode) { in GetOperandTypes()
393 OperandSize Bytecodes::SizeOfOperand(OperandType operand_type, in SizeOfOperand()
536 bool Bytecodes::IsMaybeRegisterOperandType(OperandType operand_type) { in IsMaybeRegisterOperandType()
537 return operand_type == OperandType::kMaybeReg; in IsMaybeRegisterOperandType()
541 bool Bytecodes::IsRegisterOperandType(OperandType operand_type) { in IsRegisterOperandType()
544 case OperandType::k##Name: \ in IsRegisterOperandType()
549 case OperandType::k##Name: \ in IsRegisterOperandType()
[all …]
Dbytecode-array-builder.cc687 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in OperandsAreValid()
690 case OperandType::kNone: in OperandsAreValid()
692 case OperandType::kRegCount: { in OperandsAreValid()
694 CHECK(operand_types[i - 1] == OperandType::kMaybeReg || in OperandsAreValid()
695 operand_types[i - 1] == OperandType::kReg); in OperandsAreValid()
705 case OperandType::kFlag8: in OperandsAreValid()
706 case OperandType::kIntrinsicId: in OperandsAreValid()
712 case OperandType::kRuntimeId: in OperandsAreValid()
718 case OperandType::kIdx: in OperandsAreValid()
723 case OperandType::kImm: in OperandsAreValid()
[all …]
Dbytecode-array-iterator.h49 OperandType operand_type) const;
50 int32_t GetSignedOperand(int operand_index, OperandType operand_type) const;
Dbytecode-array-writer.cc178 const OperandType* operand_types = Bytecodes::GetOperandTypes(bytecode); in EmitBytecode()
179 for (int i = 0; operand_types[i] != OperandType::kNone; ++i) { in EmitBytecode()
180 OperandType operand_type = operand_types[i]; in EmitBytecode()
206 if (operand_types[i + 1] == OperandType::kRegCount) { in EmitBytecode()
Dinterpreter-assembler.cc326 DCHECK_EQ(OperandType::kRegCount, in BytecodeOperandCount()
334 DCHECK_EQ(OperandType::kFlag8, in BytecodeOperandFlag()
343 DCHECK_EQ(OperandType::kImm, in BytecodeOperandImm()
351 DCHECK(OperandType::kIdx == in BytecodeOperandIdx()
367 DCHECK(OperandType::kRuntimeId == in BytecodeOperandRuntimeId()
376 DCHECK(OperandType::kIntrinsicId == in BytecodeOperandIntrinsicId()
Dbytecode-register-optimizer.cc509 const OperandType* operand_types = in PrepareRegisterOperands()
517 OperandType operand_type = operand_types[i]; in PrepareRegisterOperands()
519 if (operand_types[i + 1] == OperandType::kRegCount) { in PrepareRegisterOperands()
/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,
/external/v8/test/unittests/interpreter/
Dbytecodes-unittest.cc124 CHECK(Bytecodes::IsRegisterOperandType(OperandType::kReg)); in TEST()
125 CHECK(Bytecodes::IsRegisterInputOperandType(OperandType::kReg)); in TEST()
126 CHECK(!Bytecodes::IsRegisterOutputOperandType(OperandType::kReg)); in TEST()
127 CHECK(!Bytecodes::IsRegisterInputOperandType(OperandType::kRegOut)); in TEST()
128 CHECK(Bytecodes::IsRegisterOutputOperandType(OperandType::kRegOut)); in TEST()
131 CHECK(Bytecodes::IsRegisterOperandType(OperandType::k##Name)); in TEST()
136 CHECK(!Bytecodes::IsRegisterOperandType(OperandType::k##Name)); in TEST()
141 CHECK(Bytecodes::IsRegisterInputOperandType(OperandType::k##Name)); in TEST()
146 CHECK(!Bytecodes::IsRegisterInputOperandType(OperandType::k##Name)); in TEST()
152 CHECK(Bytecodes::IsRegisterOutputOperandType(OperandType::k##Name)); in TEST()
[all …]
Dinterpreter-assembler-unittest.cc396 OperandType operand_type = in TARGET_TEST_F()
401 case interpreter::OperandType::kRegCount: in TARGET_TEST_F()
405 case interpreter::OperandType::kFlag8: in TARGET_TEST_F()
409 case interpreter::OperandType::kIdx: in TARGET_TEST_F()
413 case interpreter::OperandType::kImm: { in TARGET_TEST_F()
418 case interpreter::OperandType::kMaybeReg: in TARGET_TEST_F()
419 case interpreter::OperandType::kReg: in TARGET_TEST_F()
420 case interpreter::OperandType::kRegOut: in TARGET_TEST_F()
421 case interpreter::OperandType::kRegOutPair: in TARGET_TEST_F()
422 case interpreter::OperandType::kRegOutTriple: in TARGET_TEST_F()
[all …]
/external/v8/test/cctest/interpreter/
Dbytecode-expectations-printer.cc105 OperandType op_type = Bytecodes::GetOperandType(bytecode, op_index); in PrintBytecodeOperand()
149 case OperandType::kFlag8: in PrintBytecodeOperand()
152 case OperandType::kIdx: in PrintBytecodeOperand()
155 case OperandType::kImm: in PrintBytecodeOperand()
158 case OperandType::kRegCount: in PrintBytecodeOperand()
161 case OperandType::kRuntimeId: { in PrintBytecodeOperand()
167 case OperandType::kIntrinsicId: { in PrintBytecodeOperand()
/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";
/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/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/lib/MC/
DMCInstrAnalysis.cpp16 Info->get(Inst.getOpcode()).OpInfo[0].OperandType != MCOI::OPERAND_PCREL) in evaluateBranch()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h44 enum OperandType { enum
68 uint8_t OperandType; variable
/external/libchrome/sandbox/win/src/sidestep/
Dmini_disassembler_types.h94 enum OperandType { enum
/external/v8/src/compiler/
Dinstruction.h135 #define INSTRUCTION_OPERAND_CASTS(OperandType, OperandKind) \ argument
137 static OperandType* cast(InstructionOperand* op) { \
139 return static_cast<OperandType*>(op); \
142 static const OperandType* cast(const InstructionOperand* op) { \
144 return static_cast<const OperandType*>(op); \
147 static OperandType cast(const InstructionOperand& op) { \
149 return *static_cast<const OperandType*>(&op); \

123