LLVM  4.0.0
Namespaces | Enumerations | Functions | Variables
AsmParser.cpp File Reference
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeView.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCParser/AsmCond.h"
#include "llvm/MC/MCParser/AsmLexer.h"
#include "llvm/MC/MCParser/MCAsmLexer.h"
#include "llvm/MC/MCParser/MCAsmParser.h"
#include "llvm/MC/MCParser/MCAsmParserUtils.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/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <deque>
#include <memory>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::MCParserUtils
 

Enumerations

enum  { DEFAULT_ADDRSPACE = 0 }
 

Functions

MCAsmParserExtensionllvm::createDarwinAsmParser ()
 
MCAsmParserExtensionllvm::createELFAsmParser ()
 
MCAsmParserExtensionllvm::createCOFFAsmParser ()
 
static unsigned getDarwinBinOpPrecedence (AsmToken::TokenKind K, MCBinaryExpr::Opcode &Kind, bool ShouldUseLogicalShr)
 
static unsigned getGNUBinOpPrecedence (AsmToken::TokenKind K, MCBinaryExpr::Opcode &Kind, bool ShouldUseLogicalShr)
 
static bool isIdentifierChar (char c)
 
static bool isOperator (AsmToken::TokenKind kind)
 
static bool isValidEncoding (int64_t Encoding)
 
static int rewritesSort (const AsmRewrite *AsmRewriteA, const AsmRewrite *AsmRewriteB)
 
static bool llvm::MCParserUtils::isSymbolUsedInExpression (const MCSymbol *Sym, const MCExpr *Value)
 Returns whether the given symbol is used anywhere in the given expression, or subexpressions. More...
 
bool llvm::MCParserUtils::parseAssignmentExpression (StringRef Name, bool allow_redef, MCAsmParser &Parser, MCSymbol *&Symbol, const MCExpr *&Value)
 Parse a value expression and return whether it can be assigned to a symbol with the given name. More...
 

Variables

static cl::opt< unsignedAsmMacroMaxNestingDepth ("asm-macro-max-nesting-depth", cl::init(20), cl::Hidden, cl::desc("The maximum nesting depth allowed for assembly macros."))
 

Enumeration Type Documentation

anonymous enum
Enumerator
DEFAULT_ADDRSPACE 

Definition at line 572 of file AsmParser.cpp.

Function Documentation

static unsigned getDarwinBinOpPrecedence ( AsmToken::TokenKind  K,
MCBinaryExpr::Opcode Kind,
bool  ShouldUseLogicalShr 
)
static
static unsigned getGNUBinOpPrecedence ( AsmToken::TokenKind  K,
MCBinaryExpr::Opcode Kind,
bool  ShouldUseLogicalShr 
)
static
static bool isIdentifierChar ( char  c)
static

Definition at line 2169 of file AsmParser.cpp.

static bool isOperator ( AsmToken::TokenKind  kind)
static

Definition at line 2294 of file AsmParser.cpp.

References llvm::CodeGenOpt::Less, and AMDGPU::RuntimeMD::KernelArg::Pipe.

static bool isValidEncoding ( int64_t  Encoding)
static
static int rewritesSort ( const AsmRewrite AsmRewriteA,
const AsmRewrite AsmRewriteB 
)
static

Variable Documentation

cl::opt<unsigned> AsmMacroMaxNestingDepth("asm-macro-max-nesting-depth", cl::init(20), cl::Hidden, cl::desc("The maximum nesting depth allowed for assembly macros."))
static