LLVM 18.0.0git
|
#include "Target/SPIRV/SPIRVModuleAnalysis.h"
Public Member Functions | |
Register | getFuncReg (const Function *F) |
Register | getExtInstSetReg (unsigned SetNum) |
InstrList & | getMSInstrs (unsigned MSType) |
void | setSkipEmission (MachineInstr *MI) |
bool | getSkipEmission (const MachineInstr *MI) |
void | setRegisterAlias (const MachineFunction *MF, Register Reg, Register AliasReg) |
Register | getRegisterAlias (const MachineFunction *MF, Register Reg) |
bool | hasRegisterAlias (const MachineFunction *MF, Register Reg) |
unsigned | getNextID () |
bool | hasMBBRegister (const MachineBasicBlock &MBB) |
Register | getOrCreateMBBRegister (const MachineBasicBlock &MBB) |
Public Attributes | |
RequirementHandler | Reqs |
MemoryModel::MemoryModel | Mem |
AddressingModel::AddressingModel | Addr |
SourceLanguage::SourceLanguage | SrcLang |
unsigned | SrcLangVersion |
StringSet | SrcExt |
DenseMap< unsigned, Register > | ExtInstSetMap |
SmallVector< MachineInstr *, 4 > | GlobalVarList |
DenseMap< const Function *, Register > | FuncMap |
DenseSet< MachineInstr * > | InstrsToDelete |
RegisterAliasMapTy | RegisterAliasTable |
unsigned | MaxID |
InstrList | MS [NUM_MODULE_SECTIONS] |
DenseMap< int, Register > | BBNumToRegMap |
Definition at line 136 of file SPIRVModuleAnalysis.h.
Definition at line 169 of file SPIRVModuleAnalysis.h.
References ExtInstSetMap.
Referenced by llvm::SPIRVMCInstLower::lower().
Definition at line 163 of file SPIRVModuleAnalysis.h.
References assert(), F, and FuncMap.
Referenced by addOpsFromMDNode(), and llvm::SPIRVMCInstLower::lower().
Definition at line 170 of file SPIRVModuleAnalysis.h.
References MS.
|
inline |
Definition at line 190 of file SPIRVModuleAnalysis.h.
References MaxID.
Referenced by getOrCreateMBBRegister().
|
inline |
Definition at line 195 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, getNextID(), llvm::Register::index2VirtReg(), and MBB.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 179 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 172 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), InstrsToDelete, and MI.
|
inline |
Definition at line 191 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, and MBB.
|
inline |
Definition at line 186 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 175 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 171 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), InstrsToDelete, and MI.
AddressingModel::AddressingModel llvm::SPIRV::ModuleAnalysisInfo::Addr |
Definition at line 139 of file SPIRVModuleAnalysis.h.
Definition at line 161 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
Definition at line 144 of file SPIRVModuleAnalysis.h.
Referenced by getExtInstSetReg().
Definition at line 148 of file SPIRVModuleAnalysis.h.
Referenced by getFuncReg().
SmallVector<MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 146 of file SPIRVModuleAnalysis.h.
DenseSet<MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 151 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 157 of file SPIRVModuleAnalysis.h.
Referenced by getNextID().
MemoryModel::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 138 of file SPIRVModuleAnalysis.h.
InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 159 of file SPIRVModuleAnalysis.h.
Referenced by getMSInstrs(), and llvm::SPIRVModuleAnalysis::runOnModule().
RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 155 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
RequirementHandler llvm::SPIRV::ModuleAnalysisInfo::Reqs |
Definition at line 137 of file SPIRVModuleAnalysis.h.
Referenced by llvm::SPIRVModuleAnalysis::runOnModule().
StringSet llvm::SPIRV::ModuleAnalysisInfo::SrcExt |
Definition at line 142 of file SPIRVModuleAnalysis.h.
SourceLanguage::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 140 of file SPIRVModuleAnalysis.h.
unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 141 of file SPIRVModuleAnalysis.h.