1 //===- llvm/Transforms/HoistPHIConstants.h - Normalize PHI nodes -*- C++ -*--=//
3 // HoistPHIConstants - Remove literal constants that are arguments of PHI nodes
4 // by inserting cast instructions in the preceeding basic blocks, and changing
5 // constant references into references of the casted value.
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TRANSFORMS_HOISTPHICONSTANTS_H
10 #define LLVM_TRANSFORMS_HOISTPHICONSTANTS_H
13 Pass *createHoistPHIConstantsPass();