LLVM
15.0.0git
|
#include "Target/SPIRV/SPIRVModuleAnalysis.h"
Public Member Functions | |
Register | getFuncReg (std::string FuncName) |
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 | |
SPIRV::MemoryModel | Mem |
SPIRV::AddressingModel | Addr |
SPIRV::SourceLanguage | SrcLang |
unsigned | SrcLangVersion |
SmallVector< MachineInstr *, 4 > | GlobalVarList |
StringMap< Register > | FuncNameMap |
DenseSet< MachineInstr * > | InstrsToDelete |
RegisterAliasMapTy | RegisterAliasTable |
unsigned | MaxID |
InstrList | MS [NUM_MODULE_SECTIONS] |
DenseMap< int, Register > | BBNumToRegMap |
Definition at line 50 of file SPIRVModuleAnalysis.h.
|
inline |
Definition at line 73 of file SPIRVModuleAnalysis.h.
References assert(), and FuncNameMap.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 78 of file SPIRVModuleAnalysis.h.
References MS.
|
inline |
Definition at line 98 of file SPIRVModuleAnalysis.h.
References MaxID.
Referenced by getOrCreateMBBRegister().
|
inline |
Definition at line 103 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, f(), getNextID(), llvm::Register::index2VirtReg(), and MBB.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 87 of file SPIRVModuleAnalysis.h.
References llvm::sys::path::end(), and RegisterAliasTable.
Referenced by llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 80 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), InstrsToDelete, and MI.
|
inline |
Definition at line 99 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, and MBB.
|
inline |
Definition at line 94 of file SPIRVModuleAnalysis.h.
References RegisterAliasTable.
|
inline |
Definition at line 83 of file SPIRVModuleAnalysis.h.
References RegisterAliasTable.
|
inline |
Definition at line 79 of file SPIRVModuleAnalysis.h.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), InstrsToDelete, and MI.
SPIRV::AddressingModel llvm::SPIRV::ModuleAnalysisInfo::Addr |
Definition at line 52 of file SPIRVModuleAnalysis.h.
Definition at line 71 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
Definition at line 58 of file SPIRVModuleAnalysis.h.
Referenced by getFuncReg().
SmallVector<MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 56 of file SPIRVModuleAnalysis.h.
DenseSet<MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 61 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 67 of file SPIRVModuleAnalysis.h.
Referenced by getNextID().
SPIRV::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 51 of file SPIRVModuleAnalysis.h.
InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 69 of file SPIRVModuleAnalysis.h.
Referenced by getMSInstrs().
RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 65 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
SPIRV::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 53 of file SPIRVModuleAnalysis.h.
unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 54 of file SPIRVModuleAnalysis.h.