LLVM 22.0.0git
SPIRVLegalizerInfo.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "spirv-legalizer"

Functions

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

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-legalizer"

Definition at line 31 of file SPIRVLegalizerInfo.cpp.

Function Documentation

◆ convertPtrToInt()

◆ legalizeExtractVectorElt()

◆ typeOfExtendedScalars()

LegalityPredicate typeOfExtendedScalars ( unsigned TypeIdx,
bool IsExtendedInts )

Definition at line 33 of file SPIRVLegalizerInfo.cpp.

Referenced by llvm::SPIRVLegalizerInfo::SPIRVLegalizerInfo().