LLVM 20.0.0git
|
#include "SPIRV.h"
#include "SPIRVBuiltins.h"
#include "SPIRVMetadata.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/IR/IntrinsicsSPIRV.h"
#include "llvm/IR/TypedPointerType.h"
#include <queue>
#include <unordered_set>
#include "SPIRVGenTables.inc"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::SPIRV |
Macros | |
#define | GET_BuiltinGroup_DECL |
#define GET_BuiltinGroup_DECL |
Definition at line 52 of file SPIRVEmitIntrinsics.cpp.
|
static |
Definition at line 1296 of file SPIRVEmitIntrinsics.cpp.
References B, llvm::MDNode::get(), llvm::MetadataAsValue::get(), I, and setInsertPointAfterDef().
Referenced by createRoundingModeDecoration(), and createSaturatedConversionDecoration().
|
static |
Definition at line 1304 of file SPIRVEmitIntrinsics.cpp.
References B, createDecorationIntrinsic(), llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::Type::getInt32Ty(), and I.
|
static |
Definition at line 1317 of file SPIRVEmitIntrinsics.cpp.
References B, createDecorationIntrinsic(), llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::Type::getInt32Ty(), and I.
|
static |
Definition at line 339 of file SPIRVEmitIntrinsics.cpp.
References llvm::addStringImm(), B, I, reportFatalOnTokenType(), and setInsertPointAfterDef().
|
inlinestatic |
Definition at line 861 of file SPIRVEmitIntrinsics.cpp.
References llvm::SPIRVGlobalRegistry::findDeducedElementType(), llvm::getTypedPointerWrapper(), I, and llvm::isUntypedPointerTy().
|
static |
|
static |
Definition at line 615 of file SPIRVEmitIntrinsics.cpp.
References llvm::Function::getContext(), and llvm::StringRef::starts_with().
INITIALIZE_PASS | ( | SPIRVEmitIntrinsics | , |
"emit-intrinsics" | , | ||
"SPIRV emit intrinsics" | , | ||
false | , | ||
false | |||
) | const |
Definition at line 286 of file SPIRVEmitIntrinsics.cpp.
References I.
Definition at line 299 of file SPIRVEmitIntrinsics.cpp.
Definition at line 377 of file SPIRVEmitIntrinsics.cpp.
References F, llvm::isPointerTy(), and llvm::CallingConv::SPIR_KERNEL.
|
static |
Definition at line 294 of file SPIRVEmitIntrinsics.cpp.
References I.
|
inlinestatic |
Definition at line 332 of file SPIRVEmitIntrinsics.cpp.
References I, and llvm::report_fatal_error().
Referenced by emitAssignName().
|
static |
Definition at line 320 of file SPIRVEmitIntrinsics.cpp.
|
inlinestatic |
Definition at line 384 of file SPIRVEmitIntrinsics.cpp.
References llvm::SPIRVGlobalRegistry::findMutated(), llvm::CallBase::getCalledFunction(), I, llvm::CallBase::isIndirectCall(), llvm::CallBase::isInlineAsm(), and llvm::Function::isIntrinsic().
|
static |
Definition at line 312 of file SPIRVEmitIntrinsics.cpp.
Referenced by createDecorationIntrinsic(), and emitAssignName().
|
static |
Definition at line 305 of file SPIRVEmitIntrinsics.cpp.