llvm.org GIT mirror llvm / 4888d5e
Delete an unused member variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148594 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 8 years ago
3 changed file(s) with 0 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
8484 ///
8585 SparseBitVector<> AliveBlocks;
8686
87 /// NumUses - Number of uses of this register across the entire function.
88 ///
89 unsigned NumUses;
90
9187 /// Kills - List of MachineInstruction's which are the last use of this
9288 /// virtual register (kill it) in their basic block.
9389 ///
9490 std::vector Kills;
95
96 VarInfo() : NumUses(0) {}
9791
9892 /// removeKill - Delete a kill corresponding to the specified
9993 /// machine instruction. Returns true if there was a kill
129129 unsigned BBNum = MBB->getNumber();
130130
131131 VarInfo& VRInfo = getVarInfo(reg);
132 VRInfo.NumUses++;
133132
134133 // Check to see if this basic block is already a kill block.
135134 if (!VRInfo.Kills.empty() && VRInfo.Kills.back()->getParent() == MBB) {
240240 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg);
241241
242242 // Increment use count of the newly created virtual register.
243 VI.NumUses++;
244243 LV->setPHIJoin(IncomingReg);
245244
246245 // When we are reusing the incoming register, it may already have been