LLVM: lib/Target/SPIRV/SPIRVCBufferAccess.cpp File Reference (original) (raw)
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "spirv-cbuffer-access" |
◆ DEBUG_TYPE
#define DEBUG_TYPE "spirv-cbuffer-access"
◆ findHandleDef()
◆ INITIALIZE_PASS()
| INITIALIZE_PASS | ( | SPIRVCBufferAccessLegacy | , |
|---|---|---|---|
| DEBUG_TYPE | , | ||
| "SPIRV CBuffer Access" | , | ||
| false | , | ||
| false | ) |
◆ replaceCBufferAccesses()
Definition at line 56 of file SPIRVCBufferAccess.cpp.
References llvm::cast(), llvm::convertUsersOfConstantsToInstructions(), llvm::dyn_cast(), findHandleDef(), llvm::hlsl::CBufferMetadata::get(), llvm::StructLayout::getElementContainingOffset(), llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode(), llvm::GlobalValue::getType(), I, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::Value::replaceAllUsesWith(), llvm::report_fatal_error(), llvm::Value::use_empty(), and llvm::Value::users().