|
LLVM 24.0.0git
|
#include "Target/SPIRV/SPIRVModuleAnalysis.h"
Classes | |
| struct | InstrAuxDataRecord |
Public Types | |
| enum class | AMDGPUAtomicMDKind : uint8_t { NoFineGrainedMemory , NoRemoteMemory , IgnoreDenormalMode , Last = IgnoreDenormalMode } |
Public Member Functions | |
| MCRegister | getGlobalObjReg (const GlobalObject *GO) |
| MCRegister | getExtInstSetReg (unsigned SetNum) |
| InstrList & | getMSInstrs (unsigned MSType) |
| void | setSkipEmission (const MachineInstr *MI) |
| bool | getSkipEmission (const MachineInstr *MI) |
| void | setRegisterAlias (const MachineFunction *MF, Register Reg, MCRegister AliasReg) |
| MCRegister | getRegisterAlias (const MachineFunction *MF, Register Reg) |
| bool | hasRegisterAlias (const MachineFunction *MF, Register Reg) |
| unsigned | getNextID () |
| MCRegister | getNextIDRegister () |
| bool | hasMBBRegister (const MachineBasicBlock &MBB) |
| MCRegister | getOrCreateMBBRegister (const MachineBasicBlock &MBB) |
| bool | invalidate (Module &, const PreservedAnalyses &, ModuleAnalysisManager::Invalidator &) |
Static Public Member Functions | |
| static StringRef | getAMDGPUAtomicMDName (AMDGPUAtomicMDKind Kind) |
Public Attributes | |
| RequirementHandler | Reqs |
| MemoryModel::MemoryModel | Mem |
| AddressingModel::AddressingModel | Addr |
| SourceLanguage::SourceLanguage | SrcLang |
| unsigned | SrcLangVersion |
| StringSet | SrcExt |
| DenseMap< unsigned, MCRegister > | ExtInstSetMap |
| SmallVector< const MachineInstr *, 4 > | GlobalVarList |
| DenseMap< const GlobalObject *, MCRegister > | GlobalObjMap |
| DenseSet< const MachineInstr * > | InstrsToDelete |
| RegisterAliasMapTy | RegisterAliasTable |
| unsigned | MaxID |
| InstrList | MS [NUM_MODULE_SECTIONS] |
| DenseMap< std::pair< const MachineFunction *, int >, MCRegister > | BBNumToRegMap |
| SmallVector< std::pair< MCRegister, StringRef > > | MBBNames |
| FPFastMathDefaultInfoMapTy | FPFastMathDefaultInfoMap |
| SmallVector< InstrAuxDataRecord > | InstrAuxDataRecords |
Definition at line 138 of file SPIRVModuleAnalysis.h.
|
strong |
| Enumerator | |
|---|---|
| NoFineGrainedMemory | |
| NoRemoteMemory | |
| IgnoreDenormalMode | |
| Last | |
Definition at line 173 of file SPIRVModuleAnalysis.h.
|
inlinestatic |
Definition at line 231 of file SPIRVModuleAnalysis.h.
References IgnoreDenormalMode, llvm_unreachable, NoFineGrainedMemory, and NoRemoteMemory.
Referenced by llvm::SPIRVAuxDataHandler::emitAuxData(), and llvm::SPIRVAuxDataHandler::emitAuxDataStrings().
|
inline |
Definition at line 191 of file SPIRVModuleAnalysis.h.
References ExtInstSetMap.
Referenced by llvm::SPIRVAuxDataHandler::emitAuxData(), llvm::SPIRVAuxDataHandler::emitAuxDataStrings(), llvm::SPIRVNonSemanticDebugHandler::emitNonSemanticDebugStrings(), llvm::SPIRVNonSemanticDebugHandler::emitNonSemanticGlobalDebugInfo(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 187 of file SPIRVModuleAnalysis.h.
References assert(), and GlobalObjMap.
Referenced by addOpsFromMDNode(), llvm::SPIRVAuxDataHandler::emitAuxData(), and llvm::SPIRVMCInstLower::lower().
Definition at line 192 of file SPIRVModuleAnalysis.h.
References MS.
Referenced by llvm::SPIRVNonSemanticDebugHandler::prepareModuleOutput().
|
inline |
Definition at line 215 of file SPIRVModuleAnalysis.h.
References MaxID.
Referenced by getNextIDRegister().
|
inline |
Definition at line 216 of file SPIRVModuleAnalysis.h.
References getNextID().
Referenced by getOrCreateMBBRegister(), llvm::SPIRVAuxDataHandler::prepareModuleOutput(), and llvm::SPIRVNonSemanticDebugHandler::prepareModuleOutput().
|
inline |
Definition at line 224 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, getNextIDRegister(), llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and MBB.
Referenced by addMBBNames(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 201 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
Referenced by llvm::SPIRVAuxDataHandler::emitAuxData(), getResultId(), instrToSignature(), and llvm::SPIRVMCInstLower::lower().
|
inline |
Definition at line 194 of file SPIRVModuleAnalysis.h.
References InstrsToDelete, and MI.
Referenced by isEmitted().
|
inline |
Definition at line 219 of file SPIRVModuleAnalysis.h.
References BBNumToRegMap, llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and MBB.
|
inline |
Definition at line 209 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 243 of file SPIRVModuleAnalysis.h.
|
inline |
Definition at line 197 of file SPIRVModuleAnalysis.h.
References Reg, and RegisterAliasTable.
|
inline |
Definition at line 193 of file SPIRVModuleAnalysis.h.
References InstrsToDelete, and MI.
Referenced by collectOtherInstr().
| AddressingModel::AddressingModel llvm::SPIRV::ModuleAnalysisInfo::Addr |
Definition at line 141 of file SPIRVModuleAnalysis.h.
Referenced by addInstrRequirements().
| DenseMap<std::pair<const MachineFunction *, int>, MCRegister> llvm::SPIRV::ModuleAnalysisInfo::BBNumToRegMap |
Definition at line 163 of file SPIRVModuleAnalysis.h.
Referenced by getOrCreateMBBRegister(), and hasMBBRegister().
| DenseMap<unsigned, MCRegister> llvm::SPIRV::ModuleAnalysisInfo::ExtInstSetMap |
Definition at line 146 of file SPIRVModuleAnalysis.h.
Referenced by getExtInstSetReg(), llvm::SPIRVAuxDataHandler::prepareModuleOutput(), and llvm::SPIRVNonSemanticDebugHandler::prepareModuleOutput().
| FPFastMathDefaultInfoMapTy llvm::SPIRV::ModuleAnalysisInfo::FPFastMathDefaultInfoMap |
Definition at line 171 of file SPIRVModuleAnalysis.h.
| DenseMap<const GlobalObject *, MCRegister> llvm::SPIRV::ModuleAnalysisInfo::GlobalObjMap |
Definition at line 150 of file SPIRVModuleAnalysis.h.
Referenced by getGlobalObjReg().
| SmallVector<const MachineInstr *, 4> llvm::SPIRV::ModuleAnalysisInfo::GlobalVarList |
Definition at line 148 of file SPIRVModuleAnalysis.h.
| SmallVector<InstrAuxDataRecord> llvm::SPIRV::ModuleAnalysisInfo::InstrAuxDataRecords |
Definition at line 185 of file SPIRVModuleAnalysis.h.
Referenced by llvm::SPIRVAuxDataHandler::emitAuxData(), llvm::SPIRVAuxDataHandler::emitAuxDataStrings(), and llvm::SPIRVAuxDataHandler::prepareModuleOutput().
| DenseSet<const MachineInstr *> llvm::SPIRV::ModuleAnalysisInfo::InstrsToDelete |
Definition at line 153 of file SPIRVModuleAnalysis.h.
Referenced by getSkipEmission(), and setSkipEmission().
| unsigned llvm::SPIRV::ModuleAnalysisInfo::MaxID |
Definition at line 159 of file SPIRVModuleAnalysis.h.
Referenced by getNextID().
| SmallVector<std::pair<MCRegister, StringRef> > llvm::SPIRV::ModuleAnalysisInfo::MBBNames |
Definition at line 165 of file SPIRVModuleAnalysis.h.
Referenced by addMBBNames().
| MemoryModel::MemoryModel llvm::SPIRV::ModuleAnalysisInfo::Mem |
Definition at line 140 of file SPIRVModuleAnalysis.h.
| InstrList llvm::SPIRV::ModuleAnalysisInfo::MS[NUM_MODULE_SECTIONS] |
Definition at line 161 of file SPIRVModuleAnalysis.h.
Referenced by collectOtherInstr(), and getMSInstrs().
| RegisterAliasMapTy llvm::SPIRV::ModuleAnalysisInfo::RegisterAliasTable |
Definition at line 157 of file SPIRVModuleAnalysis.h.
Referenced by getRegisterAlias(), hasRegisterAlias(), and setRegisterAlias().
| RequirementHandler llvm::SPIRV::ModuleAnalysisInfo::Reqs |
Definition at line 139 of file SPIRVModuleAnalysis.h.
Referenced by addInstrRequirements(), collectReqs(), llvm::SPIRVAuxDataHandler::prepareModuleOutput(), and llvm::SPIRVNonSemanticDebugHandler::prepareModuleOutput().
| StringSet llvm::SPIRV::ModuleAnalysisInfo::SrcExt |
Definition at line 144 of file SPIRVModuleAnalysis.h.
| SourceLanguage::SourceLanguage llvm::SPIRV::ModuleAnalysisInfo::SrcLang |
Definition at line 142 of file SPIRVModuleAnalysis.h.
| unsigned llvm::SPIRV::ModuleAnalysisInfo::SrcLangVersion |
Definition at line 143 of file SPIRVModuleAnalysis.h.