class XorOpnd

Declaration

class XorOpnd { /* full declaration omitted */ };

Description

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"

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:96

Method Overview

Methods

void Invalidate()

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:107

XorOpnd(llvm::Value* V)

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:98

Parameters

llvm::Value* V

const llvm::APInt& getConstPart() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:105

llvm::Value* getSymbolicPart() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:103

unsigned int getSymbolicRank() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:104

llvm::Value* getValue() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:102

bool isInvalid() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:100

bool isOrExpr() const

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:101

void setSymbolicRank(unsigned int R)

Declared at: llvm/lib/Transforms/Scalar/Reassociate.cpp:108

Parameters

unsigned int R