Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.h34 } OperandType; member
53 AsmWriterOperand(OpType op = isLiteralTextOperand) : OperandType(op) {} in OperandType() function
56 : OperandType(op), Str(LitStr) {} in OperandType() function
61 : OperandType(op), MIOpNo(_MIOpNo), Str(Printer), MiModifier(Modifier), in OperandType() function
65 if (OperandType != Other.OperandType || Str != Other.Str)
67 if (OperandType == isMachineInstrOperand)
99 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
H A DAsmWriterInst.cpp24 if (OperandType == isLiteralTextOperand) { in getCode()
30 if (OperandType == isLiteralStatementOperand) in getCode()
182 OpInfo.OperandType == "MCOI::OPERAND_PCREL"); in AsmWriterInst()
H A DCodeGenInstruction.cpp83 std::string OperandType = "OPERAND_UNKNOWN"; in CGIOperandList() local
89 OperandType = Rec->getValueAsString("OperandType").str(); in CGIOperandList()
94 OperandType = Rec->getValueAsString("OperandType").str(); in CGIOperandList()
122 OperandType = "OPERAND_REGISTER"; in CGIOperandList()
142 Rec, ArgName, PrintMethod, OperandNamespace + "::" + OperandType, in CGIOperandList()
H A DCodeGenInstruction.h95 std::string OperandType; member
124 OperandType(OT), MIOperandNo(MION), MINumOperands(MINO), in OperandInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h59 enum OperandType { enum
98 uint8_t OperandType; variable
120 return OperandType >= MCOI::OPERAND_FIRST_GENERIC && in isGenericType()
121 OperandType <= MCOI::OPERAND_LAST_GENERIC; in isGenericType()
126 return OperandType - MCOI::OPERAND_FIRST_GENERIC; in getGenericTypeIndex()
130 return OperandType >= MCOI::OPERAND_FIRST_GENERIC_IMM && in isGenericImm()
131 OperandType <= MCOI::OPERAND_LAST_GENERIC_IMM; in isGenericImm()
136 return OperandType - MCOI::OPERAND_FIRST_GENERIC_IMM; in getGenericImmIndex()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/LowLevel/
H A DDWARFCFIProgram.cpp25 const char *CFIProgram::operandTypeString(CFIProgram::OperandType OT) { in operandTypeString()
51 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsUnsigned()
96 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsSigned()
143 ArrayRef<CFIProgram::OperandType[CFIProgram::MaxOperands]>
145 static OperandType OpTypes[DW_CFA_restore + 1][MaxOperands]; in getOperandTypes()
148 return ArrayRef<OperandType[MaxOperands]>(&OpTypes[0], DW_CFA_restore + 1); in getOperandTypes()
202 return ArrayRef<OperandType[MaxOperands]>(&OpTypes[0], DW_CFA_restore + 1); in getOperandTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td169 let OperandType = "OPERAND_BASIC_BLOCK" in
172 let OperandType = "OPERAND_LOCAL" in
175 let OperandType = "OPERAND_GLOBAL" in {
184 let OperandType = "OPERAND_I32IMM" in
187 let OperandType = "OPERAND_I64IMM" in
190 let OperandType = "OPERAND_F32IMM" in
193 let OperandType = "OPERAND_F64IMM" in
196 let OperandType = "OPERAND_VEC_I8IMM" in
199 let OperandType = "OPERAND_VEC_I16IMM" in
202 let OperandType = "OPERAND_VEC_I32IMM" in
[all …]
H A DWebAssemblySetP2AlignOperands.cpp64 assert(MI.getDesc().operands()[OperandNo].OperandType == in rewriteP2Align()
H A DWebAssemblyMCInstLower.cpp203 if (Info.OperandType == WebAssembly::OPERAND_TYPEINDEX) { in lower()
230 if (Info.OperandType == WebAssembly::OPERAND_SIGNATURE) { in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrOperands.td58 let OperandType = "OPERAND_MEMORY";
159 let OperandType = "OPERAND_PCREL";
317 let OperandType = "OPERAND_COND_CODE";
345 let OperandType = "OPERAND_ROUNDING_CONTROL";
404 let OperandType = "OPERAND_IMMEDIATE";
409 let OperandType = "OPERAND_IMMEDIATE";
415 let OperandType = "OPERAND_IMMEDIATE";
421 let OperandType = "OPERAND_IMMEDIATE";
428 let OperandType = "OPERAND_IMMEDIATE";
434 let OperandType = "OPERAND_IMMEDIATE";
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td625 let OperandType = "OPERAND_IMMEDIATE";
636 let OperandType = "OPERAND_IMMEDIATE";
646 let OperandType = "OPERAND_IMMEDIATE";
657 let OperandType = "OPERAND_IMMEDIATE";
668 let OperandType = "OPERAND_IMMEDIATE";
678 let OperandType = "OPERAND_IMMEDIATE";
688 let OperandType = "OPERAND_IMMEDIATE";
698 let OperandType = "OPERAND_IMMEDIATE";
708 let OperandType = "OPERAND_IMMEDIATE";
718 let OperandType = "OPERAND_IMMEDIATE";
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.h114 enum OperandType { enum
118 inline bool isVpred(OperandType op) { in isVpred()
122 return isVpred(static_cast<OperandType>(op)); in isVpred()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaOperands.td185 let OperandType = "OPERAND_MEMORY";
225 let OperandType = "OPERAND_PCREL";
233 let OperandType = "OPERAND_PCREL";
241 let OperandType = "OPERAND_PCREL";
249 let OperandType = "OPERAND_PCREL";
257 let OperandType = "OPERAND_PCREL";
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp101 << int(Info.OperandType) << "\n"); in encodeInstruction()
102 switch (Info.OperandType) { in encodeInstruction()
157 switch (Info.OperandType) { in encodeInstruction()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp119 assert(Op.OperandType != "MCOI::OPERAND_UNKNOWN"); in emitWebAssemblyDisassemblerTables()
120 CurOperandList.push_back(Op.OperandType); in emitWebAssemblyDisassemblerTables()
H A DX86DisassemblerTables.cpp54 static inline const char *stringForOperandType(OperandType type) { in stringForOperandType()
864 typedef SmallVector<std::pair<OperandEncoding, OperandType>, X86_MAX_OPERANDS> in emitInstructionInfo()
874 OperandType Type = (OperandType)Operand.type; in emitInstructionInfo()
906 OperandType Type = (OperandType)Operand.type; in emitInstructionInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h165 DD.ForbiddenTypeData.OperandType = type.getAsOpaquePtr(); in makeForbiddenType()
220 return QualType::getFromOpaquePtr(ForbiddenTypeData.OperandType); in getForbiddenTypeOperand()
252 void *OperandType; member
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/
H A DDWARFCFIProgram.h237 enum OperandType { enum
251 LLVM_ABI static const char *operandTypeString(OperandType OT);
255 LLVM_ABI static ArrayRef<OperandType[MaxOperands]> getOperandTypes();
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYBaseInfo.h62 enum OperandType : unsigned { enum
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZc.td23 let OperandType = "OPERAND_UIMM2_LSB0";
35 let OperandType = "OPERAND_UIMM8_GE32";
74 let OperandType = "OPERAND_RLIST";
80 let OperandType = "OPERAND_STACKADJ";
92 let OperandType = "OPERAND_STACKADJ";
H A DRISCVInstrInfoC.td26 let OperandType = "OPERAND_UIMMLOG2XLEN_NONZERO";
51 let OperandType = "OPERAND_SIMM6_NONZERO";
63 let OperandType = "OPERAND_ZERO";
85 let OperandType = "OPERAND_CLUI_IMM";
101 let OperandType = "OPERAND_UIMM7_LSB00";
116 let OperandType = "OPERAND_UIMM8_LSB00";
131 let OperandType = "OPERAND_UIMM8_LSB000";
153 let OperandType = "OPERAND_PCREL";
162 let OperandType = "OPERAND_UIMM9_LSB000";
179 let OperandType = "OPERAND_UIMM10_LSB00_NONZERO";
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h137 enum OperandType : unsigned { enum
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.h71 enum OperandType { enum
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h1099 bool isInlineConstant(const MachineOperand &MO, uint8_t OperandType) const { in isInlineConstant() argument
1103 return isInlineConstant(MO.getImm(), OperandType); in isInlineConstant()
1105 bool isInlineConstant(int64_t ImmVal, uint8_t OperandType) const;
1109 return isInlineConstant(MO, OpInfo.OperandType); in isInlineConstant()
1129 return isInlineConstant(MO, MI.getDesc().operands()[OpIdx].OperandType); in isInlineConstant()
1146 return isInlineConstant(ImmVal, MI.getDesc().operands()[OpIdx].OperandType); in isInlineConstant()
1218 assert(OpInfo.OperandType == MCOI::OPERAND_IMMEDIATE); in getOpSize()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFCFIPrinter.cpp48 CFIProgram::OperandType Type = P.getOperandTypes()[Opcode][OperandIdx]; in printOperand()

12345