class IntToPtrInst

Declaration

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

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

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

  • public IntToPtrInst(llvm::Value * S, llvm::Type * Ty, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public IntToPtrInst(llvm::Value * S, llvm::Type * Ty, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • public llvm::IntToPtrInst * cloneImpl() const
  • public unsigned int getAddressSpace() const

Inherited from CastInst:

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

IntToPtrInst(
    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:5071

Parameters

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

IntToPtrInst(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:5079

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:5095

Parameters

const llvm::Instruction* I

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

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

Parameters

const llvm::Value* V

llvm::IntToPtrInst* cloneImpl() const

Description

Clone an identical IntToPtrInst.

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

unsigned int getAddressSpace() const

Description

Returns the address space of this instruction's pointer type.

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