Add support for code generation of builtins.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41188 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGBuiltin.cpp b/CodeGen/CGBuiltin.cpp
new file mode 100644
index 0000000..0095bde
--- /dev/null
+++ b/CodeGen/CGBuiltin.cpp
@@ -0,0 +1,30 @@
+//===---- CGBuiltin.cpp - Emit LLVM Code for builtins ---------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by Anders Carlsson and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This contains code to emit Builtin calls as LLVM code.
+//
+//===----------------------------------------------------------------------===//
+
+#include "CodeGenFunction.h"
+#include "CodeGenModule.h"
+#include "clang/AST/Builtins.h"
+#include "clang/AST/Expr.h"
+
+using namespace clang;
+using namespace CodeGen;
+
+RValue CodeGenFunction::EmitBuiltinExpr(unsigned builtinID, const CallExpr *E)
+{
+  switch (builtinID) {
+    default:
+      assert(0 && "Unknown builtin id");
+  }
+      
+  return RValue::get(0);
+}