LLVM 17.0.0git
Macros | Functions
SystemZAsmPrinter.cpp File Reference
#include "SystemZAsmPrinter.h"
#include "MCTargetDesc/SystemZInstPrinter.h"
#include "SystemZConstantPoolValue.h"
#include "SystemZMCInstLower.h"
#include "TargetInfo/SystemZTargetInfo.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/Mangler.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/TargetRegistry.h"

Go to the source code of this file.

Macros

#define LOWER_LOW(NAME)    case SystemZ::NAME##64: LoweredMI = lowerRILow(MI, SystemZ::NAME); break
 
#define LOWER_HIGH(NAME)    case SystemZ::NAME##64: LoweredMI = lowerRIHigh(MI, SystemZ::NAME); break
 

Functions

static MCInst lowerRILow (const MachineInstr *MI, unsigned Opcode)
 
static MCInst lowerRIHigh (const MachineInstr *MI, unsigned Opcode)
 
static MCInst lowerRIEfLow (const MachineInstr *MI, unsigned Opcode)
 
static const MCSymbolRefExprgetTLSGetOffset (MCContext &Context)
 
static const MCSymbolRefExprgetGlobalOffsetTable (MCContext &Context)
 
static void lowerAlignmentHint (const MachineInstr *MI, MCInst &LoweredMI, unsigned Opcode)
 
static MCInst lowerSubvectorLoad (const MachineInstr *MI, unsigned Opcode)
 
static MCInst lowerSubvectorStore (const MachineInstr *MI, unsigned Opcode)
 
static unsigned EmitNop (MCContext &OutContext, MCStreamer &OutStreamer, unsigned NumBytes, const MCSubtargetInfo &STI)
 
static MCSymbolRefExpr::VariantKind getModifierVariantKind (SystemZCP::SystemZCPModifier Modifier)
 
static void printFormattedRegName (const MCAsmInfo *MAI, unsigned RegNo, raw_ostream &OS)
 
static void printOperand (const MCOperand &MCOp, const MCAsmInfo *MAI, raw_ostream &OS)
 
static void printAddress (const MCAsmInfo *MAI, unsigned Base, const MCOperand &DispMO, unsigned Index, raw_ostream &OS)
 
static void emitPPA1Flags (std::unique_ptr< MCStreamer > &OutStreamer, bool VarArg, bool StackProtector, bool FPRMask, bool VRMask)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSystemZAsmPrinter ()
 

Macro Definition Documentation

◆ LOWER_HIGH

#define LOWER_HIGH (   NAME)     case SystemZ::NAME##64: LoweredMI = lowerRIHigh(MI, SystemZ::NAME); break

◆ LOWER_LOW

#define LOWER_LOW (   NAME)     case SystemZ::NAME##64: LoweredMI = lowerRILow(MI, SystemZ::NAME); break

Function Documentation

◆ EmitNop()

static unsigned EmitNop ( MCContext OutContext,
MCStreamer OutStreamer,
unsigned  NumBytes,
const MCSubtargetInfo STI 
)
static

◆ emitPPA1Flags()

static void emitPPA1Flags ( std::unique_ptr< MCStreamer > &  OutStreamer,
bool  VarArg,
bool  StackProtector,
bool  FPRMask,
bool  VRMask 
)
static

Definition at line 889 of file SystemZAsmPrinter.cpp.

References llvm::LLVM_MARK_AS_BITMASK_ENUM.

◆ getGlobalOffsetTable()

static const MCSymbolRefExpr * getGlobalOffsetTable ( MCContext Context)
static

◆ getModifierVariantKind()

static MCSymbolRefExpr::VariantKind getModifierVariantKind ( SystemZCP::SystemZCPModifier  Modifier)
static

◆ getTLSGetOffset()

static const MCSymbolRefExpr * getTLSGetOffset ( MCContext Context)
static

◆ LLVMInitializeSystemZAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSystemZAsmPrinter ( )

Definition at line 1160 of file SystemZAsmPrinter.cpp.

References llvm::getTheSystemZTarget(), and X.

◆ lowerAlignmentHint()

static void lowerAlignmentHint ( const MachineInstr MI,
MCInst LoweredMI,
unsigned  Opcode 
)
static

◆ lowerRIEfLow()

static MCInst lowerRIEfLow ( const MachineInstr MI,
unsigned  Opcode 
)
static

◆ lowerRIHigh()

static MCInst lowerRIHigh ( const MachineInstr MI,
unsigned  Opcode 
)
static

◆ lowerRILow()

static MCInst lowerRILow ( const MachineInstr MI,
unsigned  Opcode 
)
static

◆ lowerSubvectorLoad()

static MCInst lowerSubvectorLoad ( const MachineInstr MI,
unsigned  Opcode 
)
static

◆ lowerSubvectorStore()

static MCInst lowerSubvectorStore ( const MachineInstr MI,
unsigned  Opcode 
)
static

◆ printAddress()

static void printAddress ( const MCAsmInfo MAI,
unsigned  Base,
const MCOperand DispMO,
unsigned  Index,
raw_ostream OS 
)
static

◆ printFormattedRegName()

static void printFormattedRegName ( const MCAsmInfo MAI,
unsigned  RegNo,
raw_ostream OS 
)
static

◆ printOperand()

static void printOperand ( const MCOperand MCOp,
const MCAsmInfo MAI,
raw_ostream OS 
)
static