class UnaryInstruction

Declaration

class UnaryInstruction : 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/InstrTypes.h:56

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

  • protected UnaryInstruction(llvm::Type * Ty, unsigned int iType, llvm::Value * V, llvm::Instruction * IB = nullptr)
  • protected UnaryInstruction(llvm::Type * Ty, unsigned int iType, llvm::Value * V, llvm::BasicBlock * IAE)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

UnaryInstruction(llvm::Type* Ty,
                 unsigned int iType,
                 llvm::Value* V,
                 llvm::Instruction* IB = nullptr)

Declared at: llvm/include/llvm/IR/InstrTypes.h:58

Parameters

llvm::Type* Ty
unsigned int iType
llvm::Value* V
llvm::Instruction* IB = nullptr

UnaryInstruction(llvm::Type* Ty,
                 unsigned int iType,
                 llvm::Value* V,
                 llvm::BasicBlock* IAE)

Declared at: llvm/include/llvm/IR/InstrTypes.h:63

Parameters

llvm::Type* Ty
unsigned int iType
llvm::Value* V
llvm::BasicBlock* IAE

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

Declared at: llvm/include/llvm/IR/InstrTypes.h:77

Parameters

const llvm::Instruction* I

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

Declared at: llvm/include/llvm/IR/InstrTypes.h:85

Parameters

const llvm::Value* V