Home
last modified time | relevance | path

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

12345

/llvm-project/mlir/include/mlir/IR/
H A DUseDefLists.h23 template <typename OperandType>
25 template <typename UseIteratorT, typename OperandType>
194 template <typename OperandType>
212 assert((!newValue || this != OperandType::getUseList(newValue)) && in replaceAllUsesWith()
246 using use_iterator = ValueUseIterator<OperandType>;
267 using user_iterator = ValueUserIterator<use_iterator, OperandType>;
281 OperandType *getFirstUse() const { return (OperandType *)firstUse; } in getFirstUse()
302 template <typename OperandType>
304 : public llvm::iterator_facade_base<ValueUseIterator<OperandType>,
306 OperandType> {
[all …]
/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.cpp81 std::string OperandType = "OPERAND_UNKNOWN"; in CGIOperandList() local
87 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
92 OperandType = std::string(Rec->getValueAsString("OperandType")); in CGIOperandList()
120 OperandType = "OPERAND_REGISTER"; in CGIOperandList()
141 OperandNamespace + "::" + OperandType, MIOperandNo, NumOps, MIOpInfo); in CGIOperandList()
H A DCodeGenInstruction.h93 /// OperandType - A value from MCOI::OperandType representing the type of
95 std::string OperandType; member
123 EncoderMethodNames(MINO), OperandType(OT), MIOperandNo(MION), in OperandInfo()
/llvm-project/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()
/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
[all...]
H A DWebAssemblySetP2AlignOperands.cpp64 assert(MI.getDesc().operands()[OperandNo].OperandType == in rewriteP2Align()
H A DWebAssemblyMCInstLower.cpp204 if (Info.OperandType == WebAssembly::OPERAND_TYPEINDEX) { in lower()
231 if (Info.OperandType == WebAssembly::OPERAND_SIGNATURE) { in lower()
/llvm-project/llvm/lib/Target/X86/
H A DX86InstrOperands.td58 let OperandType = "OPERAND_MEMORY";
153 let OperandType = "OPERAND_PCREL";
308 let OperandType = "OPERAND_COND_CODE";
336 let OperandType = "OPERAND_ROUNDING_CONTROL";
395 let OperandType = "OPERAND_IMMEDIATE";
400 let OperandType = "OPERAND_IMMEDIATE";
406 let OperandType = "OPERAND_IMMEDIATE";
412 let OperandType = "OPERAND_IMMEDIATE";
419 let OperandType = "OPERAND_IMMEDIATE";
425 let OperandType
[all...]
/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td624 let OperandType = "OPERAND_IMMEDIATE";
635 let OperandType = "OPERAND_IMMEDIATE";
645 let OperandType = "OPERAND_IMMEDIATE";
656 let OperandType = "OPERAND_IMMEDIATE";
667 let OperandType = "OPERAND_IMMEDIATE";
677 let OperandType = "OPERAND_IMMEDIATE";
687 let OperandType = "OPERAND_IMMEDIATE";
697 let OperandType = "OPERAND_IMMEDIATE";
707 let OperandType = "OPERAND_IMMEDIATE";
717 let OperandType
[all...]
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.h113 enum OperandType {
117 inline bool isVpred(OperandType op) {
121 return isVpred(static_cast<OperandType>(op)); in isVpred()
115 enum OperandType { global() enum
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DSnippetGenerator.cpp254 if (Op.getExplicitOperandInfo().OperandType >= in randomizeMCOperand()
255 MCOI::OperandType::OPERAND_FIRST_TARGET) in randomizeMCOperand()
258 switch (Op.getExplicitOperandInfo().OperandType) { in randomizeMCOperand()
259 case MCOI::OperandType::OPERAND_IMMEDIATE: in randomizeMCOperand()
263 case MCOI::OperandType::OPERAND_REGISTER: { in randomizeMCOperand()
/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()
/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
/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.cpp114 assert(Op.OperandType != "MCOI::OPERAND_UNKNOWN"); in emitWebAssemblyDisassemblerTables()
115 CurOperandList.push_back(Op.OperandType); in emitWebAssemblyDisassemblerTables()
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoC.td28 let OperandType = "OPERAND_UIMMLOG2XLEN_NONZERO";
53 let OperandType = "OPERAND_SIMM6_NONZERO";
65 let OperandType = "OPERAND_ZERO";
87 let OperandType = "OPERAND_CLUI_IMM";
103 let OperandType = "OPERAND_UIMM7_LSB00";
118 let OperandType = "OPERAND_UIMM8_LSB00";
133 let OperandType = "OPERAND_UIMM8_LSB000";
155 let OperandType = "OPERAND_PCREL";
164 let OperandType = "OPERAND_UIMM9_LSB000";
181 let OperandType
[all...]
H A DRISCVInstrInfoZc.td23 let OperandType = "OPERAND_UIMM2_LSB0";
35 let OperandType = "OPERAND_UIMM8_GE32";
78 let OperandType = "OPERAND_SPIMM";
91 let OperandType = "OPERAND_SPIMM";
/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYBaseInfo.h62 enum OperandType : unsigned { enum
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp397 const char *CFIProgram::operandTypeString(CFIProgram::OperandType OT) { in operandTypeString()
413 return "<unknown CFIProgram::OperandType>"; in operandTypeString()
423 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsUnsigned()
438 "op[%" PRIu32 "] has OperandType OT_Offset which produces a signed " in getOperandAsUnsigned()
468 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsSigned()
483 "op[%" PRIu32 "] has OperandType %s which produces an unsigned result, " in getOperandAsSigned()
821 ArrayRef<CFIProgram::OperandType[CFIProgram::MaxOperands]> in getOperandTypes()
823 static OperandType OpTypes[DW_CFA_restore + 1][MaxOperands]; in getOperandTypes()
826 return ArrayRef<OperandType[MaxOperands]>(&OpTypes[0], DW_CFA_restore + 1); in getOperandTypes()
880 return ArrayRef<OperandType[MaxOperand in printOperand()
[all...]
/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h137 enum OperandType : unsigned {
132 enum OperandType : unsigned { global() enum
/llvm-project/llvm/test/TableGen/
H A DAsmWriterPCRelOp.td17 let OperandType = "OPERAND_PCREL";
/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.h71 enum OperandType {
72 enum OperandType { global() enum
/llvm-project/llvm/tools/llvm-exegesis/lib/X86/
H A DTarget.cpp246 Op.getExplicitOperandInfo().OperandType == MCOI::OPERAND_PCREL) in isInvalidOpcode()
895 switch (Op.getExplicitOperandInfo().OperandType) { in randomizeTargetMCOperand()
896 case X86::OperandType::OPERAND_COND_CODE: in randomizeTargetMCOperand()
900 case X86::OperandType::OPERAND_ROUNDING_CONTROL:
909 .concat(Twine(Op.getExplicitOperandInfo().OperandType))); in fillMemoryOperands()
1324 switch (Instr.getPrimaryOperand(Var).getExplicitOperandInfo().OperandType) { in generateInstructionVariants()
1329 case X86::OperandType::OPERAND_COND_CODE: { in generateInstructionVariants()
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugFrame.h504 enum OperandType { enum
517 /// Get the OperandType as a "const char *".
518 static const char *operandTypeString(OperandType OT);
522 static ArrayRef<OperandType[MaxOperands]> getOperandTypes();

12345