diff options
| author | Diego Novillo <dnovillo@google.com> | 2014-05-22 17:19:01 +0000 |
|---|---|---|
| committer | Diego Novillo <dnovillo@google.com> | 2014-05-22 17:19:01 +0000 |
| commit | 0b761a48cf017079907d520ffb1177f04037c037 (patch) | |
| tree | 9415315ee7e85b752e9710f626792af9a6378a09 /llvm/lib/IR/LLVMContextImpl.h | |
| parent | fbce07ced0a4170db71b75dda6022e175e2a5ad1 (diff) | |
| download | bcm5719-llvm-0b761a48cf017079907d520ffb1177f04037c037.tar.gz bcm5719-llvm-0b761a48cf017079907d520ffb1177f04037c037.zip | |
Remove LLVMContextImpl::optimizationRemarkEnabledFor.
Summary:
This patch moves the handling of -pass-remarks* over to
lib/DiagnosticInfo.cpp. This allows the removal of the
optimizationRemarkEnabledFor functions from LLVMContextImpl, as they're
not needed anymore.
Reviewers: qcolombet
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D3878
llvm-svn: 209453
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
| -rw-r--r-- | llvm/lib/IR/LLVMContextImpl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h index 6ad9b8a70af..808c239bff5 100644 --- a/llvm/lib/IR/LLVMContextImpl.h +++ b/llvm/lib/IR/LLVMContextImpl.h @@ -374,15 +374,6 @@ public: typedef DenseMap<const Function *, ReturnInst *> PrefixDataMapTy; PrefixDataMapTy PrefixDataMap; - /// \brief Return true if the given pass name should emit optimization - /// remarks. - bool optimizationRemarkEnabledFor( - const DiagnosticInfoOptimizationRemark *DI) const; - bool optimizationRemarkEnabledFor( - const DiagnosticInfoOptimizationRemarkMissed *DI) const; - bool optimizationRemarkEnabledFor( - const DiagnosticInfoOptimizationRemarkAnalysis *DI) const; - int getOrAddScopeRecordIdxEntry(MDNode *N, int ExistingIdx); int getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA,int ExistingIdx); |

