diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
| commit | 6b2a61d3a5c1c1ac968e0593b8d9151207216882 (patch) | |
| tree | d715507a835b34ed4913199e928408bf2d880758 /clang/lib/CodeGen/CodeGenModule.h | |
| parent | ddc04ef4933dbb176fde074613508d5311d3c338 (diff) | |
| download | bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.tar.gz bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.zip | |
Revert "Always_inline codegen rewrite" and 2 follow-ups.
Revert "Update cxx-irgen.cpp test to allow signext in alwaysinline functions."
Revert "[CodeGen] Remove wrapper-free always_inline functions from COMDATs"
Revert "Always_inline codegen rewrite."
Reason for revert: PR24793.
llvm-svn: 247620
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index e579f8bd5ec..754e3d1d29f 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -489,8 +489,6 @@ private: /// MDNodes. llvm::DenseMap<QualType, llvm::Metadata *> MetadataIdMap; - llvm::SmallVector<llvm::Function*, 8> AlwaysInlineFunctions; - public: CodeGenModule(ASTContext &C, const HeaderSearchOptions &headersearchopts, const PreprocessorOptions &ppopts, @@ -1133,8 +1131,6 @@ public: /// \breif Get the declaration of std::terminate for the platform. llvm::Constant *getTerminateFn(); - void AddAlwaysInlineFunction(llvm::Function *Fn); - private: llvm::Constant * GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl D, @@ -1230,12 +1226,6 @@ private: /// Emits target specific Metadata for global declarations. void EmitTargetMetadata(); - /// Replaces alwaysinline functions with a pair of internal xxx.inlinefunction - /// for direct calls, and a stub for indirect calls, and rewrites all uses of - /// those. - void RewriteAlwaysInlineFunctions(); - void RewriteAlwaysInlineFunction(llvm::Function *Fn); - /// Emit the llvm.gcov metadata used to tell LLVM where to emit the .gcno and /// .gcda files in a way that persists in .bc files. void EmitCoverageFile(); |

