LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Friends
llvm::PossiblyExactOperator Class Reference

#include <Operator.h>

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

List of all members.

Public Types

enum  { IsExact = (1 << 0) }

Public Member Functions

bool isExact () const

Static Public Member Functions

static bool isPossiblyExactOpcode (unsigned OpC)
static bool classof (const ConstantExpr *CE)
static bool classof (const Instruction *I)
static bool classof (const Value *V)

Friends

class BinaryOperator
class ConstantExpr

Detailed Description

PossiblyExactOperator - A udiv or sdiv instruction, which can be marked as "exact", indicating that no bits are destroyed.

Definition at line 131 of file Operator.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
IsExact 

Definition at line 133 of file Operator.h.


Member Function Documentation

static bool llvm::PossiblyExactOperator::classof ( const ConstantExpr CE) [inline, static]
static bool llvm::PossiblyExactOperator::classof ( const Instruction I) [inline, static]
static bool llvm::PossiblyExactOperator::classof ( const Value V) [inline, static]

isExact - Test whether this division is known to be exact, with zero remainder.

Definition at line 147 of file Operator.h.

References IsExact, and llvm::Value::SubclassOptionalData.

Referenced by isKnownNonZero().

Definition at line 151 of file Operator.h.

References llvm::LShr.

Referenced by classof().


Friends And Related Function Documentation

friend class BinaryOperator [friend]

Definition at line 138 of file Operator.h.

friend class ConstantExpr [friend]

Definition at line 139 of file Operator.h.


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