Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:InlineAsm

28 #include "llvm/IR/InlineAsm.h"
906 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
907 if (ExtraInfo & InlineAsm::Extra_IsAlignStack)
913 InlineAsm::AsmDialect MachineInstr::getInlineAsmDialect() const {
915 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
916 return InlineAsm::AsmDialect((ExtraInfo & InlineAsm::Extra_AsmDialect) != 0);
925 if (OpIdx < InlineAsm::MIOp_FirstOperand)
930 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e;
936 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm());
974 if (InlineAsm::hasRegClassConstraint(Flag, RCID))
978 if (InlineAsm::getKind(Flag) == InlineAsm::Kind_Mem)
1107 /// instruction. INLINEASM instructions allow more tied defs.
1161 for (unsigned i = InlineAsm::MIOp_FirstOperand, e = getNumOperands(); i < e;
1167 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm());
1172 if (!InlineAsm::isUseOperandTiedToDef(FlagMO.getImm(), TiedGroup))
1344 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
1345 if (ExtraInfo & InlineAsm::Extra_HasSideEffects)
1454 if (isInlineAsm() && e >= InlineAsm::MIOp_FirstOperand) {
1457 getOperand(InlineAsm::MIOp_AsmString).print(OS, TM);
1460 unsigned ExtraInfo = getOperand(InlineAsm::MIOp_ExtraInfo).getImm();
1461 if (ExtraInfo & InlineAsm::Extra_HasSideEffects)
1463 if (ExtraInfo & InlineAsm::Extra_MayLoad)
1465 if (ExtraInfo & InlineAsm::Extra_MayStore)
1467 if (ExtraInfo & InlineAsm::Extra_IsAlignStack)
1469 if (getInlineAsmDialect() == InlineAsm::AD_ATT)
1471 if (getInlineAsmDialect() == InlineAsm::AD_Intel)
1474 StartOp = AsmDescOp = InlineAsm::MIOp_FirstOperand;
1534 switch (InlineAsm::getKind(Flag)) {
1535 case InlineAsm::Kind_RegUse: OS << ":[reguse"; break;
1536 case InlineAsm::Kind_RegDef: OS << ":[regdef"; break;
1537 case InlineAsm::Kind_RegDefEarlyClobber: OS << ":[regdef-ec"; break;
1538 case InlineAsm::Kind_Clobber: OS << ":[clobber"; break;
1539 case InlineAsm::Kind_Imm: OS << ":[imm"; break;
1540 case InlineAsm::Kind_Mem: OS << ":[mem"; break;
1541 default: OS << ":[??" << InlineAsm::getKind(Flag); break;
1545 if (InlineAsm::hasRegClassConstraint(Flag, RCID)) {
1553 if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo))
1559 AsmDescOp += 1 + InlineAsm::getNumOperandRegisters(Flag);