LLVM 19.0.0git
|
#include "SPIRVGlobalRegistry.h"
#include "SPIRV.h"
#include "SPIRVBuiltins.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.h"
#include "llvm/ADT/APInt.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Type.h"
#include "llvm/Support/Casting.h"
#include <cassert>
Go to the source code of this file.
Functions | |
static Register | createTypeVReg (MachineIRBuilder &MIRBuilder) |
static Register | createTypeVReg (MachineRegisterInfo &MRI) |
|
static |
Definition at line 75 of file SPIRVGlobalRegistry.cpp.
References llvm::MachineIRBuilder::getMF(), llvm::MachineFunction::getRegInfo(), MRI, and llvm::LLT::scalar().
Referenced by llvm::SPIRVGlobalRegistry::getOrCreateOpTypeByOpcode(), llvm::SPIRVGlobalRegistry::getOrCreateOpTypeDeviceEvent(), llvm::SPIRVGlobalRegistry::getOrCreateOpTypeImage(), llvm::SPIRVGlobalRegistry::getOrCreateOpTypePipe(), llvm::SPIRVGlobalRegistry::getOrCreateOpTypeSampledImage(), llvm::SPIRVGlobalRegistry::getOrCreateOpTypeSampler(), llvm::SPIRVGlobalRegistry::getOrCreateSPIRVArrayType(), llvm::SPIRVGlobalRegistry::getOrCreateSPIRVBoolType(), llvm::SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(), llvm::SPIRVGlobalRegistry::getOrCreateSPIRVType(), and llvm::SPIRVGlobalRegistry::getOrCreateSPIRVVectorType().
|
static |
Definition at line 82 of file SPIRVGlobalRegistry.cpp.
References MRI, and llvm::LLT::scalar().