Home
last modified time | relevance | path

Searched refs:LiveIns (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineRegisterInfo.cpp220 for (unsigned i = 0, e = LiveIns.size(); i != e; ++i) in EmitLiveInCopies()
221 if (LiveIns[i].second) { in EmitLiveInCopies()
222 if (use_empty(LiveIns[i].second)) { in EmitLiveInCopies()
228 LiveIns.erase(LiveIns.begin() + i); in EmitLiveInCopies()
233 TII.get(TargetOpcode::COPY), LiveIns[i].second) in EmitLiveInCopies()
234 .addReg(LiveIns[i].first); in EmitLiveInCopies()
237 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
241 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
DMachineBasicBlock.cpp262 std::find(LiveIns.begin(), LiveIns.end(), Reg); in removeLiveIn()
263 assert(I != LiveIns.end() && "Not a live in!"); in removeLiveIn()
264 LiveIns.erase(I); in removeLiveIn()
/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp148 for (auto &I : LiveIns) in clearVirtRegs()
402 for (unsigned i = 0, e = LiveIns.size(); i != e; ++i) in EmitLiveInCopies()
403 if (LiveIns[i].second) { in EmitLiveInCopies()
404 if (use_empty(LiveIns[i].second)) { in EmitLiveInCopies()
410 LiveIns.erase(LiveIns.begin() + i); in EmitLiveInCopies()
415 TII.get(TargetOpcode::COPY), LiveIns[i].second) in EmitLiveInCopies()
416 .addReg(LiveIns[i].first); in EmitLiveInCopies()
419 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
423 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
DMachineBasicBlock.cpp327 LiveIns.begin(), LiveIns.end(), in removeLiveIn()
329 if (I == LiveIns.end()) in removeLiveIn()
334 LiveIns.erase(I); in removeLiveIn()
339 LiveIns.begin(), LiveIns.end(), in isLiveIn()
345 std::sort(LiveIns.begin(), LiveIns.end(), in sortUniqueLiveIns()
350 LiveInVector::const_iterator I = LiveIns.begin(); in sortUniqueLiveIns()
352 LiveInVector::iterator Out = LiveIns.begin(); in sortUniqueLiveIns()
353 for (; I != LiveIns.end(); ++Out, I = J) { in sortUniqueLiveIns()
356 for (J = std::next(I); J != LiveIns.end() && J->PhysReg == PhysReg; ++J) in sortUniqueLiveIns()
361 LiveIns.erase(Out, LiveIns.end()); in sortUniqueLiveIns()
DMachineTraceMetrics.cpp762 for (const LiveInReg &LIR : TBI.LiveIns) { in computeCrossBlockCriticalPath()
969 TBI.LiveIns.push_back(Reg); in addLiveIns()
987 TBI.LiveIns.clear(); in computeInstrHeights()
1005 for (LiveInReg &LI : TBI.LiveIns) { in computeInstrHeights()
1111 for (LiveInReg &LIR : TBI.LiveIns) { in computeInstrHeights()
1120 TBI.LiveIns.push_back(LiveInReg(RI->RegUnit, RI->Cycle)); in computeInstrHeights()
DMIRPrinter.cpp236 MF.LiveIns.push_back(LiveIn); in convert()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineRegisterInfo.h66 std::vector<std::pair<unsigned, unsigned> > LiveIns; variable
302 LiveIns.push_back(std::make_pair(Reg, vreg));
311 livein_iterator livein_begin() const { return LiveIns.begin(); } in livein_begin()
312 livein_iterator livein_end() const { return LiveIns.end(); } in livein_end()
313 bool livein_empty() const { return LiveIns.empty(); } in livein_empty()
DMachineBasicBlock.h83 std::vector<unsigned> LiveIns;
204 void addLiveIn(unsigned Reg) { LiveIns.push_back(Reg); }
217 livein_iterator livein_begin() const { return LiveIns.begin(); }
218 livein_iterator livein_end() const { return LiveIns.end(); }
219 bool livein_empty() const { return LiveIns.empty(); }
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h106 LiveInVector LiveIns;
289 LiveIns.push_back(RegisterMaskPair(PhysReg, LaneMask));
292 LiveIns.push_back(RegMaskPair);
314 livein_iterator livein_begin() const { return LiveIns.begin(); }
315 livein_iterator livein_end() const { return LiveIns.end(); }
316 bool livein_empty() const { return LiveIns.empty(); }
DMachineRegisterInfo.h123 std::vector<std::pair<unsigned, unsigned> > LiveIns; variable
793 LiveIns.push_back(std::make_pair(Reg, vreg));
800 livein_iterator livein_begin() const { return LiveIns.begin(); } in livein_begin()
801 livein_iterator livein_end() const { return LiveIns.end(); } in livein_end()
802 bool livein_empty() const { return LiveIns.empty(); } in livein_empty()
DMIRYamlMapping.h392 std::vector<MachineFunctionLiveIn> LiveIns;
415 YamlIO.mapOptional("liveins", MF.LiveIns);
DMachineTraceMetrics.h216 SmallVector<LiveInReg, 4> LiveIns; member
/external/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp245 RegisterSet LiveIns; in getLiveIns() local
248 LiveIns.insert({I.PhysReg, 0}); in getLiveIns()
249 return LiveIns; in getLiveIns()
DRDFLiveness.cpp659 auto &LiveIns = LiveMap[&B]; in resetLiveIns() local
660 for (auto I : LiveIns) { in resetLiveIns()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp406 for (const auto &LiveIn : YamlMF.LiveIns) { in initializeRegisterInfo()