LLVM 20.0.0git
Macros | Functions
SPIRVAsmPrinter.cpp File Reference
#include "MCTargetDesc/SPIRVInstPrinter.h"
#include "SPIRV.h"
#include "SPIRVInstrInfo.h"
#include "SPIRVMCInstLower.h"
#include "SPIRVModuleAnalysis.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.h"
#include "TargetInfo/SPIRVTargetInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCSPIRVObjectWriter.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"
 

Functions

static bool isFuncOrHeaderInstr (const MachineInstr *MI, const SPIRVInstrInfo *TII)
 
static unsigned encodeVecTypeHint (Type *Ty)
 
static void addOpsFromMDNode (MDNode *MDN, MCInst &Inst, SPIRV::ModuleAnalysisInfo *MAI)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVAsmPrinter ()
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 43 of file SPIRVAsmPrinter.cpp.

Function Documentation

◆ addOpsFromMDNode()

static void addOpsFromMDNode ( MDNode MDN,
MCInst Inst,
SPIRV::ModuleAnalysisInfo MAI 
)
static

◆ encodeVecTypeHint()

static unsigned encodeVecTypeHint ( Type Ty)
static

◆ isFuncOrHeaderInstr()

static bool isFuncOrHeaderInstr ( const MachineInstr MI,
const SPIRVInstrInfo TII 
)
static

Definition at line 242 of file SPIRVAsmPrinter.cpp.

References MI, and TII.

◆ LLVMInitializeSPIRVAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVAsmPrinter ( )