class ConstantExpression
Declaration
class ConstantExpression : public Expression { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:585
Inherits from: Expression
Method Overview
- public ConstantExpression()
- public ConstantExpression(llvm::Constant * constantValue)
- public ConstantExpression(const llvm::GVNExpression::ConstantExpression &)
- public static bool classof(const llvm::GVNExpression::Expression * EB)
- public bool equals(const llvm::GVNExpression::Expression & Other) const
- public llvm::Constant * getConstantValue() const
- public llvm::hash_code getHashValue() const
- public void printInternal(llvm::raw_ostream & OS, bool PrintEType) const
- public void setConstantValue(llvm::Constant * V)
Inherited from Expression:
- public dump
- public equals
- public exactlyEquals
- public getComputedHash
- public getEmptyKey
- public getExpressionType
- public getHashValue
- public getOpcode
- public getTombstoneKey
- public print
- public printInternal
- public setOpcode
Methods
¶ConstantExpression()
ConstantExpression()
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:590
¶ConstantExpression(llvm::Constant* constantValue)
ConstantExpression(llvm::Constant* constantValue)
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:591
Parameters
- llvm::Constant* constantValue
¶ConstantExpression(const llvm::GVNExpression::
ConstantExpression&)
ConstantExpression(const llvm::GVNExpression::
ConstantExpression&)
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:593
Parameters
¶static bool classof(
const llvm::GVNExpression::Expression* EB)
static bool classof(
const llvm::GVNExpression::Expression* EB)
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:596
Parameters
- const llvm::GVNExpression::Expression* EB
¶bool equals(const llvm::GVNExpression::Expression&
Other) const
bool equals(const llvm::GVNExpression::Expression&
Other) const
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:603
Parameters
- const llvm::GVNExpression::Expression& Other
¶llvm::Constant* getConstantValue() const
llvm::Constant* getConstantValue() const
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:600
¶llvm::hash_code getHashValue() const
llvm::hash_code getHashValue() const
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:608
¶void printInternal(llvm::raw_ostream& OS,
bool PrintEType) const
void printInternal(llvm::raw_ostream& OS,
bool PrintEType) const
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:614
Parameters
- llvm::raw_ostream& OS
- bool PrintEType
¶void setConstantValue(llvm::Constant* V)
void setConstantValue(llvm::Constant* V)
Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:601