class CatchReturnInst

Declaration

class CatchReturnInst : public Instruction { /* full declaration omitted */ };

Description

LLVM Value Representation This is a very important LLVM class. It is the base class of all values computed by a program that may be used as operands to other values. Value is the super class of other important classes such as Instruction and Function. All Values have a Type. Type is not a subclass of Value. Some values can have a name and they belong to some Module. Setting the name on the Value automatically updates the module's symbol table. Every value has a "use list" that keeps track of which other Values are using this Value. A Value can also have an arbitrary number of ValueHandle objects that watch it and listen to RAUW and Destroy events. See llvm/IR/ValueHandle.h for details.

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

Inherits from: Instruction

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

  • private CatchReturnInst(llvm::Value * CatchPad, llvm::BasicBlock * BB, llvm::Instruction * InsertBefore)
  • private CatchReturnInst(llvm::Value * CatchPad, llvm::BasicBlock * BB, llvm::BasicBlock * InsertAtEnd)
  • private CatchReturnInst(const llvm::CatchReturnInst & RI)
  • public static llvm::CatchReturnInst * Create(llvm::Value * CatchPad, llvm::BasicBlock * BB, llvm::Instruction * InsertBefore = nullptr)
  • public static llvm::CatchReturnInst * Create(llvm::Value * CatchPad, llvm::BasicBlock * BB, llvm::BasicBlock * InsertAtEnd)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • protected llvm::CatchReturnInst * cloneImpl() const
  • public llvm::CatchPadInst * getCatchPad() const
  • public llvm::Value * getCatchSwitchParentPad() const
  • public unsigned int getNumSuccessors() const
  • public llvm::BasicBlock * getSuccessor() const
  • private llvm::BasicBlock * getSuccessor(unsigned int Idx) const
  • private void init(llvm::Value * CatchPad, llvm::BasicBlock * BB)
  • public void setCatchPad(llvm::CatchPadInst * CatchPad)
  • public void setSuccessor(llvm::BasicBlock * NewSucc)
  • private void setSuccessor(unsigned int Idx, llvm::BasicBlock * B)

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

CatchReturnInst(llvm::Value* CatchPad,
                llvm::BasicBlock* BB,
                llvm::Instruction* InsertBefore)

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

Parameters

llvm::Value* CatchPad
llvm::BasicBlock* BB
llvm::Instruction* InsertBefore

CatchReturnInst(llvm::Value* CatchPad,
                llvm::BasicBlock* BB,
                llvm::BasicBlock* InsertAtEnd)

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

Parameters

llvm::Value* CatchPad
llvm::BasicBlock* BB
llvm::BasicBlock* InsertAtEnd

CatchReturnInst(const llvm::CatchReturnInst& RI)

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

Parameters

const llvm::CatchReturnInst& RI

static llvm::CatchReturnInst* Create(
    llvm::Value* CatchPad,
    llvm::BasicBlock* BB,
    llvm::Instruction* InsertBefore = nullptr)

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

Parameters

llvm::Value* CatchPad
llvm::BasicBlock* BB
llvm::Instruction* InsertBefore = nullptr

static llvm::CatchReturnInst* Create(
    llvm::Value* CatchPad,
    llvm::BasicBlock* BB,
    llvm::BasicBlock* InsertAtEnd)

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

Parameters

llvm::Value* CatchPad
llvm::BasicBlock* BB
llvm::BasicBlock* InsertAtEnd

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

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

Parameters

const llvm::Instruction* I

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

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

Parameters

const llvm::Value* V

llvm::CatchReturnInst* cloneImpl() const

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

llvm::CatchPadInst* getCatchPad() const

Description

Convenience accessors.

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

llvm::Value* getCatchSwitchParentPad() const

Description

Get the parentPad of this catchret's catchpad's catchswitch. The successor block is implicitly a member of this funclet.

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

unsigned int getNumSuccessors() const

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

llvm::BasicBlock* getSuccessor() const

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

llvm::BasicBlock* getSuccessor(
    unsigned int Idx) const

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

Parameters

unsigned int Idx

void init(llvm::Value* CatchPad,
          llvm::BasicBlock* BB)

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

Parameters

llvm::Value* CatchPad
llvm::BasicBlock* BB

void setCatchPad(llvm::CatchPadInst* CatchPad)

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

Parameters

llvm::CatchPadInst* CatchPad

void setSuccessor(llvm::BasicBlock* NewSucc)

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

Parameters

llvm::BasicBlock* NewSucc

void setSuccessor(unsigned int Idx,
                  llvm::BasicBlock* B)

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

Parameters

unsigned int Idx
llvm::BasicBlock* B