LLVM 20.0.0git
|
#include "SPIRVTargetMachine.h"
#include "SPIRV.h"
#include "SPIRVCallLowering.h"
#include "SPIRVGlobalRegistry.h"
#include "SPIRVLegalizerInfo.h"
#include "SPIRVStructurizerWrapper.h"
#include "SPIRVTargetObjectFile.h"
#include "SPIRVTargetTransformInfo.h"
#include "TargetInfo/SPIRVTargetInfo.h"
#include "llvm/CodeGen/GlobalISel/IRTranslator.h"
#include "llvm/CodeGen/GlobalISel/InstructionSelect.h"
#include "llvm/CodeGen/GlobalISel/Legalizer.h"
#include "llvm/CodeGen/GlobalISel/RegBankSelect.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Pass.h"
#include "llvm/Passes/PassBuilder.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar/Reg2Mem.h"
#include "llvm/Transforms/Utils.h"
#include <optional>
#include "llvm/Passes/TargetPassRegistry.inc"
Go to the source code of this file.
Macros | |
#define | GET_PASS_REGISTRY "SPIRVPassRegistry.def" |
Functions | |
LLVM_EXTERNAL_VISIBILITY void | LLVMInitializeSPIRVTarget () |
static std::string | computeDataLayout (const Triple &TT) |
static Reloc::Model | getEffectiveRelocModel (std::optional< Reloc::Model > RM) |
Variables | |
static cl::opt< bool > | SPVEnableNonSemanticDI ("spv-emit-nonsemantic-debug-info", cl::desc("Emit SPIR-V NonSemantic.Shader.DebugInfo.100 instructions"), cl::Optional, cl::init(false)) |
#define GET_PASS_REGISTRY "SPIRVPassRegistry.def" |
Definition at line 53 of file SPIRVTargetMachine.cpp.
References llvm::Triple::spirv32.
|
static |
Definition at line 71 of file SPIRVTargetMachine.cpp.
References llvm::Reloc::PIC_.
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTarget | ( | ) |
Definition at line 40 of file SPIRVTargetMachine.cpp.
References llvm::PassRegistry::getPassRegistry(), llvm::getTheSPIRV32Target(), llvm::getTheSPIRV64Target(), llvm::getTheSPIRVLogicalTarget(), llvm::initializeGlobalISel(), llvm::initializeSPIRVConvergenceRegionAnalysisWrapperPassPass(), llvm::initializeSPIRVModuleAnalysisPass(), llvm::initializeSPIRVStructurizerPass(), X, and Y.
|
static |