LLVM  4.0.0
Public Member Functions | List of all members
llvm::AVRAsmParser Class Reference

Parses AVR assembly from a stream. More...

Inheritance diagram for llvm::AVRAsmParser:
[legend]
Collaboration diagram for llvm::AVRAsmParser:
[legend]

Public Member Functions

 AVRAsmParser (const MCSubtargetInfo &STI, MCAsmParser &Parser, const MCInstrInfo &MII, const MCTargetOptions &Options)
 
MCAsmParsergetParser () const
 
MCAsmLexergetLexer () const
 
- Public Member Functions inherited from llvm::MCTargetAsmParser
 ~MCTargetAsmParser () override
 
const MCSubtargetInfogetSTI () const
 
uint64_t getAvailableFeatures () const
 
void setAvailableFeatures (uint64_t Value)
 
bool isParsingInlineAsm ()
 
void setParsingInlineAsm (bool Value)
 
MCTargetOptions getTargetOptions () const
 
void setSemaCallback (MCAsmParserSemaCallback *Callback)
 
virtual void SetFrameRegister (unsigned RegNo)
 Sets frame register corresponding to the current MachineFunction. More...
 
virtual bool ParseInstruction (ParseInstructionInfo &Info, StringRef Name, AsmToken Token, OperandVector &Operands)
 
virtual bool OmitRegisterFromClobberLists (unsigned RegNo)
 Allows targets to let registers opt out of clobber lists. More...
 
virtual unsigned checkEarlyTargetMatchPredicate (MCInst &Inst, const OperandVector &Operands)
 Validate the instruction match against any complex target predicates before rendering any operands to it. More...
 
virtual unsigned checkTargetMatchPredicate (MCInst &Inst)
 checkTargetMatchPredicate - Validate the instruction match against any complex target predicates not expressible via match classes. More...
 
virtual void convertToMapAndConstraints (unsigned Kind, const OperandVector &Operands)=0
 
virtual bool equalIsAsmAssignment ()
 
virtual bool isLabel (AsmToken &Token)
 
virtual const MCExprapplyModifierToExpr (const MCExpr *E, MCSymbolRefExpr::VariantKind, MCContext &Ctx)
 
virtual void onLabelParsed (MCSymbol *Symbol)
 
virtual void flushPendingInstructions (MCStreamer &Out)
 Ensure that all previously parsed instructions have been emitted to the output streamer, if the target does not emit them immediately. More...
 
virtual const MCExprcreateTargetUnaryExpr (const MCExpr *E, AsmToken::TokenKind OperatorToken, MCContext &Ctx)
 
- Public Member Functions inherited from llvm::MCAsmParserExtension
virtual ~MCAsmParserExtension ()
 
virtual void Initialize (MCAsmParser &Parser)
 Initialize the extension for parsing using the given Parser. More...
 
MCContextgetContext ()
 
MCAsmLexergetLexer ()
 
const MCAsmLexergetLexer () const
 
MCAsmParsergetParser ()
 
const MCAsmParsergetParser () const
 
SourceMgrgetSourceManager ()
 
MCStreamergetStreamer ()
 
bool Warning (SMLoc L, const Twine &Msg)
 
bool Error (SMLoc L, const Twine &Msg, SMRange Range=SMRange())
 
void Note (SMLoc L, const Twine &Msg)
 
bool TokError (const Twine &Msg)
 
const AsmTokenLex ()
 
const AsmTokengetTok ()
 
bool parseToken (AsmToken::TokenKind T, const Twine &Msg="unexpected token")
 
bool parseMany (std::function< bool()> parseOne, bool hasComma=true)
 
bool parseOptionalToken (AsmToken::TokenKind T)
 
bool check (bool P, const llvm::Twine &Msg)
 
bool check (bool P, SMLoc Loc, const llvm::Twine &Msg)
 
bool addErrorSuffix (const Twine &Suffix)
 
bool HasBracketExpressions () const
 

Additional Inherited Members

- Public Types inherited from llvm::MCTargetAsmParser
enum  MatchResultTy {
  Match_InvalidOperand, Match_MissingFeature, Match_MnemonicFail, Match_Success,
  FIRST_TARGET_MATCH_RESULT_TY
}
 
- Protected Member Functions inherited from llvm::MCTargetAsmParser
 MCTargetAsmParser (MCTargetOptions const &, const MCSubtargetInfo &STI)
 
MCSubtargetInfocopySTI ()
 Create a copy of STI and return a non-const reference to it. More...
 
- Protected Member Functions inherited from llvm::MCAsmParserExtension
 MCAsmParserExtension ()
 
- Static Protected Member Functions inherited from llvm::MCAsmParserExtension
template<typename T , bool(T::*)(StringRef, SMLoc) Handler>
static bool HandleDirective (MCAsmParserExtension *Target, StringRef Directive, SMLoc DirectiveLoc)
 
- Protected Attributes inherited from llvm::MCTargetAsmParser
uint64_t AvailableFeatures
 AvailableFeatures - The current set of available features. More...
 
bool ParsingInlineAsm
 ParsingInlineAsm - Are we parsing ms-style inline assembly? More...
 
MCAsmParserSemaCallbackSemaCallback
 SemaCallback - The Sema callback implementation. More...
 
MCTargetOptions MCOptions
 Set of options which affects instrumentation of inline assembly. More...
 
const MCSubtargetInfoSTI
 Current STI. More...
 
- Protected Attributes inherited from llvm::MCAsmParserExtension
bool BracketExpressionsSupported
 

Detailed Description

Parses AVR assembly from a stream.

Definition at line 39 of file AVRAsmParser.cpp.

Constructor & Destructor Documentation

llvm::AVRAsmParser::AVRAsmParser ( const MCSubtargetInfo STI,
MCAsmParser Parser,
const MCInstrInfo MII,
const MCTargetOptions Options 
)
inline

Member Function Documentation

MCAsmLexer& llvm::AVRAsmParser::getLexer ( ) const
inline

Definition at line 94 of file AVRAsmParser.cpp.

References llvm::MCAsmParser::getLexer().

MCAsmParser& llvm::AVRAsmParser::getParser ( ) const
inline

Definition at line 93 of file AVRAsmParser.cpp.


The documentation for this class was generated from the following file: