|
LLVM
4.0.0
|
#include "MCTargetDesc/X86BaseInfo.h"#include "X86AsmInstrumentation.h"#include "X86AsmParserCommon.h"#include "X86Operand.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/ADT/Twine.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCInst.h"#include "llvm/MC/MCInstrInfo.h"#include "llvm/MC/MCParser/MCAsmLexer.h"#include "llvm/MC/MCParser/MCAsmParser.h"#include "llvm/MC/MCParser/MCParsedAsmOperand.h"#include "llvm/MC/MCParser/MCTargetAsmParser.h"#include "llvm/MC/MCRegisterInfo.h"#include "llvm/MC/MCSection.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSubtargetInfo.h"#include "llvm/MC/MCSymbol.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>#include <memory>#include "X86GenAsmMatcher.inc"Go to the source code of this file.
Macros | |
Auto-generated Matcher Functions | |
{ | |
| #define | GET_ASSEMBLER_HEADER |
Auto-generated Match Functions | |
| #define | GET_REGISTER_MATCHER |
| #define | GET_MATCHER_IMPLEMENTATION |
| #define | GET_SUBTARGET_FEATURE_NAME |
| enum | IntelOperatorKind { IOK_LENGTH, IOK_SIZE, IOK_TYPE } |
| static unsigned | MatchRegisterName (StringRef Name) |
| static bool | CheckBaseRegAndIndexReg (unsigned BaseReg, unsigned IndexReg, StringRef &ErrMsg) |
| } More... | |
| static unsigned | getIntelMemOperandSize (StringRef OpStr) |
| getIntelMemOperandSize - Return intel memory operand size. More... | |
| static void | RewriteIntelBracExpression (SmallVectorImpl< AsmRewrite > &AsmRewrites, StringRef SymName, int64_t ImmDisp, int64_t FinalImmDisp, SMLoc &BracLoc, SMLoc &StartInBrac, SMLoc &End) |
| static const char * | getSubtargetFeatureName (uint64_t Val) |
| void | LLVMInitializeX86AsmParser () |
| #define GET_ASSEMBLER_HEADER |
Definition at line 811 of file X86AsmParser.cpp.
| #define GET_MATCHER_IMPLEMENTATION |
Definition at line 3182 of file X86AsmParser.cpp.
| #define GET_REGISTER_MATCHER |
Definition at line 3181 of file X86AsmParser.cpp.
| #define GET_SUBTARGET_FEATURE_NAME |
Definition at line 3183 of file X86AsmParser.cpp.
| enum IntelOperatorKind |
| Enumerator | |
|---|---|
| IOK_LENGTH | |
| IOK_SIZE | |
| IOK_TYPE | |
Definition at line 1718 of file X86AsmParser.cpp.
getIntelMemOperandSize - Return intel memory operand size.
Definition at line 1160 of file X86AsmParser.cpp.
References Cases.
|
static |
| void LLVMInitializeX86AsmParser | ( | ) |
Definition at line 3176 of file X86AsmParser.cpp.
References llvm::getTheX86_32Target(), llvm::getTheX86_64Target(), X, and Y.
|
static |
Definition at line 1230 of file X86AsmParser.cpp.
References llvm::AOK_Delete, llvm::AOK_Imm, llvm::AOK_ImmPrefix, llvm::AOK_Skip, assert(), llvm::StringRef::data(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::SMLoc::getFromPointer(), llvm::SMLoc::getPointer(), and llvm::StringRef::size().
1.8.6