1 //===-- llvm/Support/CodeGen.h - CodeGen Concepts ---------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file define some types which define code generation concepts. For
11 // example, relocation model.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_SUPPORT_CODEGEN_H
16 #define LLVM_SUPPORT_CODEGEN_H
20 // Relocation model types.
22 enum Model { Default, Static, PIC_, DynamicNoPIC };
27 enum Model { Default, JITDefault, Small, Kernel, Medium, Large };
40 // Code generation optimization level.
41 namespace CodeGenOpt {
50 } // end llvm namespace