LLVM  12.0.0git
Macros | Functions
VEAsmPrinter.cpp File Reference
#include "MCTargetDesc/VEInstPrinter.h"
#include "MCTargetDesc/VEMCExpr.h"
#include "MCTargetDesc/VETargetStreamer.h"
#include "TargetInfo/VETargetInfo.h"
#include "VE.h"
#include "VEInstrInfo.h"
#include "VETargetMachine.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/Mangler.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for VEAsmPrinter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ve-asmprinter"
 

Functions

static MCOperand createVEMCOperand (VEMCExpr::VariantKind Kind, MCSymbol *Sym, MCContext &OutContext)
 
static MCOperand createGOTRelExprOp (VEMCExpr::VariantKind Kind, MCSymbol *GOTLabel, MCContext &OutContext)
 
static void emitSIC (MCStreamer &OutStreamer, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitBSIC (MCStreamer &OutStreamer, MCOperand &R1, MCOperand &R2, const MCSubtargetInfo &STI)
 
static void emitLEAzzi (MCStreamer &OutStreamer, MCOperand &Imm, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitLEASLzzi (MCStreamer &OutStreamer, MCOperand &Imm, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitLEAzii (MCStreamer &OutStreamer, MCOperand &RS1, MCOperand &Imm, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitLEASLrri (MCStreamer &OutStreamer, MCOperand &RS1, MCOperand &RS2, MCOperand &Imm, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitBinary (MCStreamer &OutStreamer, unsigned Opcode, MCOperand &RS1, MCOperand &Src2, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitANDrm (MCStreamer &OutStreamer, MCOperand &RS1, MCOperand &Imm, MCOperand &RD, const MCSubtargetInfo &STI)
 
static void emitHiLo (MCStreamer &OutStreamer, MCSymbol *GOTSym, VEMCExpr::VariantKind HiKind, VEMCExpr::VariantKind LoKind, MCOperand &RD, MCContext &OutContext, const MCSubtargetInfo &STI)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeVEAsmPrinter ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ve-asmprinter"

Definition at line 37 of file VEAsmPrinter.cpp.

Function Documentation

◆ createGOTRelExprOp()

static MCOperand createGOTRelExprOp ( VEMCExpr::VariantKind  Kind,
MCSymbol GOTLabel,
MCContext OutContext 
)
static

◆ createVEMCOperand()

static MCOperand createVEMCOperand ( VEMCExpr::VariantKind  Kind,
MCSymbol Sym,
MCContext OutContext 
)
static

◆ emitANDrm()

static void emitANDrm ( MCStreamer OutStreamer,
MCOperand RS1,
MCOperand Imm,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

Definition at line 162 of file VEAsmPrinter.cpp.

References emitBinary().

Referenced by emitHiLo().

◆ emitBinary()

static void emitBinary ( MCStreamer OutStreamer,
unsigned  Opcode,
MCOperand RS1,
MCOperand Src2,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ emitBSIC()

static void emitBSIC ( MCStreamer OutStreamer,
MCOperand R1,
MCOperand R2,
const MCSubtargetInfo STI 
)
static

◆ emitHiLo()

static void emitHiLo ( MCStreamer OutStreamer,
MCSymbol GOTSym,
VEMCExpr::VariantKind  HiKind,
VEMCExpr::VariantKind  LoKind,
MCOperand RD,
MCContext OutContext,
const MCSubtargetInfo STI 
)
static

◆ emitLEASLrri()

static void emitLEASLrri ( MCStreamer OutStreamer,
MCOperand RS1,
MCOperand RS2,
MCOperand Imm,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ emitLEASLzzi()

static void emitLEASLzzi ( MCStreamer OutStreamer,
MCOperand Imm,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ emitLEAzii()

static void emitLEAzii ( MCStreamer OutStreamer,
MCOperand RS1,
MCOperand Imm,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ emitLEAzzi()

static void emitLEAzzi ( MCStreamer OutStreamer,
MCOperand Imm,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ emitSIC()

static void emitSIC ( MCStreamer OutStreamer,
MCOperand RD,
const MCSubtargetInfo STI 
)
static

◆ LLVMInitializeVEAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeVEAsmPrinter ( )

Definition at line 391 of file VEAsmPrinter.cpp.

References llvm::getTheVETarget(), and X.