Home
last modified time | relevance | path

Searched refs:LiveRegs (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/CodeGen/
DExecutionDepsFix.cpp142 LiveReg *LiveRegs; member in __anon9f4aedbd0311::ExeDepsFix
269 assert(LiveRegs && "Must enter basic block first."); in setLiveReg()
271 if (LiveRegs[rx].Value == dv) in setLiveReg()
273 if (LiveRegs[rx].Value) in setLiveReg()
274 release(LiveRegs[rx].Value); in setLiveReg()
275 LiveRegs[rx].Value = retain(dv); in setLiveReg()
281 assert(LiveRegs && "Must enter basic block first."); in kill()
282 if (!LiveRegs[rx].Value) in kill()
285 release(LiveRegs[rx].Value); in kill()
286 LiveRegs[rx].Value = nullptr; in kill()
[all …]
DStackMapLivenessAnalysis.cpp54 LivePhysRegs LiveRegs; member in __anon8828b9b70111::StackMapLiveness
128 LiveRegs.init(TRI); in calculateLiveness()
129 LiveRegs.addLiveOuts(MBBI); in calculateLiveness()
141 DEBUG(dbgs() << " " << LiveRegs << " " << *I); in calculateLiveness()
142 LiveRegs.stepBackward(*I); in calculateLiveness()
163 for (LivePhysRegs::const_iterator RI = LiveRegs.begin(), RE = LiveRegs.end(); in createRegisterMask()
DRegisterPressure.cpp169 LiveRegs.PhysRegs.clear(); in reset()
170 LiveRegs.VirtRegs.clear(); in reset()
203 LiveRegs.PhysRegs.setUniverse(TRI->getNumRegs()); in init()
204 LiveRegs.VirtRegs.setUniverse(MRI->getNumVirtRegs()); in init()
243 P.LiveInRegs.reserve(LiveRegs.PhysRegs.size() + LiveRegs.VirtRegs.size()); in closeTop()
244 P.LiveInRegs.append(LiveRegs.PhysRegs.begin(), LiveRegs.PhysRegs.end()); in closeTop()
246 LiveRegs.VirtRegs.begin(), E = LiveRegs.VirtRegs.end(); I != E; ++I) in closeTop()
261 P.LiveOutRegs.reserve(LiveRegs.PhysRegs.size() + LiveRegs.VirtRegs.size()); in closeBottom()
262 P.LiveOutRegs.append(LiveRegs.PhysRegs.begin(), LiveRegs.PhysRegs.end()); in closeBottom()
264 LiveRegs.VirtRegs.begin(), E = LiveRegs.VirtRegs.end(); I != E; ++I) in closeBottom()
[all …]
DLivePhysRegs.cpp26 SparseSet<unsigned>::iterator LRI = LiveRegs.begin(); in removeRegsInMask()
27 while (LRI != LiveRegs.end()) { in removeRegsInMask()
29 LRI = LiveRegs.erase(LRI); in removeRegsInMask()
DScheduleDAGInstrs.cpp1075 LiveRegs.reset(); in startBlockForKills()
1086 LiveRegs.set(*SubRegs); in startBlockForKills()
1099 if (LiveRegs.test(MO.getReg())) { in toggleKillFlag()
1111 if (LiveRegs.test(*SubRegs)) { in toggleKillFlag()
1126 LiveRegs.resize(TRI->getNumRegs()); in fixupKills()
1145 LiveRegs.clearBitsNotInMask(MO.getRegMask()); in fixupKills()
1156 LiveRegs.reset(*SubRegs); in fixupKills()
1174 if (LiveRegs.test(*SubRegs)) { in fixupKills()
1183 kill = !LiveRegs.test(Reg); in fixupKills()
1206 LiveRegs.set(*SubRegs); in fixupKills()
/external/llvm/include/llvm/CodeGen/
DLivePhysRegs.h45 SparseSet<unsigned> LiveRegs; variable
51 LivePhysRegs() : TRI(nullptr), LiveRegs() {} in LivePhysRegs()
56 LiveRegs.setUniverse(TRI->getNumRegs()); in LivePhysRegs()
63 LiveRegs.clear(); in init()
64 LiveRegs.setUniverse(TRI->getNumRegs()); in init()
68 void clear() { LiveRegs.clear(); } in clear()
71 bool empty() const { return LiveRegs.empty(); } in empty()
79 LiveRegs.insert(*SubRegs); in addReg()
89 LiveRegs.erase(*SubRegs); in removeReg()
92 LiveRegs.erase(*SuperRegs); in removeReg()
[all …]
DScheduleDAGInstrs.h152 BitVector LiveRegs; variable
DRegisterPressure.h264 LiveRegSet LiveRegs;