aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetLowering.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-29 17:14:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-29 17:14:24 +0000
commit74a4533a4290b7c6f1fe04a30ca13ec25c529e0a (patch)
tree06e8cebe8401550f9efcbfbf2476b0612dd49cc3 /include/llvm/Target/TargetLowering.h
parent975ee54731476ff6541fc42f6a8cd706f3d33f58 (diff)
downloadexternal_llvm-74a4533a4290b7c6f1fe04a30ca13ec25c529e0a.zip
external_llvm-74a4533a4290b7c6f1fe04a30ca13ec25c529e0a.tar.gz
external_llvm-74a4533a4290b7c6f1fe04a30ca13ec25c529e0a.tar.bz2
Remove the old CodePlacementOpt pass.
It was superseded by MachineBlockPlacement and disabled by default since LLVM 3.1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
-rw-r--r--include/llvm/Target/TargetLowering.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 5d74848..1786bd2 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -694,13 +694,6 @@ public:
return false;
}
- /// This function returns true if the target would benefit from code placement
- /// optimization.
- /// @brief Determine if the target should perform code placement optimization.
- bool shouldOptimizeCodePlacement() const {
- return BenefitFromCodePlacementOpt;
- }
-
/// getOptimalMemOpType - Returns the target specific optimal type for load
/// and store operations as a result of memset, memcpy, and memmove
/// lowering. If DstAlign is zero that means it's safe to destination
@@ -1644,10 +1637,6 @@ protected:
/// to memmove, used for functions with OpSize attribute.
unsigned MaxStoresPerMemmoveOptSize;
- /// This field specifies whether the target can benefit from code placement
- /// optimization.
- bool BenefitFromCodePlacementOpt;
-
/// PredictableSelectIsExpensive - Tells the code generator that select is
/// more expensive than a branch if the branch is usually predicted right.
bool PredictableSelectIsExpensive;