LLVM  17.0.0git
Functions
SPIRVCallLowering.cpp File Reference
#include "SPIRVCallLowering.h"
#include "MCTargetDesc/SPIRVBaseInfo.h"
#include "SPIRV.h"
#include "SPIRVBuiltins.h"
#include "SPIRVGlobalRegistry.h"
#include "SPIRVISelLowering.h"
#include "SPIRVRegisterInfo.h"
#include "SPIRVSubtarget.h"
#include "SPIRVUtils.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/Support/ModRef.h"
Include dependency graph for SPIRVCallLowering.cpp:

Go to the source code of this file.

Functions

static uint32_t getFunctionControl (const Function &F)
 
static ConstantIntgetConstInt (MDNode *MD, unsigned NumOp)
 
static FunctionTypegetOriginalFunctionType (const Function &F)
 
static MDStringgetKernelArgAttribute (const Function &KernelFunction, unsigned ArgIdx, const StringRef AttributeName)
 
static SPIRV::AccessQualifier::AccessQualifier getArgAccessQual (const Function &F, unsigned ArgIdx)
 
static std::vector< SPIRV::Decoration::Decoration > getKernelArgTypeQual (const Function &KernelFunction, unsigned ArgIdx)
 
static TypegetArgType (const Function &F, unsigned ArgIdx)
 

Function Documentation

◆ getArgAccessQual()

static SPIRV::AccessQualifier::AccessQualifier getArgAccessQual ( const Function F,
unsigned  ArgIdx 
)
static

◆ getArgType()

static Type* getArgType ( const Function F,
unsigned  ArgIdx 
)
static

◆ getConstInt()

static ConstantInt* getConstInt ( MDNode MD,
unsigned  NumOp 
)
static

◆ getFunctionControl()

static uint32_t getFunctionControl ( const Function F)
static

◆ getKernelArgAttribute()

static MDString* getKernelArgAttribute ( const Function KernelFunction,
unsigned  ArgIdx,
const StringRef  AttributeName 
)
static

◆ getKernelArgTypeQual()

static std::vector<SPIRV::Decoration::Decoration> getKernelArgTypeQual ( const Function KernelFunction,
unsigned  ArgIdx 
)
static

◆ getOriginalFunctionType()

static FunctionType* getOriginalFunctionType ( const Function F)
static