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< std::pair< const MachineFunction *, int >, Register > | BBNumToRegMap |
Definition at line 135 of file SPIRVModuleAnalysis.h.
Definition at line 168 of file SPIRVModuleAnalysis.h.
References ExtInstSetMap.
Referenced by llvm::SPIRVMCInstLower::lower().
Definition at line 162 of file SPIRVModuleAnalysis.h.
References assert(), F, and FuncMap.
Referenced by addOpsFromMDNode(), and llvm::SPIRVMCInstLower::lower().
Definition at line 169 of file SPIRVModuleAnalysis.h.
References MS.
|
inline |
Definition at line 189 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 addMBBNames(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 178 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by instrToSignature(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 171 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), InstrsToDelete, and MI.
|
inline |
Definition at line 190 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, and MBB.
|
inline |
Definition at line 185 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 174 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by addMBBNames().
|
inline |
Definition at line 170 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 138 of file SPIRVModuleAnalysis.h.
DenseMap<std::pair<const MachineFunction *, int>, Register> llvm::SPIRV::ModuleAnalysisInfo::BBNumToRegMap |
Definition at line 160 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
Definition at line 143 of file SPIRVModuleAnalysis.h.
Referenced by getExtInstSetReg().
Definition at line 147 of file SPIRVModuleAnalysis.h.
Referenced by getFuncReg().
SmallVector<MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 145 of file SPIRVModuleAnalysis.h.
DenseSet<MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 150 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 156 of file SPIRVModuleAnalysis.h.
Referenced by getNextID(), and llvm::SPIRVModuleAnalysis::runOnModule().
MemoryModel::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 137 of file SPIRVModuleAnalysis.h.
InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 158 of file SPIRVModuleAnalysis.h.
Referenced by collectOtherInstr(), getMSInstrs(), and llvm::SPIRVModuleAnalysis::runOnModule().
RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 154 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
RequirementHandler llvm::SPIRV::ModuleAnalysisInfo::Reqs |
Definition at line 136 of file SPIRVModuleAnalysis.h.
Referenced by addDecorations(), collectReqs(), and llvm::SPIRVModuleAnalysis::runOnModule().
StringSet llvm::SPIRV::ModuleAnalysisInfo::SrcExt |
Definition at line 141 of file SPIRVModuleAnalysis.h.
SourceLanguage::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 139 of file SPIRVModuleAnalysis.h.
unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 140 of file SPIRVModuleAnalysis.h.