LLVM  16.0.0git
Namespaces | Macros | Functions | Variables
SPIRVModuleAnalysis.cpp File Reference
#include "SPIRVModuleAnalysis.h"
#include "SPIRV.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.h"
#include "TargetInfo/SPIRVTargetInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetPassConfig.h"
Include dependency graph for SPIRVModuleAnalysis.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "spirv-module-analysis"
 

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))
 
unsigned OpIndex
 
unsigned unsigned DefaultVal
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-module-analysis"

Definition at line 29 of file SPIRVModuleAnalysis.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( SPIRVModuleAnalysis  ,
DEBUG_TYPE  ,
"SPIRV module analysis ,
true  ,
true   
)

Variable Documentation

◆ DefaultVal

unsigned unsigned DefaultVal

Definition at line 47 of file SPIRVModuleAnalysis.cpp.

◆ OpIndex

unsigned OpIndex

◆ SPVDumpDeps

cl::opt<bool> SPVDumpDeps("spv-dump-deps", cl::desc("Dump MIR with SPIR-V dependencies info"), cl::Optional, cl::init(false))
static