summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64MachineFunctionInfo.h
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-02-15 09:33:43 +0000
committerTim Northover <Tim.Northover@arm.com>2013-02-15 09:33:43 +0000
commit1e8839302b70d77de63844332bdee9ce7d06f2c9 (patch)
tree13c018c5dfc7095a77e603f5a5de9db46e28204a /lib/Target/AArch64/AArch64MachineFunctionInfo.h
parent148ac534fc5592ed7031efde9a577890f078068b (diff)
AArch64: remove ConstantIsland pass & put literals in separate section.
This implements the review suggestion to simplify the AArch64 backend. If we later discover that we *really* need the extra complexity of the ConstantIslands pass for performance reasons it can be resurrected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64MachineFunctionInfo.h')
-rw-r--r--lib/Target/AArch64/AArch64MachineFunctionInfo.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/AArch64/AArch64MachineFunctionInfo.h b/lib/Target/AArch64/AArch64MachineFunctionInfo.h
index 37c1cc5b29e..33da54f97fd 100644
--- a/lib/Target/AArch64/AArch64MachineFunctionInfo.h
+++ b/lib/Target/AArch64/AArch64MachineFunctionInfo.h
@@ -14,7 +14,6 @@
#ifndef AARCH64MACHINEFUNCTIONINFO_H
#define AARCH64MACHINEFUNCTIONINFO_H
-#include "llvm/ADT/DenseMap.h"
#include "llvm/CodeGen/MachineFunction.h"
namespace llvm {
@@ -49,10 +48,6 @@ class AArch64MachineFunctionInfo : public MachineFunctionInfo {
/// Number of local-dynamic TLS accesses.
unsigned NumLocalDynamics;
- /// Keep track of the next label to be created within this function to
- /// represent a cloned constant pool entry. Used by constant islands pass.
- unsigned PICLabelUId;
-
/// @see AArch64 Procedure Call Standard, B.3
///
/// The Frame index of the area where LowerFormalArguments puts the
@@ -96,7 +91,6 @@ public:
ArgumentStackToRestore(0),
InitialStackAdjust(0),
NumLocalDynamics(0),
- PICLabelUId(0),
VariadicGPRIdx(0),
VariadicGPRSize(0),
VariadicFPRIdx(0),
@@ -109,7 +103,6 @@ public:
ArgumentStackToRestore(0),
InitialStackAdjust(0),
NumLocalDynamics(0),
- PICLabelUId(0),
VariadicGPRIdx(0),
VariadicGPRSize(0),
VariadicFPRIdx(0),
@@ -131,10 +124,6 @@ public:
unsigned getNumLocalDynamicTLSAccesses() const { return NumLocalDynamics; }
void incNumLocalDynamicTLSAccesses() { ++NumLocalDynamics; }
- void initPICLabelUId(unsigned UId) { PICLabelUId = UId; }
- unsigned getNumPICLabels() const { return PICLabelUId; }
- unsigned createPICLabelUId() { return PICLabelUId++; }
-
int getVariadicGPRIdx() const { return VariadicGPRIdx; }
void setVariadicGPRIdx(int Idx) { VariadicGPRIdx = Idx; }