diff options
| author | Eli Bendersky <eliben@chromium.org> | 2013-06-28 13:25:56 -0700 |
|---|---|---|
| committer | Eli Bendersky <eliben@chromium.org> | 2013-06-28 13:25:56 -0700 |
| commit | 331ef6ecbef4e3f3afa8ae627ad5b3528a534e04 (patch) | |
| tree | 4440cd227f449d9d0ac0d7b97accab48a945876f /include | |
| parent | 46f7d96a210d9524fcb050a3e8bf5e0f65081442 (diff) | |
Revert the IntrinsicLowering logic that preserves externals for intrinsics.
This is no longer required, following our recent PNaCl ABI cleanups.
BUG=None
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/18031017
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/CodeGen/IntrinsicLowering.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index 686a9be529..68389dde49 100644 --- a/include/llvm/CodeGen/IntrinsicLowering.h +++ b/include/llvm/CodeGen/IntrinsicLowering.h @@ -16,7 +16,6 @@ #ifndef LLVM_CODEGEN_INTRINSICLOWERING_H #define LLVM_CODEGEN_INTRINSICLOWERING_H -#include "llvm/ADT/StringSet.h" // @LOCALMOD #include "llvm/IR/Intrinsics.h" namespace llvm { @@ -27,23 +26,12 @@ namespace llvm { class IntrinsicLowering { const DataLayout& TD; - static StringSet<> FuncNames; // @LOCALMOD - + bool Warned; public: explicit IntrinsicLowering(const DataLayout &td) : TD(td), Warned(false) {} - /// @LOCALMOD-BEGIN - /// GetFuncNames - Get the names of all functions which may - /// be called by an intrinsic. - static const StringSet<> &GetFuncNames(); - - /// IsCalledByIntrinsic - Returns true if a function may be called - /// by an intrinsic. - static bool IsCalledByIntrinsic(const StringRef &FuncName); - /// @LOCALMOD-END - /// AddPrototypes - This method, if called, causes all of the prototypes /// that might be needed by an intrinsic lowering implementation to be /// inserted into the module specified. |
