2001-10-15 17:31:51 +00:00
|
|
|
//===- llvm/Transforms/HoistPHIConstants.h - Normalize PHI nodes -*- C++ -*--=//
|
|
|
|
//
|
|
|
|
// HoistPHIConstants - Remove literal constants that are arguments of PHI nodes
|
|
|
|
// by inserting cast instructions in the preceeding basic blocks, and changing
|
|
|
|
// constant references into references of the casted value.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_TRANSFORMS_HOISTPHICONSTANTS_H
|
|
|
|
#define LLVM_TRANSFORMS_HOISTPHICONSTANTS_H
|
|
|
|
|
2002-02-26 21:46:54 +00:00
|
|
|
class Pass;
|
|
|
|
Pass *createHoistPHIConstantsPass();
|
2001-10-15 17:31:51 +00:00
|
|
|
|
|
|
|
#endif
|