9#ifndef LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H
10#define LLVM_MC_MCPARSER_MCPARSEDASMOPERAND_H
28 unsigned MCOperandNum = ~0u;
32 std::string Constraint;
94 virtual void dump()
const;
MCParsedAsmOperand - This abstract class represents a source-level assembly instruction operand.
virtual bool isMemUseUpRegs() const
isMemUseUpRegs - Is memory operand use up regs, for example, intel MS inline asm may use ARR[baseReg ...
MCParsedAsmOperand()=default
virtual SMLoc getStartLoc() const =0
getStartLoc - Get the location of the first token of this operand.
void setConstraint(StringRef C)
MCParsedAsmOperand(const MCParsedAsmOperand &RHS)=default
virtual bool isReg() const =0
isReg - Is this a register operand?
virtual bool isMem() const =0
isMem - Is this a memory operand?
virtual ~MCParsedAsmOperand()=default
virtual bool needAddressOf() const
needAddressOf - Do we need to emit code to get the address of the variable/label? Only valid when par...
virtual void dump() const
dump - Print to the debug stream.
virtual SMLoc getOffsetOfLoc() const
getOffsetOfLoc - Get the location of the offset operator.
virtual MCRegister getReg() const =0
virtual void print(raw_ostream &OS) const =0
print - Print a debug representation of the operand to the given stream.
virtual bool isOffsetOfLocal() const
isOffsetOfLocal - Do we need to emit code to get the offset of the local variable,...
virtual StringRef getSymName()
virtual bool isToken() const =0
isToken - Is this a token operand?
virtual bool isImm() const =0
isImm - Is this an immediate operand?
unsigned getMCOperandNum()
void setMCOperandNum(unsigned OpNum)
virtual SMLoc getEndLoc() const =0
getEndLoc - Get the location of the last token of this operand.
StringRef getConstraint()
MCParsedAsmOperand & operator=(const MCParsedAsmOperand &)=default
virtual void * getOpDecl()
Wrapper class representing physical registers. Should be passed by value.
Represents a location in source code.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)