mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 21:13:02 +02:00
4272da0927
like the rest of the system. llvm-svn: 476
20 lines
623 B
C++
20 lines
623 B
C++
//===-- Normalize.h - Functions that normalize code for the BE ---*- C++ -*--=//
|
|
//
|
|
// This file defines a family of transformations to normalize LLVM code for the
|
|
// code generation passes, so that the back end doesn't have to worry about
|
|
// annoying details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_OPT_NORMALIZE_H
|
|
#define LLVM_OPT_NORMALIZE_H
|
|
|
|
class Method;
|
|
|
|
// NormalizePhiConstantArgs - Insert loads of constants that are arguments to
|
|
// PHI in the appropriate predecessor basic block.
|
|
//
|
|
void NormalizePhiConstantArgs(Method *M);
|
|
|
|
#endif LLVM_OPT_NORMALIZE_H
|