Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::SubExprElimination Class Reference

#include <subexpr-elimination.h>

Collaboration diagram for impala::SubExprElimination:

Public Member Functions

 SubExprElimination (LlvmCodeGen *codegen)
 
bool Run (llvm::Function *function)
 Perform subexpr elimination on function. More...
 

Private Attributes

LlvmCodeGencodegen_
 Parent codegen object. More...
 

Detailed Description

Optimization pass to remove redundant exprs. TODO: make this into a llvm function pass (i.e. implement FunctionPass interface).

Definition at line 26 of file subexpr-elimination.h.

Constructor & Destructor Documentation

SubExprElimination::SubExprElimination ( LlvmCodeGen codegen)

Definition at line 41 of file subexpr-elimination.cc.

Member Function Documentation

bool SubExprElimination::Run ( llvm::Function *  function)

Member Data Documentation

LlvmCodeGen* impala::SubExprElimination::codegen_
private

Parent codegen object.

Definition at line 35 of file subexpr-elimination.h.

Referenced by Run().


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