LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::Operator Class Reference

#include <Operator.h>

Inheritance diagram for llvm::Operator:
Inheritance graph
[legend]
Collaboration diagram for llvm::Operator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned getOpcode () const

Static Public Member Functions

static unsigned getOpcode (const Value *V)
static bool classof (const Instruction *)
static bool classof (const ConstantExpr *)
static bool classof (const Value *V)

Protected Member Functions

 ~Operator ()

Detailed Description

Operator - This is a utility class that provides an abstraction for the common functionality between Instructions and ConstantExprs.

Definition at line 34 of file Operator.h.


Constructor & Destructor Documentation

llvm::Operator::~Operator ( ) [protected]

Definition at line 86 of file User.cpp.

References llvm_unreachable.


Member Function Documentation

static bool llvm::Operator::classof ( const Instruction ) [inline, static]
static bool llvm::Operator::classof ( const ConstantExpr ) [inline, static]
static bool llvm::Operator::classof ( const Value V) [inline, static]
unsigned llvm::Operator::getOpcode ( ) const [inline]
static unsigned llvm::Operator::getOpcode ( const Value V) [inline, static]

getOpcode - If V is an Instruction or ConstantExpr, return its opcode. Otherwise return UserOp1.

Definition at line 60 of file Operator.h.

References I, and llvm::UserOp1.


The documentation for this class was generated from the following files: