summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/TargetTransformInfo.h
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-01-24 18:40:30 +0000
committerJuergen Ributzka <juergen@apple.com>2014-01-24 18:40:30 +0000
commitdc6f9b9a4fcf2b280ee2b30542d223dd6ddbf900 (patch)
treeed17530421ddaddebbe7c91881f45611c757e2b9 /include/llvm/Analysis/TargetTransformInfo.h
parent08aa5bf1d544774d4689521b525a34a0807278ee (diff)
downloadllvm-dc6f9b9a4fcf2b280ee2b30542d223dd6ddbf900.tar.gz
llvm-dc6f9b9a4fcf2b280ee2b30542d223dd6ddbf900.tar.bz2
llvm-dc6f9b9a4fcf2b280ee2b30542d223dd6ddbf900.tar.xz
Revert "Add Constant Hoisting Pass"
This reverts commit r200022 to unbreak the build bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/TargetTransformInfo.h')
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h
index f2613e35c5..a8975b7a4f 100644
--- a/include/llvm/Analysis/TargetTransformInfo.h
+++ b/include/llvm/Analysis/TargetTransformInfo.h
@@ -92,7 +92,6 @@ public:
enum TargetCostConstants {
TCC_Free = 0, ///< Expected to fold away in lowering.
TCC_Basic = 1, ///< The cost of a typical 'add' instruction.
- TCC_Load = 3,
TCC_Expensive = 4 ///< The cost of a 'div' instruction on x86.
};
@@ -300,13 +299,6 @@ public:
/// immediate of the specified type.
virtual unsigned getIntImmCost(const APInt &Imm, Type *Ty) const;
- /// \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 Opcode, const APInt &Imm,
- Type *Ty) const;
- virtual unsigned getIntImmCost(Intrinsic::ID IID, const APInt &Imm,
- Type *Ty) const;
/// @}
/// \name Vector Target Information