aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/HoistPHIConstants.h
blob: 3a1bab1bf146210500baf25e5af8c3f594c50533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//===- 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

class Pass;
Pass *createHoistPHIConstantsPass();

#endif