LLVM 20.0.0git
|
#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 () |
#define DEBUG_TYPE "asm-printer" |
Definition at line 43 of file SPIRVAsmPrinter.cpp.
|
static |
Definition at line 410 of file SPIRVAsmPrinter.cpp.
References llvm::MCInst::addOperand(), assert(), llvm::CallingConv::C, llvm::MCOperand::createImm(), llvm::MCOperand::createReg(), llvm::SPIRV::ModuleAnalysisInfo::getFuncReg(), llvm::Register::isValid(), and llvm::MDNode::operands().
Definition at line 381 of file SPIRVAsmPrinter.cpp.
References encodeVecTypeHint(), llvm::Type::isDoubleTy(), llvm::Type::isFloatTy(), llvm::Type::isHalfTy(), llvm_unreachable, and Size.
Referenced by encodeVecTypeHint().
|
static |
Definition at line 230 of file SPIRVAsmPrinter.cpp.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVAsmPrinter | ( | ) |
Definition at line 605 of file SPIRVAsmPrinter.cpp.
References llvm::getTheSPIRV32Target(), llvm::getTheSPIRV64Target(), llvm::getTheSPIRVLogicalTarget(), X, and Y.