#include "SPIRV.h"
#include "SPIRVBuiltins.h"
#include "SPIRVMetadata.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.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 "SPIRVGenTables.inc"
Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
namespace | llvm::SPIRV |
|
|
void | llvm::initializeSPIRVEmitIntrinsicsPass (PassRegistry &) |
|
| INITIALIZE_PASS (SPIRVEmitIntrinsics, "emit-intrinsics", "SPIRV emit intrinsics", false, false) static inline bool isAssignTypeInstr(const Instruction *I) |
|
static bool | isMemInstrToReplace (Instruction *I) |
|
static bool | isAggrConstForceInt32 (const Value *V) |
|
static void | setInsertPointSkippingPhis (IRBuilder<> &B, Instruction *I) |
|
static void | setInsertPointAfterDef (IRBuilder<> &B, Instruction *I) |
|
static bool | requireAssignType (Instruction *I) |
|
static void | reportFatalOnTokenType (const Instruction *I) |
|
static bool | IsKernelArgInt8 (Function *F, StoreInst *SI) |
|
static Type * | restoreMutatedType (SPIRVGlobalRegistry *GR, Instruction *I, Type *Ty) |
|
static Type * | reconstructType (SPIRVGlobalRegistry *GR, Value *Op) |
|
static Type * | getPointeeTypeByCallInst (StringRef DemangledName, Function *CalledF, unsigned OpIdx) |
|
static Type * | getAtomicElemTy (SPIRVGlobalRegistry *GR, Instruction *I, Value *PointerOperand) |
|
◆ GET_BuiltinGroup_DECL
#define GET_BuiltinGroup_DECL |
◆ getAtomicElemTy()
◆ getPointeeTypeByCallInst()
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
SPIRVEmitIntrinsics |
, |
|
|
"emit-intrinsics" |
, |
|
|
"SPIRV emit intrinsics" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| const |
◆ isAggrConstForceInt32()
◆ IsKernelArgInt8()
◆ isMemInstrToReplace()
◆ reconstructType()
◆ reportFatalOnTokenType()
◆ requireAssignType()
◆ restoreMutatedType()
◆ setInsertPointAfterDef()
◆ setInsertPointSkippingPhis()