Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DAsmWriterInst.h35 } OperandType; member
54 AsmWriterOperand(OpType op = isLiteralTextOperand):OperandType(op) {} in OperandType() function
58 : OperandType(op), Str(LitStr) {} in OperandType() function
63 : OperandType(op), MIOpNo(_MIOpNo), Str(Printer), MiModifier(Modifier), in OperandType() function
67 if (OperandType != Other.OperandType || Str != Other.Str) return true;
68 if (OperandType == isMachineInstrOperand)
100 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
H A DAsmWriterInst.cpp25 if (OperandType == isLiteralTextOperand) { in getCode()
31 if (OperandType == isLiteralStatementOperand) in getCode()
181 OpInfo.OperandType == "MCOI::OPERAND_PCREL"); in AsmWriterInst()
H A DWebAssemblyDisassemblerEmitter.cpp118 assert(Op.OperandType != "MCOI::OPERAND_UNKNOWN"); in emitWebAssemblyDisassemblerTables()
119 CurOperandList.push_back(Op.OperandType); in emitWebAssemblyDisassemblerTables()
H A DCodeGenInstruction.cpp82 std::string OperandType = "OPERAND_UNKNOWN"; in CGIOperandList() local
88 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
93 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
121 OperandType = "OPERAND_REGISTER"; in CGIOperandList()
142 OperandNamespace + "::" + OperandType, MIOperandNo, NumOps, MIOpInfo); in CGIOperandList()
H A DCodeGenInstruction.h100 std::string OperandType; member
128 EncoderMethodNames(MINO), OperandType(OT), MIOperandNo(MION), in OperandInfo()
H A DX86DisassemblerTables.cpp49 static inline const char* stringForOperandType(OperandType type) { in stringForOperandType()
817 typedef SmallVector<std::pair<OperandEncoding, OperandType>, in emitInstructionInfo()
827 OperandType Type = (OperandType)Operand.type; in emitInstructionInfo()
857 OperandType Type = (OperandType)Operand.type; in emitInstructionInfo()
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCInstrDesc.h58 enum OperandType { enum
97 uint8_t OperandType; variable
119 return OperandType >= MCOI::OPERAND_FIRST_GENERIC && in isGenericType()
120 OperandType <= MCOI::OPERAND_LAST_GENERIC; in isGenericType()
125 return OperandType - MCOI::OPERAND_FIRST_GENERIC; in getGenericTypeIndex()
129 return OperandType >= MCOI::OPERAND_FIRST_GENERIC_IMM && in isGenericImm()
130 OperandType <= MCOI::OPERAND_LAST_GENERIC_IMM; in isGenericImm()
135 return OperandType - MCOI::OPERAND_FIRST_GENERIC_IMM; in getGenericImmIndex()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td146 let OperandType = "OPERAND_LOCAL" in
149 let OperandType = "OPERAND_GLOBAL" in {
158 let OperandType = "OPERAND_I32IMM" in
161 let OperandType = "OPERAND_I64IMM" in
164 let OperandType = "OPERAND_F32IMM" in
167 let OperandType = "OPERAND_F64IMM" in
185 let OperandType = "OPERAND_TABLE" in
188 let OperandType = "OPERAND_OFFSET32" in
191 let OperandType = "OPERAND_OFFSET64" in
199 let OperandType = "OPERAND_TAG" in
[all …]
H A DWebAssemblySetP2AlignOperands.cpp65 assert(MI.getDesc().operands()[OperandNo].OperandType == in rewriteP2Align()
H A DWebAssemblyMCInstLower.cpp198 if (Info.OperandType == WebAssembly::OPERAND_TYPEINDEX) { in lower()
224 } else if (Info.OperandType == WebAssembly::OPERAND_SIGNATURE) { in lower()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td742 let OperandType = "OPERAND_PCREL";
758 let OperandType = "OPERAND_PCREL";
770 let OperandType = "OPERAND_PCREL";
881 let OperandType = "OPERAND_MEMORY";
886 let OperandType = "OPERAND_MEMORY";
893 let OperandType = "OPERAND_MEMORY";
901 let OperandType = "OPERAND_MEMORY";
908 let OperandType = "OPERAND_MEMORY";
915 let OperandType = "OPERAND_MEMORY";
922 let OperandType = "OPERAND_MEMORY";
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DSnippetGenerator.cpp241 if (Op.getExplicitOperandInfo().OperandType >= in randomizeMCOperand()
242 MCOI::OperandType::OPERAND_FIRST_TARGET) in randomizeMCOperand()
245 switch (Op.getExplicitOperandInfo().OperandType) { in randomizeMCOperand()
246 case MCOI::OperandType::OPERAND_IMMEDIATE: in randomizeMCOperand()
250 case MCOI::OperandType::OPERAND_REGISTER: { in randomizeMCOperand()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.h116 enum OperandType { enum
120 inline bool isVpred(OperandType op) { in isVpred()
124 return isVpred(static_cast<OperandType>(op)); in isVpred()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCCodeEmitter.cpp97 << int(Info.OperandType) << "\n"); in encodeInstruction()
98 switch (Info.OperandType) { in encodeInstruction()
140 switch (Info.OperandType) { in encodeInstruction()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DDelayedDiagnostic.h163 DD.ForbiddenTypeData.OperandType = type.getAsOpaquePtr(); in makeForbiddenType()
218 return QualType::getFromOpaquePtr(ForbiddenTypeData.OperandType); in getForbiddenTypeOperand()
250 void *OperandType; member
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYBaseInfo.h62 enum OperandType : unsigned { enum
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp397 const char *CFIProgram::operandTypeString(CFIProgram::OperandType OT) { in operandTypeString()
423 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsUnsigned()
468 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsSigned()
797 ArrayRef<CFIProgram::OperandType[CFIProgram::MaxOperands]>
799 static OperandType OpTypes[DW_CFA_restore + 1][MaxOperands]; in getOperandTypes()
802 return ArrayRef<OperandType[MaxOperands]>(&OpTypes[0], DW_CFA_restore + 1); in getOperandTypes()
855 return ArrayRef<OperandType[MaxOperands]>(&OpTypes[0], DW_CFA_restore + 1); in getOperandTypes()
864 OperandType Type = getOperandTypes()[Opcode][OperandIdx]; in printOperand()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h132 enum OperandType : unsigned { enum
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.td1074 let OperandType = opType#"_INT16";
1080 let OperandType = opType#"_FP16";
1092 let OperandType = opType#"_INT16";
1098 let OperandType = opType#"_FP16";
1104 let OperandType = opType#"_INT32";
1110 let OperandType = opType#"_FP32";
1116 let OperandType = opType#"_V2INT16";
1122 let OperandType = opType#"_V2FP16";
1133 let OperandType = opType#"_INT64";
1138 let OperandType = opType#"_FP64";
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp228 Op.getExplicitOperandInfo().OperandType == MCOI::OPERAND_PCREL) in isInvalidOpcode()
829 switch (Op.getExplicitOperandInfo().OperandType) { in randomizeTargetMCOperand()
830 case X86::OperandType::OPERAND_ROUNDING_CONTROL: in randomizeTargetMCOperand()
839 .concat(Twine(Op.getExplicitOperandInfo().OperandType))); in randomizeTargetMCOperand()
960 switch (Instr.getPrimaryOperand(Var).getExplicitOperandInfo().OperandType) { in generateInstructionVariants()
965 case X86::OperandType::OPERAND_COND_CODE: { in generateInstructionVariants()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.h71 enum OperandType { enum
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoC.td29 let OperandType = "OPERAND_UIMMLOG2XLEN_NONZERO";
45 let OperandType = "OPERAND_SIMM6";
60 let OperandType = "OPERAND_SIMM6_NONZERO";
73 let OperandType = "OPERAND_ZERO";
111 let OperandType = "OPERAND_UIMM7_LSB00";
127 let OperandType = "OPERAND_UIMM8_LSB00";
143 let OperandType = "OPERAND_UIMM8_LSB000";
167 let OperandType = "OPERAND_PCREL";
207 let OperandType = "OPERAND_SIMM10_LSB0000_NONZERO";
230 let OperandType = "OPERAND_PCREL";
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h504 enum OperandType { enum
518 static const char *operandTypeString(OperandType OT);
522 static ArrayRef<OperandType[MaxOperands]> getOperandTypes();
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp335 if (Op.OperandType == MCOI::OPERAND_REGISTER) { in typeCheck()
344 assert(Op.OperandType == MCOI::OPERAND_REGISTER && "Register expected"); in typeCheck()
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp105 if (Info->get(Inst.getOpcode()).operands()[0].OperandType == in evaluateBranch()

1234