Home
last modified time | relevance | path

Searched refs:AsmWriterOperand (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DAsmWriterInst.h25 struct AsmWriterOperand { struct
53 AsmWriterOperand(OpType op = isLiteralTextOperand) : OperandType(op) {} in OperandType() argument
55 AsmWriterOperand(const std::string &LitStr, OpType op = isLiteralTextOperand)
58 AsmWriterOperand(const std::string &Printer, unsigned _MIOpNo, argument
64 bool operator!=(const AsmWriterOperand &Other) const { argument
72 bool operator==(const AsmWriterOperand &Other) const {
82 std::vector<AsmWriterOperand> Operands;
99 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
102 Operands.push_back(AsmWriterOperand(Str)); in AddLiteralString()
H A DAsmWriterInst.cpp23 std::string AsmWriterOperand::getCode(bool PassSubtarget) const { in getCode()
181 AsmWriterOperand::isMachineInstrOperand, in AsmWriterInst()
188 Operands.emplace_back("return;", AsmWriterOperand::isLiteralStatementOperand); in AsmWriterInst()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp89 PrintCases(std::vector<std::pair<std::string, AsmWriterOperand>> &OpsToPrint, in PrintCases()
92 AsmWriterOperand TheOp = OpsToPrint.back().second; in PrintCases()
146 std::vector<std::pair<std::string, AsmWriterOperand>> OpsToPrint; in EmitInstructions()
350 if (AWI.Operands[0].OperandType == AsmWriterOperand::isLiteralTextOperand && in EmitGetMnemonic()
363 if (AWI.Operands[0].OperandType != AsmWriterOperand::isLiteralTextOperand || in EmitGetMnemonic()