class CatchPadInst

Declaration

class CatchPadInst : public FuncletPadInst { /* 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:4498

Inherits from: FuncletPadInst

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 CatchPadInst(llvm::Value * CatchSwitch, ArrayRef<llvm::Value *> Args, unsigned int Values, const llvm::Twine & NameStr, llvm::Instruction * InsertBefore)
  • private CatchPadInst(llvm::Value * CatchSwitch, ArrayRef<llvm::Value *> Args, unsigned int Values, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
  • public static llvm::CatchPadInst * Create(llvm::Value * CatchSwitch, ArrayRef<llvm::Value *> Args, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public static llvm::CatchPadInst * Create(llvm::Value * CatchSwitch, ArrayRef<llvm::Value *> Args, 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::CatchSwitchInst * getCatchSwitch() const
  • public void setCatchSwitch(llvm::Value * CatchSwitch)

Inherited from FuncletPadInst:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

CatchPadInst(llvm::Value* CatchSwitch,
             ArrayRef<llvm::Value*> Args,
             unsigned int Values,
             const llvm::Twine& NameStr,
             llvm::Instruction* InsertBefore)

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

Parameters

llvm::Value* CatchSwitch
ArrayRef<llvm::Value*> Args
unsigned int Values
const llvm::Twine& NameStr
llvm::Instruction* InsertBefore

CatchPadInst(llvm::Value* CatchSwitch,
             ArrayRef<llvm::Value*> Args,
             unsigned int Values,
             const llvm::Twine& NameStr,
             llvm::BasicBlock* InsertAtEnd)

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

Parameters

llvm::Value* CatchSwitch
ArrayRef<llvm::Value*> Args
unsigned int Values
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

static llvm::CatchPadInst* Create(
    llvm::Value* CatchSwitch,
    ArrayRef<llvm::Value*> Args,
    const llvm::Twine& NameStr = "",
    llvm::Instruction* InsertBefore = nullptr)

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

Parameters

llvm::Value* CatchSwitch
ArrayRef<llvm::Value*> Args
const llvm::Twine& NameStr = ""
llvm::Instruction* InsertBefore = nullptr

static llvm::CatchPadInst* Create(
    llvm::Value* CatchSwitch,
    ArrayRef<llvm::Value*> Args,
    const llvm::Twine& NameStr,
    llvm::BasicBlock* InsertAtEnd)

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

Parameters

llvm::Value* CatchSwitch
ArrayRef<llvm::Value*> Args
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

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

Description

Methods for support type inquiry through isa, cast, and dyn_cast:

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

Parameters

const llvm::Instruction* I

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

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

Parameters

const llvm::Value* V

llvm::CatchSwitchInst* getCatchSwitch() const

Description

Convenience accessors

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

void setCatchSwitch(llvm::Value* CatchSwitch)

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

Parameters

llvm::Value* CatchSwitch