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

#include <Operator.h>

Inheritance diagram for llvm::Operator:
Inheritance graph
Collaboration diagram for llvm::Operator:
Collaboration graph

List of all members.

Public Member Functions

unsigned getOpcode () const
 Return the opcode for this Instruction or ConstantExpr.

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 () override

Detailed Description

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

Definition at line 33 of file Operator.h.

Constructor & Destructor Documentation

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

Definition at line 83 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]

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

Definition at line 57 of file Operator.h.

References llvm::WinEH::CE, I, and llvm::UserOp1.

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