LLVM 20.0.0git
Functions
SPIRVTargetMachine.cpp File Reference
#include "SPIRVTargetMachine.h"
#include "SPIRV.h"
#include "SPIRVCallLowering.h"
#include "SPIRVGlobalRegistry.h"
#include "SPIRVLegalizerInfo.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/Target/TargetOptions.h"
#include "llvm/Transforms/Utils.h"
#include <optional>

Go to the source code of this file.

Functions

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTarget ()
 
static std::string computeDataLayout (const Triple &TT)
 
static Reloc::Model getEffectiveRelocModel (std::optional< Reloc::Model > RM)
 

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( const Triple TT)
static

Definition at line 49 of file SPIRVTargetMachine.cpp.

References llvm::Triple::spirv32.

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( std::optional< Reloc::Model RM)
static

Definition at line 67 of file SPIRVTargetMachine.cpp.

References llvm::Reloc::PIC_.

◆ LLVMInitializeSPIRVTarget()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTarget ( )