aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/FunctionLoweringInfo.h
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-02-22 03:24:52 +0000
committerCameron Zwarich <zwarich@apple.com>2011-02-22 03:24:52 +0000
commit4ecc82e592745d6995db83ea158b3c15011a84f8 (patch)
tree51d712505461ec31550116b8bfea64e48ad17fcf /include/llvm/CodeGen/FunctionLoweringInfo.h
parentec243ae2b859487bd417a1289da2a4a5901c3469 (diff)
downloadexternal_llvm-4ecc82e592745d6995db83ea158b3c15011a84f8.zip
external_llvm-4ecc82e592745d6995db83ea158b3c15011a84f8.tar.gz
external_llvm-4ecc82e592745d6995db83ea158b3c15011a84f8.tar.bz2
Roll out r126169 and r126170 in an attempt to fix the selfhost bot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FunctionLoweringInfo.h')
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h
index 6bc10df..27631b7 100644
--- a/include/llvm/CodeGen/FunctionLoweringInfo.h
+++ b/include/llvm/CodeGen/FunctionLoweringInfo.h
@@ -101,30 +101,14 @@ public:
#endif
struct LiveOutInfo {
- unsigned NumSignBits : 31;
- bool IsValid : 1;
+ unsigned NumSignBits;
APInt KnownOne, KnownZero;
- LiveOutInfo() : NumSignBits(0), IsValid(false), KnownOne(1, 0),
- KnownZero(1, 0) {}
+ LiveOutInfo() : NumSignBits(0), KnownOne(1, 0), KnownZero(1, 0) {}
};
/// LiveOutRegInfo - Information about live out vregs.
IndexedMap<LiveOutInfo, VirtReg2IndexFunctor> LiveOutRegInfo;
- /// VisitedBBs - Basic blocks that have been visited by reverse postorder.
- DenseSet<const BasicBlock*> VisitedBBs;
-
- /// AllPredsVisited - Tracks whether all predecessors of the current basic
- /// block have already been visited.
- bool AllPredsVisited;
-
- /// PHIDestRegs - Virtual registers that are the destinations of PHIs.
- DenseSet<unsigned> PHIDestRegs;
-
- /// PHISrcToDestMap - Maps the virtual register defining a PHI's source to the
- /// virtual register defining its destination.
- DenseMap<unsigned, unsigned> PHISrcToDestMap;
-
/// PHINodesToUpdate - A list of phi instructions whose operand list will
/// be updated after processing the current basic block.
/// TODO: This isn't per-function state, it's per-basic-block state. But