LLVM API Documentation

llvm::Operator Class Reference

#include <Operator.h>

Inheritance diagram for llvm::Operator:
[legend]
Collaboration diagram for llvm::Operator:
[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 Operator *)
static bool classof (const Instruction *I)
static bool classof (const ConstantExpr *I)
static bool classof (const Value *V)


Detailed Description

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

Definition at line 28 of file Operator.h.


Member Function Documentation

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 49 of file Operator.h.

References UserOp1.

static bool llvm::Operator::classof ( const Operator *   )  [inline, static]

Definition at line 57 of file Operator.h.

static bool llvm::Operator::classof ( const Instruction *  I  )  [inline, static]

static bool llvm::Operator::classof ( const ConstantExpr *  I  )  [inline, static]

static bool llvm::Operator::classof ( const Value *  V  )  [inline, static]


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