class AddrSpaceCastInst

Declaration

class AddrSpaceCastInst : public CastInst { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/Instructions.h:5199

Inherits from: CastInst

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

Inherited from CastInst:

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

AddrSpaceCastInst(
    llvm::Value* S,
    llvm::Type* Ty,
    const llvm::Twine& NameStr = "",
    llvm::Instruction* InsertBefore = nullptr)

Description

Constructor with insert-before-instruction semantics

Declared at: llvm/include/llvm/IR/Instructions.h:5209

Parameters

llvm::Value* S
llvm::Type* Ty
const llvm::Twine& NameStr = ""
llvm::Instruction* InsertBefore = nullptr

AddrSpaceCastInst(llvm::Value* S,
                  llvm::Type* Ty,
                  const llvm::Twine& NameStr,
                  llvm::BasicBlock* InsertAtEnd)

Description

Constructor with insert-at-end-of-block semantics

Declared at: llvm/include/llvm/IR/Instructions.h:5217

Parameters

llvm::Value* S
llvm::Type* Ty
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

static bool classof(const llvm::Instruction* I)

Declared at: llvm/include/llvm/IR/Instructions.h:5225

Parameters

const llvm::Instruction* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/Instructions.h:5228

Parameters

const llvm::Value* V

llvm::AddrSpaceCastInst* cloneImpl() const

Description

Clone an identical AddrSpaceCastInst.

Declared at: llvm/include/llvm/IR/Instructions.h:5205

unsigned int getDestAddressSpace() const

Description

Returns the address space of the result.

Declared at: llvm/include/llvm/IR/Instructions.h:5253

llvm::Value* getPointerOperand()

Description

Gets the pointer operand.

Declared at: llvm/include/llvm/IR/Instructions.h:5233

const llvm::Value* getPointerOperand() const

Description

Gets the pointer operand.

Declared at: llvm/include/llvm/IR/Instructions.h:5238

static unsigned int getPointerOperandIndex()

Description

Gets the operand index of the pointer operand.

Declared at: llvm/include/llvm/IR/Instructions.h:5243

unsigned int getSrcAddressSpace() const

Description

Returns the address space of the pointer operand.

Declared at: llvm/include/llvm/IR/Instructions.h:5248