class Expression

Declaration

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

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:60

Method Overview

  • public Expression(llvm::GVNExpression::ExpressionType ET = ET_Base, unsigned int O = ~2U)
  • public Expression(const llvm::GVNExpression::Expression &)
  • public void dump() const
  • public virtual bool equals(const llvm::GVNExpression::Expression & Other) const
  • public virtual bool exactlyEquals(const llvm::GVNExpression::Expression & Other) const
  • public llvm::hash_code getComputedHash() const
  • public static unsigned int getEmptyKey()
  • public llvm::GVNExpression::ExpressionType getExpressionType() const
  • public virtual llvm::hash_code getHashValue() const
  • public unsigned int getOpcode() const
  • public static unsigned int getTombstoneKey()
  • public void print(llvm::raw_ostream & OS) const
  • public virtual void printInternal(llvm::raw_ostream & OS, bool PrintEType) const
  • public void setOpcode(unsigned int opcode)
  • public virtual ~Expression()

Methods

Expression(llvm::GVNExpression::ExpressionType
               ET = ET_Base,
           unsigned int O = ~2U)

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:67

Parameters

llvm::GVNExpression::ExpressionType ET = ET_Base
unsigned int O = ~2U

Expression(const llvm::GVNExpression::Expression&)

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:69

Parameters

const llvm::GVNExpression::Expression&

void dump() const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:128

virtual bool equals(
    const llvm::GVNExpression::Expression& Other)
    const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:100

Parameters

const llvm::GVNExpression::Expression& Other

virtual bool exactlyEquals(
    const llvm::GVNExpression::Expression& Other)
    const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:104

Parameters

const llvm::GVNExpression::Expression& Other

llvm::hash_code getComputedHash() const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:91

static unsigned int getEmptyKey()

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:73

llvm::GVNExpression::ExpressionType
getExpressionType() const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:110

virtual llvm::hash_code getHashValue() const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:113

unsigned int getOpcode() const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:108

static unsigned int getTombstoneKey()

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:74

void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:122

Parameters

llvm::raw_ostream& OS

virtual void printInternal(llvm::raw_ostream& OS,
                           bool PrintEType) const

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:116

Parameters

llvm::raw_ostream& OS
bool PrintEType

void setOpcode(unsigned int opcode)

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:109

Parameters

unsigned int opcode

virtual ~Expression()

Declared at: llvm/include/llvm/Transforms/Scalar/GVNExpression.h:71