LLVM 20.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 134 of file SPIRVModuleAnalysis.h.
Definition at line 167 of file SPIRVModuleAnalysis.h.
References ExtInstSetMap.
Referenced by llvm::SPIRVMCInstLower::lower().
Definition at line 161 of file SPIRVModuleAnalysis.h.
References assert(), F, and FuncMap.
Referenced by addOpsFromMDNode(), and llvm::SPIRVMCInstLower::lower().
Definition at line 168 of file SPIRVModuleAnalysis.h.
References MS.
|
inline |
Definition at line 188 of file SPIRVModuleAnalysis.h.
References MaxID.
Referenced by getOrCreateMBBRegister().
|
inline |
Definition at line 193 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, getNextID(), llvm::Register::index2VirtReg(), and MBB.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 177 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by instrToSignature(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 170 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), InstrsToDelete, and MI.
|
inline |
Definition at line 189 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, and MBB.
|
inline |
Definition at line 184 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 173 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 169 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), InstrsToDelete, and MI.
Referenced by collectOtherInstr().
AddressingModel::AddressingModel llvm::SPIRV::ModuleAnalysisInfo::Addr |
Definition at line 137 of file SPIRVModuleAnalysis.h.
Definition at line 159 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
Definition at line 142 of file SPIRVModuleAnalysis.h.
Referenced by getExtInstSetReg().
Definition at line 146 of file SPIRVModuleAnalysis.h.
Referenced by getFuncReg().
SmallVector<MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 144 of file SPIRVModuleAnalysis.h.
DenseSet<MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 149 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 155 of file SPIRVModuleAnalysis.h.
Referenced by getNextID(), and llvm::SPIRVModuleAnalysis::runOnModule().
MemoryModel::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 136 of file SPIRVModuleAnalysis.h.
InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 157 of file SPIRVModuleAnalysis.h.
Referenced by collectOtherInstr(), getMSInstrs(), and llvm::SPIRVModuleAnalysis::runOnModule().
RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 153 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
RequirementHandler llvm::SPIRV::ModuleAnalysisInfo::Reqs |
Definition at line 135 of file SPIRVModuleAnalysis.h.
Referenced by addDecorations(), collectReqs(), and llvm::SPIRVModuleAnalysis::runOnModule().
StringSet llvm::SPIRV::ModuleAnalysisInfo::SrcExt |
Definition at line 140 of file SPIRVModuleAnalysis.h.
SourceLanguage::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 138 of file SPIRVModuleAnalysis.h.
unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 139 of file SPIRVModuleAnalysis.h.