Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp211 for (auto &I : LiveIns) in clearVirtRegs()
464 for (unsigned i = 0, e = LiveIns.size(); i != e; ++i) in EmitLiveInCopies()
465 if (LiveIns[i].second) { in EmitLiveInCopies()
466 if (use_nodbg_empty(LiveIns[i].second)) { in EmitLiveInCopies()
472 LiveIns.erase(LiveIns.begin() + i); in EmitLiveInCopies()
477 TII.get(TargetOpcode::COPY), LiveIns[i].second) in EmitLiveInCopies()
478 .addReg(LiveIns[i].first); in EmitLiveInCopies()
481 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
485 EntryMBB->addLiveIn(LiveIns[i].first); in EmitLiveInCopies()
H A DMachineBasicBlock.cpp561 if (I == LiveIns.end()) in removeLiveIn()
566 LiveIns.erase(I); in removeLiveIn()
572 LiveInVector::iterator LI = LiveIns.begin() + (I - LiveIns.begin()); in removeLiveIn()
573 return LiveIns.erase(LI); in removeLiveIn()
583 llvm::sort(LiveIns, in sortUniqueLiveIns()
588 LiveInVector::const_iterator I = LiveIns.begin(); in sortUniqueLiveIns()
590 LiveInVector::iterator Out = LiveIns.begin(); in sortUniqueLiveIns()
591 for (; I != LiveIns.end(); ++Out, I = J) { in sortUniqueLiveIns()
599 LiveIns.erase(Out, LiveIns.end()); in sortUniqueLiveIns()
1597 LiveIns.clear(); in clearLiveIns()
[all …]
H A DMachineTraceMetrics.cpp767 for (const LiveInReg &LIR : TBI.LiveIns) { in computeCrossBlockCriticalPath()
992 TBI.LiveIns.push_back(Reg); in addLiveIns()
1010 TBI.LiveIns.clear(); in computeInstrHeights()
1028 for (LiveInReg &LI : TBI.LiveIns) { in computeInstrHeights()
1134 for (LiveInReg &LIR : TBI.LiveIns) { in computeInstrHeights()
1143 TBI.LiveIns.push_back(LiveInReg(RI->RegUnit, RI->Cycle)); in computeInstrHeights()
H A DMachineOutliner.cpp694 LivePhysRegs LiveIns(TRI); in createOutlinedFunction() local
707 LiveIns.addReg(Reg); in createOutlinedFunction()
709 addLiveIns(MBB, LiveIns); in createOutlinedFunction()
H A DRDFGraph.cpp653 LiveIns(PRI) { in DataFlowGraph()
898 LiveIns.insert(RegisterRef(P.first)); in build()
901 LiveIns.insert(RegisterRef(I.PhysReg, I.LaneMask)); in build()
906 for (auto I = LiveIns.rr_begin(), E = LiveIns.rr_end(); I != E; ++I) { in build()
H A DRDFLiveness.cpp899 const RegisterAggr &LiveIns = LiveMap[&B]; in resetLiveIns() local
900 for (const RegisterRef R : make_range(LiveIns.rr_begin(), LiveIns.rr_end())) in resetLiveIns()
H A DMIRPrinter.cpp327 MF.LiveIns.push_back(LiveIn); in convert()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkCode.h26 std::vector<unsigned> LiveIns; member
H A DBenchmarkRunner.cpp178 BC.LiveIns, BC.Key.RegisterInitialValues, in runConfiguration()
210 BC.LiveIns, BC.Key.RegisterInitialValues, Filler, OS)) { in runConfiguration()
271 State.getExegesisTarget(), State.createTargetMachine(), BC.LiveIns, in writeObjectFile()
H A DAssembler.cpp177 ArrayRef<unsigned> LiveIns, in assembleToStream() argument
195 for (const unsigned Reg : LiveIns) in assembleToStream()
204 for (const unsigned Reg : LiveIns) in assembleToStream()
H A DAssembler.h92 ArrayRef<unsigned> LiveIns,
H A DSnippetFile.cpp77 Result->LiveIns.push_back(Reg); in HandleComment()
H A DSnippetGenerator.cpp84 BC.LiveIns.push_back(CT.ScratchSpacePointerInReg); in generateConfigurations()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.cpp335 RPTracker.advance(begin(), end(), &LiveIns[RegionIdx]); in getRealRegPressure()
381 LiveIns[CurRegion] = RPTracker.getLiveRegs(); in computeBlockPressure()
426 LiveIns.resize(Regions.size()); in finalizeSchedule()
604 GCNRPTracker::printLiveRegs(dbgs(), DAG.LiveIns[RegionIdx], DAG.MRI); in initGCNRegion()
606 llvm::getRegPressure(DAG.MRI, DAG.LiveIns[RegionIdx]).print(dbgs()); in initGCNRegion()
909 auto It = DAG.LiveIns[I].find(Reg); in collectRematerializableInstructions()
910 if (It != DAG.LiveIns[I].end() && !It->second.none()) { in collectRematerializableInstructions()
950 NewLiveIns[Idx] = DAG.LiveIns[Idx]; in sinkTriviallyRematInsts()
1094 DAG.LiveIns[Idx] = NewLiveIns[Idx]; in sinkTriviallyRematInsts()
H A DGCNSchedStrategy.h139 SmallVector<GCNRPTracker::LiveRegSet, 32> LiveIns; variable
H A DGCNIterativeScheduler.cpp82 const auto LiveIns = getLiveRegsBefore(*Begin, *LIS); in printLivenessInfo() local
84 getRegPressure(MRI, LiveIns).print(OS); in printLivenessInfo()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h144 std::vector<std::pair<MCRegister, Register>> LiveIns; variable
955 LiveIns.push_back(std::make_pair(Reg, vreg));
962 livein_iterator livein_begin() const { return LiveIns.begin(); } in livein_begin()
963 livein_iterator livein_end() const { return LiveIns.end(); } in livein_end()
964 bool livein_empty() const { return LiveIns.empty(); } in livein_empty()
967 return LiveIns; in liveins()
H A DMachineBasicBlock.h133 LiveInVector LiveIns;
379 LiveIns.push_back(RegisterMaskPair(PhysReg, LaneMask));
382 LiveIns.push_back(RegMaskPair);
414 livein_iterator livein_begin_dbg() const { return LiveIns.begin(); }
420 livein_iterator livein_end() const { return LiveIns.end(); }
421 bool livein_empty() const { return LiveIns.empty(); }
H A DMachineTraceMetrics.h234 SmallVector<LiveInReg, 4> LiveIns; member
H A DRDFGraph.h667 const RegisterAggr &getLiveIns() const { return LiveIns; } in getLiveIns()
872 RegisterAggr LiveIns; member
H A DMIRYamlMapping.h710 std::vector<MachineFunctionLiveIn> LiveIns;
749 YamlIO.mapOptional("liveins", MF.LiveIns,
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.cpp235 RegisterSet LiveIns; in getLiveIns() local
253 LiveIns.insert(R); in getLiveIns()
256 LiveIns.insert(S); in getLiveIns()
258 return LiveIns; in getLiveIns()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetFileTest.cpp87 ASSERT_THAT(Snippet.LiveIns, ElementsAre(X86::RDI, X86::DL)); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2672 SmallVector<DbgValue, 32> LiveIns, LiveOuts; in buildVLocValueMap() local
2673 LiveIns.reserve(NumBlocks); in buildVLocValueMap()
2681 LiveIns.push_back(EmptyDbgValue); in buildVLocValueMap()
2692 LiveInIdx[BlockOrders[I]] = &LiveIns[I]; in buildVLocValueMap()
2704 LiveIns[I] = EmptyDbgValue; in buildVLocValueMap()
/llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp627 for (const auto &LiveIn : YamlMF.LiveIns) { in parseRegisterInfo()