LLVM API Documentation
#include <Operator.h>
Public Member Functions | |
| bool | hasNoUnsignedWrap () const |
| void | setHasNoUnsignedWrap (bool B) |
| bool | hasNoSignedWrap () const |
| void | setHasNoSignedWrap (bool B) |
Static Public Member Functions | |
| static bool | classof (const OverflowingBinaryOperator *) |
| static bool | classof (const Instruction *I) |
| static bool | classof (const ConstantExpr *CE) |
| static bool | classof (const Value *V) |
Definition at line 69 of file Operator.h.
| bool llvm::OverflowingBinaryOperator::hasNoUnsignedWrap | ( | ) | const [inline] |
hasNoUnsignedWrap - Test whether this operation is known to never undergo unsigned overflow, aka the nuw property.
Definition at line 74 of file Operator.h.
References llvm::Value::SubclassOptionalData.
| void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap | ( | bool | B | ) | [inline] |
| bool llvm::OverflowingBinaryOperator::hasNoSignedWrap | ( | ) | const [inline] |
hasNoSignedWrap - Test whether this operation is known to never undergo signed overflow, aka the nsw property.
Definition at line 83 of file Operator.h.
References llvm::Value::SubclassOptionalData.
| void llvm::OverflowingBinaryOperator::setHasNoSignedWrap | ( | bool | B | ) | [inline] |
| static bool llvm::OverflowingBinaryOperator::classof | ( | const OverflowingBinaryOperator * | ) | [inline, static] |
| static bool llvm::OverflowingBinaryOperator::classof | ( | const Instruction * | I | ) | [inline, static] |
Reimplemented from llvm::Operator.
Reimplemented in llvm::AddOperator, llvm::SubOperator, and llvm::MulOperator.
Definition at line 91 of file Operator.h.
References llvm::Instruction::getOpcode().
| static bool llvm::OverflowingBinaryOperator::classof | ( | const ConstantExpr * | CE | ) | [inline, static] |
Reimplemented from llvm::Operator.
Reimplemented in llvm::AddOperator, llvm::SubOperator, and llvm::MulOperator.
Definition at line 96 of file Operator.h.
References llvm::ConstantExpr::getOpcode().
Reimplemented from llvm::Operator.
Reimplemented in llvm::AddOperator, llvm::SubOperator, and llvm::MulOperator.
Definition at line 101 of file Operator.h.
References classof().