LLVM API Documentation
#include <Operator.h>
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) |
Definition at line 28 of file Operator.h.
| unsigned llvm::Operator::getOpcode | ( | ) | const [inline] |
getOpcode - Return the opcode for this Instruction or ConstantExpr.
Definition at line 40 of file Operator.h.
Referenced by llvm::CannotBeNegativeZero(), llvm::ComputeMaskedBits(), llvm::ComputeNumSignBits(), llvm::Value::getUnderlyingObject(), getUnderlyingObject(), getUnderlyingObjectFromInt(), and llvm::Value::stripPointerCasts().
getOpcode - If V is an Instruction or ConstantExpr, return its opcode. Otherwise return UserOp1.
Definition at line 49 of file Operator.h.
References UserOp1.
Definition at line 57 of file Operator.h.
| static bool llvm::Operator::classof | ( | const Instruction * | I | ) | [inline, static] |
Reimplemented in llvm::OverflowingBinaryOperator, llvm::AddOperator, llvm::SubOperator, llvm::MulOperator, llvm::SDivOperator, and llvm::GEPOperator.
Definition at line 58 of file Operator.h.
| static bool llvm::Operator::classof | ( | const ConstantExpr * | I | ) | [inline, static] |
Reimplemented in llvm::OverflowingBinaryOperator, llvm::AddOperator, llvm::SubOperator, llvm::MulOperator, llvm::SDivOperator, and llvm::GEPOperator.
Definition at line 59 of file Operator.h.
Reimplemented from llvm::User.
Reimplemented in llvm::OverflowingBinaryOperator, llvm::AddOperator, llvm::SubOperator, llvm::MulOperator, llvm::SDivOperator, and llvm::GEPOperator.
Definition at line 60 of file Operator.h.