|
LLVM
4.0.0
|
Utility class representing a non-constant Xor-operand. More...
Public Member Functions | |
| XorOpnd (Value *V) | |
| bool | isInvalid () const |
| bool | isOrExpr () const |
| Value * | getValue () const |
| Value * | getSymbolicPart () const |
| unsigned | getSymbolicRank () const |
| const APInt & | getConstPart () const |
| void | Invalidate () |
| void | setSymbolicRank (unsigned R) |
Utility class representing a non-constant Xor-operand.
We classify non-constant Xor-Operands into two categories: C1) The operand is in the form "X & C", where C is a constant and C != ~0 C2) C2.1) The operand is in the form of "X | C", where C is a non-zero constant. C2.2) Any operand E which doesn't fall into C1 and C2.1, we view this operand as "E | 0"
Definition at line 77 of file Reassociate.cpp.
| XorOpnd::XorOpnd | ( | Value * | V | ) |
Definition at line 99 of file Reassociate.cpp.
References llvm::APIntOps::And(), assert(), C, llvm::dyn_cast(), llvm::Type::getIntegerBitWidth(), llvm::APInt::getNullValue(), llvm::Instruction::getOpcode(), llvm::User::getOperand(), llvm::Value::getType(), I, llvm::APIntOps::Or(), and std::swap().
Definition at line 86 of file Reassociate.cpp.
|
inline |
Definition at line 84 of file Reassociate.cpp.
|
inline |
Definition at line 85 of file Reassociate.cpp.
|
inline |
Definition at line 83 of file Reassociate.cpp.
|
inline |
Definition at line 88 of file Reassociate.cpp.
|
inline |
Definition at line 81 of file Reassociate.cpp.
|
inline |
Definition at line 82 of file Reassociate.cpp.
|
inline |
Definition at line 89 of file Reassociate.cpp.
1.8.6