Searched refs:AsmWriterOperand (Results 1 – 3 of 3) sorted by relevance
25 struct AsmWriterOperand { struct53 AsmWriterOperand(OpType op = isLiteralTextOperand) : OperandType(op) {} in OperandType() argument55 AsmWriterOperand(const std::string &LitStr, OpType op = isLiteralTextOperand)58 AsmWriterOperand(const std::string &Printer, unsigned _MIOpNo, argument64 bool operator!=(const AsmWriterOperand &Other) const { argument72 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()
23 std::string AsmWriterOperand::getCode(bool PassSubtarget) const { in getCode()181 AsmWriterOperand::isMachineInstrOperand, in AsmWriterInst()188 Operands.emplace_back("return;", AsmWriterOperand::isLiteralStatementOperand); in AsmWriterInst()
89 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()