LLVM 17.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 |
DenseSet< MachineBasicBlock * > | MBBsToSkip |
RegisterAliasMapTy | RegisterAliasTable |
unsigned | MaxID |
InstrList | MS [NUM_MODULE_SECTIONS] |
DenseMap< int, Register > | BBNumToRegMap |
Definition at line 123 of file SPIRVModuleAnalysis.h.
Definition at line 159 of file SPIRVModuleAnalysis.h.
References ExtInstSetMap.
Referenced by llvm::SPIRVMCInstLower::lower().
Definition at line 153 of file SPIRVModuleAnalysis.h.
References assert(), F, and FuncMap.
Referenced by addOpsFromMDNode(), and llvm::SPIRVMCInstLower::lower().
Definition at line 160 of file SPIRVModuleAnalysis.h.
References MS.
|
inline |
Definition at line 180 of file SPIRVModuleAnalysis.h.
References MaxID.
Referenced by getOrCreateMBBRegister().
|
inline |
Definition at line 185 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, getNextID(), llvm::Register::index2VirtReg(), and MBB.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 169 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 162 of file SPIRVModuleAnalysis.h.
References InstrsToDelete, and MI.
|
inline |
Definition at line 181 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, and MBB.
|
inline |
Definition at line 176 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 165 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 161 of file SPIRVModuleAnalysis.h.
References InstrsToDelete, and MI.
AddressingModel::AddressingModel llvm::SPIRV::ModuleAnalysisInfo::Addr |
Definition at line 126 of file SPIRVModuleAnalysis.h.
Definition at line 151 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
Definition at line 131 of file SPIRVModuleAnalysis.h.
Referenced by getExtInstSetReg().
Definition at line 135 of file SPIRVModuleAnalysis.h.
Referenced by getFuncReg().
SmallVector<MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 133 of file SPIRVModuleAnalysis.h.
DenseSet<MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 138 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 147 of file SPIRVModuleAnalysis.h.
Referenced by getNextID().
DenseSet<MachineBasicBlock *> llvm::SPIRV::ModuleAnalysisInfo::MBBsToSkip |
Definition at line 141 of file SPIRVModuleAnalysis.h.
MemoryModel::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 125 of file SPIRVModuleAnalysis.h.
InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 149 of file SPIRVModuleAnalysis.h.
Referenced by getMSInstrs(), and llvm::SPIRVModuleAnalysis::runOnModule().
RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 145 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
RequirementHandler llvm::SPIRV::ModuleAnalysisInfo::Reqs |
Definition at line 124 of file SPIRVModuleAnalysis.h.
Referenced by llvm::SPIRVModuleAnalysis::runOnModule().
StringSet llvm::SPIRV::ModuleAnalysisInfo::SrcExt |
Definition at line 129 of file SPIRVModuleAnalysis.h.
SourceLanguage::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 127 of file SPIRVModuleAnalysis.h.
unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 128 of file SPIRVModuleAnalysis.h.