diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-26 20:33:47 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-26 20:33:47 +0000 |
commit | 41d6d6cb406b62505e52f2c14c524fd5a509742f (patch) | |
tree | 6b43fc631c767a26187f1bc91de35f1af95470d2 /include | |
parent | 6926cce5c3b6e133f235a22381c13802ef68beb1 (diff) | |
download | external_llvm-41d6d6cb406b62505e52f2c14c524fd5a509742f.zip external_llvm-41d6d6cb406b62505e52f2c14c524fd5a509742f.tar.gz external_llvm-41d6d6cb406b62505e52f2c14c524fd5a509742f.tar.bz2 |
Get rid of these cache variables, which are a holdover from the days when
we had multiple type planes and these lookups were expensive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/IntrinsicLowering.h | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index c28083a..eefbc45 100644 --- a/include/llvm/CodeGen/IntrinsicLowering.h +++ b/include/llvm/CodeGen/IntrinsicLowering.h @@ -25,45 +25,12 @@ namespace llvm { class IntrinsicLowering { const TargetData& TD; - - Constant *SetjmpFCache; - Constant *LongjmpFCache; - Constant *AbortFCache; - Constant *MemcpyFCache; - Constant *MemmoveFCache; - Constant *MemsetFCache; - Constant *sqrtFCache; - Constant *sqrtDCache; - Constant *sqrtLDCache; - Constant *logFCache; - Constant *logDCache; - Constant *logLDCache; - Constant *log2FCache; - Constant *log2DCache; - Constant *log2LDCache; - Constant *log10FCache; - Constant *log10DCache; - Constant *log10LDCache; - Constant *expFCache; - Constant *expDCache; - Constant *expLDCache; - Constant *exp2FCache; - Constant *exp2DCache; - Constant *exp2LDCache; - Constant *powFCache; - Constant *powDCache; - Constant *powLDCache; + bool Warned; public: explicit IntrinsicLowering(const TargetData &td) : - TD(td), SetjmpFCache(0), LongjmpFCache(0), AbortFCache(0), - MemcpyFCache(0), MemmoveFCache(0), MemsetFCache(0), sqrtFCache(0), - sqrtDCache(0), sqrtLDCache(0), logFCache(0), logDCache(0), logLDCache(0), - log2FCache(0), log2DCache(0), log2LDCache(0), log10FCache(0), - log10DCache(0), log10LDCache(0), expFCache(0), expDCache(0), - expLDCache(0), exp2FCache(0), exp2DCache(0), exp2LDCache(0), powFCache(0), - powDCache(0), powLDCache(0), Warned(false) {} + TD(td), Warned(false) {} /// AddPrototypes - This method, if called, causes all of the prototypes /// that might be needed by an intrinsic lowering implementation to be |