summaryrefslogtreecommitdiff
path: root/include/llvm/Support/CodeGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/CodeGen.h')
-rw-r--r--include/llvm/Support/CodeGen.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/Support/CodeGen.h b/include/llvm/Support/CodeGen.h
index 5f9e33129587..22e74167266c 100644
--- a/include/llvm/Support/CodeGen.h
+++ b/include/llvm/Support/CodeGen.h
@@ -25,7 +25,7 @@ namespace llvm {
// Code model types.
namespace CodeModel {
// Sync changes with CodeGenCWrappers.h.
- enum Model { Small, Kernel, Medium, Large };
+ enum Model { Tiny, Small, Kernel, Medium, Large };
}
namespace PICLevel {
@@ -57,6 +57,11 @@ namespace llvm {
};
}
+ // Specify effect of frame pointer elimination optimization.
+ namespace FramePointer {
+ enum FP {All, NonLeaf, None};
+ }
+
} // end llvm namespace
#endif