LLVM 20.0.0git
Macros | Functions | Variables
DXILResourceAccess.cpp File Reference
#include "DXILResourceAccess.h"
#include "DirectX.h"
#include "llvm/Analysis/DXILResource.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IntrinsicsDirectX.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dxil-resource-access"
 

Functions

static void replaceTypedBufferAccess (IntrinsicInst *II, dxil::ResourceTypeInfo &RTI)
 
static bool transformResourcePointers (Function &F, DXILResourceTypeMap &DRTM)
 
 INITIALIZE_PASS_BEGIN (DXILResourceAccessLegacy, DEBUG_TYPE, "DXIL Resource Access", false, false) INITIALIZE_PASS_END(DXILResourceAccessLegacy
 

Variables

 DEBUG_TYPE
 
DXIL Resource Access
 
DXIL Resource false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dxil-resource-access"

Definition at line 20 of file DXILResourceAccess.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( DXILResourceAccessLegacy  ,
DEBUG_TYPE  ,
"DXIL Resource Access"  ,
false  ,
false   
)

◆ replaceTypedBufferAccess()

static void replaceTypedBufferAccess ( IntrinsicInst II,
dxil::ResourceTypeInfo RTI 
)
static

◆ transformResourcePointers()

static bool transformResourcePointers ( Function F,
DXILResourceTypeMap DRTM 
)
static

Variable Documentation

◆ Access

DXIL Resource Access

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 187 of file DXILResourceAccess.cpp.

◆ false

DXIL Resource false

Definition at line 188 of file DXILResourceAccess.cpp.