Home
last modified time | relevance | path

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

12

/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp215 for (auto &I : LiveIns) in clearVirtRegs()
469 for (unsigned i = 0, e = LiveIns.size(); i != e; ++i) in EmitLiveInCopies()
470 if (LiveIns[i].second) { in EmitLiveInCopies()
471 if (use_nodbg_empty(LiveIns[i].second)) { in EmitLiveInCopies()
477 LiveIns.erase(LiveIns.begin() + i); in EmitLiveInCopies()
482 TII.get(TargetOpcode::COPY), LiveIns[i].second) in EmitLiveInCopies()
483 .addReg(LiveIns[i].first); in EmitLiveInCopies()
486 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
490 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
DMachineBasicBlock.cpp438 LiveIns, [Reg](const RegisterMaskPair &LI) { return LI.PhysReg == Reg; }); in removeLiveIn()
439 if (I == LiveIns.end()) in removeLiveIn()
444 LiveIns.erase(I); in removeLiveIn()
450 LiveInVector::iterator LI = LiveIns.begin() + (I - LiveIns.begin()); in removeLiveIn()
451 return LiveIns.erase(LI); in removeLiveIn()
456 LiveIns, [Reg](const RegisterMaskPair &LI) { return LI.PhysReg == Reg; }); in isLiveIn()
461 llvm::sort(LiveIns.begin(), LiveIns.end(), in sortUniqueLiveIns()
466 LiveInVector::const_iterator I = LiveIns.begin(); in sortUniqueLiveIns()
468 LiveInVector::iterator Out = LiveIns.begin(); in sortUniqueLiveIns()
469 for (; I != LiveIns.end(); ++Out, I = J) { in sortUniqueLiveIns()
[all …]
DMachineTraceMetrics.cpp769 for (const LiveInReg &LIR : TBI.LiveIns) { in computeCrossBlockCriticalPath()
994 TBI.LiveIns.push_back(Reg); in addLiveIns()
1012 TBI.LiveIns.clear(); in computeInstrHeights()
1030 for (LiveInReg &LI : TBI.LiveIns) { in computeInstrHeights()
1136 for (LiveInReg &LIR : TBI.LiveIns) { in computeInstrHeights()
1145 TBI.LiveIns.push_back(LiveInReg(RI->RegUnit, RI->Cycle)); in computeInstrHeights()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h105 LiveInVector LiveIns;
307 LiveIns.push_back(RegisterMaskPair(PhysReg, LaneMask));
310 LiveIns.push_back(RegMaskPair);
342 livein_iterator livein_begin_dbg() const { return LiveIns.begin(); }
348 livein_iterator livein_end() const { return LiveIns.end(); }
349 bool livein_empty() const { return LiveIns.empty(); }
DMachineRegisterInfo.h147 std::vector<std::pair<unsigned, unsigned>> LiveIns; variable
908 LiveIns.push_back(std::make_pair(Reg, vreg));
915 livein_iterator livein_begin() const { return LiveIns.begin(); } in livein_begin()
916 livein_iterator livein_end() const { return LiveIns.end(); } in livein_end()
917 bool livein_empty() const { return LiveIns.empty(); } in livein_empty()
920 return LiveIns; in liveins()
DMachineTraceMetrics.h235 SmallVector<LiveInReg, 4> LiveIns; member
DMIRYamlMapping.h493 std::vector<MachineFunctionLiveIn> LiveIns;
517 YamlIO.mapOptional("liveins", MF.LiveIns,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNSchedStrategy.cpp323 GCNRPTracker::printLiveRegs(dbgs(), LiveIns[RegionIdx], MRI); in schedule()
325 llvm::getRegPressure(MRI, LiveIns[RegionIdx]).print(dbgs()); in schedule()
418 RPTracker.advance(begin(), end(), &LiveIns[RegionIdx]); in getRealRegPressure()
457 LiveIns[CurRegion] = RPTracker.getLiveRegs(); in computeBlockPressure()
485 LiveIns.resize(Regions.size()); in finalizeSchedule()
DGCNSchedStrategy.h86 SmallVector<GCNRPTracker::LiveRegSet, 32> LiveIns; variable
DGCNIterativeScheduler.cpp99 const auto LiveIns = getLiveRegsBefore(*Begin, *LIS); in printLivenessInfo() local
101 getRegPressure(MRI, LiveIns).print(OS); in printLivenessInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBlockRanges.cpp236 RegisterSet LiveIns; in getLiveIns() local
254 LiveIns.insert(R); in getLiveIns()
257 LiveIns.insert(S); in getLiveIns()
259 return LiveIns; in getLiveIns()
DRDFGraph.cpp674 LiveIns(PRI) { in DataFlowGraph()
917 LiveIns.insert(RegisterRef(P.first)); in build()
920 LiveIns.insert(RegisterRef(I.PhysReg, I.LaneMask)); in build()
925 for (auto I = LiveIns.rr_begin(), E = LiveIns.rr_end(); I != E; ++I) { in build()
DRDFGraph.h668 const RegisterAggr &getLiveIns() const { return LiveIns; } in getLiveIns()
878 RegisterAggr 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()

12