summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/TargetTransformInfo.h
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-03-20 20:17:13 +0000
committerJuergen Ributzka <juergen@apple.com>2014-03-20 20:17:13 +0000
commitee3242ed0b25f1b2d53d47eabe727035f387123a (patch)
treed1baa3bc6eb39e5dfb5656dac0c443b0aed83b69 /include/llvm/Analysis/TargetTransformInfo.h
parent228c72a841885aff0cb6871525e9aa69b8b8a410 (diff)
downloadllvm-ee3242ed0b25f1b2d53d47eabe727035f387123a.tar.gz
llvm-ee3242ed0b25f1b2d53d47eabe727035f387123a.tar.bz2
llvm-ee3242ed0b25f1b2d53d47eabe727035f387123a.tar.xz
Revert "[Constant Hoisting] Extend coverage of the constant hoisting pass."
I will break this up into smaller pieces for review and recommit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/TargetTransformInfo.h')
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h
index b11674898f..178d55305e 100644
--- a/include/llvm/Analysis/TargetTransformInfo.h
+++ b/include/llvm/Analysis/TargetTransformInfo.h
@@ -297,10 +297,10 @@ public:
/// \brief Return the expected cost of materialization for the given integer
/// immediate of the specified type for a given instruction. The cost can be
/// zero if the immediate can be folded into the specified instruction.
- virtual unsigned getIntImmCost(unsigned Opc, unsigned Idx, const APInt &Imm,
+ virtual unsigned getIntImmCost(unsigned Opcode, const APInt &Imm,
+ Type *Ty) const;
+ virtual unsigned getIntImmCost(Intrinsic::ID IID, const APInt &Imm,
Type *Ty) const;
- virtual unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx,
- const APInt &Imm, Type *Ty) const;
/// @}
/// \name Vector Target Information