1193326Sed//===--- Phases.h - Transformations on Driver Types -------------*- C++ -*-===//
2193326Sed//
3193326Sed//                     The LLVM Compiler Infrastructure
4193326Sed//
5193326Sed// This file is distributed under the University of Illinois Open Source
6193326Sed// License. See LICENSE.TXT for details.
7193326Sed//
8193326Sed//===----------------------------------------------------------------------===//
9193326Sed
10193326Sed#ifndef CLANG_DRIVER_PHASES_H_
11193326Sed#define CLANG_DRIVER_PHASES_H_
12193326Sed
13193326Sednamespace clang {
14193326Sednamespace driver {
15193326Sednamespace phases {
16193326Sed  /// ID - Ordered values for successive stages in the
17193326Sed  /// compilation process which interact with user options.
18193326Sed  enum ID {
19193326Sed    Preprocess,
20193326Sed    Precompile,
21193326Sed    Compile,
22193326Sed    Assemble,
23193326Sed    Link
24193326Sed  };
25193326Sed
26249423Sdim  enum {
27249423Sdim    MaxNumberOfPhases = Link + 1
28249423Sdim  };
29249423Sdim
30193326Sed  const char *getPhaseName(ID Id);
31193326Sed
32193326Sed} // end namespace phases
33193326Sed} // end namespace driver
34193326Sed} // end namespace clang
35193326Sed
36193326Sed#endif
37