|
LLVM 22.0.0git
|
#include "SPIRVModuleAnalysis.h"#include "MCTargetDesc/SPIRVBaseInfo.h"#include "MCTargetDesc/SPIRVMCTargetDesc.h"#include "SPIRV.h"#include "SPIRVSubtarget.h"#include "SPIRVTargetMachine.h"#include "SPIRVUtils.h"#include "llvm/ADT/STLExtras.h"#include "llvm/CodeGen/MachineModuleInfo.h"#include "llvm/CodeGen/TargetPassConfig.h"Go to the source code of this file.
Classes | |
| struct | AvoidCapabilitiesSet |
Macros | |
| #define | DEBUG_TYPE "spirv-module-analysis" |
| #define | ATOM_FLT_REQ_EXT_MSG(ExtName) |
Functions | |
| INITIALIZE_PASS (SPIRVModuleAnalysis, DEBUG_TYPE, "SPIRV module analysis", true, true) static unsigned getMetadataUInt(MDNode *MdNode | |
Variables | |
| static cl::opt< bool > | SPVDumpDeps ("spv-dump-deps", cl::desc("Dump MIR with SPIR-V dependencies info"), cl::Optional, cl::init(false)) |
| static cl::list< SPIRV::Capability::Capability > | AvoidCapabilities ("avoid-spirv-capabilities", cl::desc("SPIR-V capabilities to avoid if there are " "other options enabling a feature"), cl::ZeroOrMore, cl::Hidden, cl::values(clEnumValN(SPIRV::Capability::Shader, "Shader", "SPIR-V Shader capability"))) |
| unsigned | OpIndex |
| unsigned unsigned | DefaultVal |
| #define ATOM_FLT_REQ_EXT_MSG | ( | ExtName | ) |
| #define DEBUG_TYPE "spirv-module-analysis" |
Definition at line 30 of file SPIRVModuleAnalysis.cpp.
| INITIALIZE_PASS | ( | SPIRVModuleAnalysis | , |
| DEBUG_TYPE | , | ||
| "SPIRV module analysis" | , | ||
| true | , | ||
| true | ) |
References DEBUG_TYPE.
|
static |
Referenced by AvoidCapabilitiesSet::AvoidCapabilitiesSet().
Definition at line 57 of file SPIRVModuleAnalysis.cpp.
Referenced by emitTargetCall(), llvm::AMDGPU::getIntegerAttribute(), llvm::AMDGPU::getIntegerVecAttribute(), and simplifySwitchLookup().
| unsigned OpIndex |
Definition at line 56 of file SPIRVModuleAnalysis.cpp.
Referenced by combineX86ShuffleChain(), llvm::MipsELFStreamer::emitInstruction(), llvm::InstCombinerImpl::foldOpIntoPhi(), lowerV4X128Shuffle(), llvm::AArch64FrameLowering::orderFrameObjects(), rewriteGlobalVariablesInConstant(), and searchConstantExprForGlobalVariables().
|
static |