LLVM 20.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 |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "spirv-module-analysis" |
#define | ATOM_FLT_REQ_EXT_MSG(ExtName) |
Functions | |
void | llvm::initializeSPIRVModuleAnalysisPass (PassRegistry &) |
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 | |||
) |
|
static |
Referenced by AvoidCapabilitiesSet::AvoidCapabilitiesSet().
Definition at line 64 of file SPIRVModuleAnalysis.cpp.
Referenced by llvm::AMDGPU::getIntegerVecAttribute().
unsigned OpIndex |
Definition at line 63 of file SPIRVModuleAnalysis.cpp.
Referenced by combineX86ShuffleChain(), llvm::DWARFDebugLine::Row::dump(), llvm::MipsELFStreamer::emitInstruction(), llvm::InstCombinerImpl::foldOpIntoPhi(), lowerV4X128Shuffle(), llvm::AArch64FrameLowering::orderFrameObjects(), and llvm::DWARFDebugLine::Row::reset().
|
static |