Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:36:53

0001 //===--- Phases.h - Transformations on Driver Types -------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_CLANG_DRIVER_PHASES_H
0010 #define LLVM_CLANG_DRIVER_PHASES_H
0011 
0012 namespace clang {
0013 namespace driver {
0014 namespace phases {
0015   /// ID - Ordered values for successive stages in the
0016   /// compilation process which interact with user options.
0017   enum ID {
0018     Preprocess,
0019     Precompile,
0020     Compile,
0021     Backend,
0022     Assemble,
0023     Link,
0024     IfsMerge,
0025   };
0026 
0027   enum {
0028     MaxNumberOfPhases = IfsMerge + 1
0029   };
0030 
0031   const char *getPhaseName(ID Id);
0032 
0033 } // end namespace phases
0034 } // end namespace driver
0035 } // end namespace clang
0036 
0037 #endif