LLVM 19.0.0git
Namespaces | Functions
SPIRVEmitIntrinsics.cpp File Reference
#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>

Go to the source code of this file.

Namespaces

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

Functions

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 isAggrToReplace (const Value *V)
 
static void setInsertPointSkippingPhis (IRBuilder<> &B, Instruction *I)
 
static bool requireAssignType (Instruction *I)
 
static void reportFatalOnTokenType (const Instruction *I)
 

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( SPIRVEmitIntrinsics  ,
"emit-intrinsics"  ,
"SPIRV emit intrinsics"  ,
false  ,
false   
) const

Definition at line 139 of file SPIRVEmitIntrinsics.cpp.

References I.

◆ isAggrToReplace()

static bool isAggrToReplace ( const Value V)
static

Definition at line 152 of file SPIRVEmitIntrinsics.cpp.

◆ isMemInstrToReplace()

static bool isMemInstrToReplace ( Instruction I)
static

Definition at line 147 of file SPIRVEmitIntrinsics.cpp.

References I.

◆ reportFatalOnTokenType()

static void reportFatalOnTokenType ( const Instruction I)
inlinestatic

Definition at line 176 of file SPIRVEmitIntrinsics.cpp.

References I, and llvm::report_fatal_error().

◆ requireAssignType()

static bool requireAssignType ( Instruction I)
static

Definition at line 164 of file SPIRVEmitIntrinsics.cpp.

References I, and Intr.

◆ setInsertPointSkippingPhis()

static void setInsertPointSkippingPhis ( IRBuilder<> &  B,
Instruction I 
)
static

Definition at line 157 of file SPIRVEmitIntrinsics.cpp.

References B, and I.