|
LLVM
3.7.0
|
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"#include "MCTargetDesc/AMDGPUTargetStreamer.h"#include "Utils/AMDGPUBaseInfo.h"#include "AMDKernelCodeT.h"#include "SIDefines.h"#include "llvm/ADT/APFloat.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/STLExtras.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/MCRegisterInfo.h"#include "llvm/MC/MCStreamer.h"#include "llvm/MC/MCSubtargetInfo.h"#include "llvm/MC/MCTargetAsmParser.h"#include "llvm/Support/SourceMgr.h"#include "llvm/Support/TargetRegistry.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Support/Debug.h"#include "AMDGPUGenAsmMatcher.inc"Go to the source code of this file.
Macros | |
| #define | GET_REGISTER_MATCHER |
| #define | GET_MATCHER_IMPLEMENTATION |
Auto-generated Match Functions | |
{ | |
| #define | GET_ASSEMBLER_HEADER |
Functions | |
| static unsigned | getRegClass (bool IsVgpr, unsigned RegWidth) |
| static unsigned | getRegForName (const StringRef &RegName) |
| static bool | operandsHaveModifiers (const OperandVector &Operands) |
| static bool | operandsHasOptionalOp (const OperandVector &Operands, const OptionalOperand &OOp) |
| static bool | ConvertOmodMul (int64_t &Mul) |
| static bool | ConvertOmodDiv (int64_t &Div) |
| static bool | isVOP3 (OperandVector &Operands) |
| void | LLVMInitializeAMDGPUAsmParser () |
| Force static initialization. More... | |
Variables | |
| static const OptionalOperand | DSOptionalOps [] |
| static const OptionalOperand | DSOptionalOpsOff01 [] |
| static const OptionalOperand | FlatOptionalOps [] |
| static const OptionalOperand | FlatAtomicOptionalOps [] |
| static const OptionalOperand | MubufOptionalOps [] |
| static const OptionalOperand | VOP3OptionalOps [] |
| #define GET_ASSEMBLER_HEADER |
Definition at line 315 of file AMDGPUAsmParser.cpp.
| #define GET_MATCHER_IMPLEMENTATION |
Definition at line 1690 of file AMDGPUAsmParser.cpp.
| #define GET_REGISTER_MATCHER |
Definition at line 1689 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1585 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1577 of file AMDGPUAsmParser.cpp.
Definition at line 423 of file AMDGPUAsmParser.cpp.
References llvm_unreachable.
Referenced by llvm::X86InstrInfo::foldMemoryOperandImpl(), llvm::AArch64InstrInfo::getMemOpBaseRegImmOfs(), llvm::SIRegisterInfo::isSGPRClassID(), and llvm::X86InstrInfo::unfoldMemoryOperand().
Definition at line 446 of file AMDGPUAsmParser.cpp.
References llvm::StringSwitch< T, R >::Case(), and llvm::StringSwitch< T, R >::Default().
|
static |
Definition at line 1605 of file AMDGPUAsmParser.cpp.
References operandsHaveModifiers(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
| void LLVMInitializeAMDGPUAsmParser | ( | ) |
Force static initialization.
Definition at line 1684 of file AMDGPUAsmParser.cpp.
References llvm::ARM_PROC::A, llvm::TheAMDGPUTarget, and llvm::TheGCNTarget.
|
static |
Definition at line 1151 of file AMDGPUAsmParser.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
|
static |
Definition at line 900 of file AMDGPUAsmParser.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
Referenced by isVOP3().
|
static |
Definition at line 1201 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1206 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1420 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1414 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1475 of file AMDGPUAsmParser.cpp.
|
static |
Definition at line 1599 of file AMDGPUAsmParser.cpp.
1.8.6