LLVM 22.0.0git
Functions
SPIRVLegalizerInfo.cpp File Reference
#include "SPIRVLegalizerInfo.h"
#include "SPIRV.h"
#include "SPIRVGlobalRegistry.h"
#include "SPIRVSubtarget.h"
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetOpcodes.h"

Go to the source code of this file.

Functions

LegalityPredicate typeOfExtendedScalars (unsigned TypeIdx, bool IsExtendedInts)
 
static Register convertPtrToInt (Register Reg, LLT ConvTy, SPIRVType *SpvType, LegalizerHelper &Helper, MachineRegisterInfo &MRI, SPIRVGlobalRegistry *GR)
 

Function Documentation

◆ convertPtrToInt()

static Register convertPtrToInt ( Register  Reg,
LLT  ConvTy,
SPIRVType SpvType,
LegalizerHelper Helper,
MachineRegisterInfo MRI,
SPIRVGlobalRegistry GR 
)
static

◆ typeOfExtendedScalars()

LegalityPredicate typeOfExtendedScalars ( unsigned  TypeIdx,
bool  IsExtendedInts 
)