Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp162 ActiveCols[ColIdx].LiveIn = LV.liveAtAddress(ThisAddr); in update()
166 << ColIdx << ": LiveIn=" << ActiveCols[ColIdx].LiveIn in update()
169 if (!ActiveCols[ColIdx].LiveIn && !ActiveCols[ColIdx].LiveOut) in update()
181 bool LiveIn = LV.liveAtAddress(ThisAddr); in update() local
183 if (!LiveIn && !LiveOut) in update()
189 << ColIdx << ": LiveIn=" << LiveIn in update()
192 ActiveCols[ColIdx].LiveIn = LiveIn; in update()
242 (!AfterInst && ActiveCols[ColIdx].LiveIn)) in printAfterOtherLine()
272 if (ActiveCols[ColIdx2].MustDrawLabel && !ActiveCols[ColIdx2].LiveIn) in printBetweenInsts()
282 OS << getLineChar(ActiveCols[ColIdx].LiveIn ? LineChar::LabelCornerActive in printBetweenInsts()
[all …]
H A DSourcePrinter.h48 bool LiveIn = false; member
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.cpp63 for (const std::pair<Register, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs) in isLiveInSExt() local
64 if (LiveIn.first == VReg) in isLiveInSExt()
65 return LiveIn.second.isSExt(); in isLiveInSExt()
70 for (const std::pair<Register, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs) in isLiveInZExt() local
71 if (LiveIn.first == VReg) in isLiveInZExt()
72 return LiveIn.second.isZExt(); in isLiveInZExt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRDFLiveness.cpp859 RefMap LiveIn; in computeLiveIns() local
860 traverse(&MF.front(), LiveIn); in computeLiveIns()
927 BitVector LiveIn(TRI.getNumRegs()), Live(TRI.getNumRegs()); in resetKills() local
928 CopyLiveIns(B, LiveIn); in resetKills()
980 void Liveness::traverse(MachineBasicBlock *B, RefMap &LiveIn) { in traverse() argument
1012 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
1021 dbgs() << " LiveIn: " << Print(LiveIn, DFG) << '\n'; in traverse()
1028 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
1032 dbgs() << " LiveIn: " << Print(LiveIn, DFG) << '\n'; in traverse()
1043 RefMap LiveInCopy = LiveIn; in traverse()
[all …]
H A DLiveRangeCalc.cpp58 LiveIn.clear(); in reset()
63 for (const LiveInBlock &I : LiveIn) { in updateFromLiveIns()
83 LiveIn.clear(); in updateFromLiveIns()
272 LiveIn.clear(); in findReachingDefs()
315 LiveIn.reserve(WorkList.size()); in findReachingDefs()
323 LiveIn.back().Kill = Use; in findReachingDefs()
341 for (LiveInBlock &I : LiveIn) { in updateSSA()
H A DBasicBlockPathCloning.cpp201 for (auto &LiveIn : OrigBB->liveins()) in ApplyCloning() local
202 CloneBB->addLiveIn(LiveIn); in ApplyCloning()
H A DStackColoring.cpp395 BitVector LiveIn; member
550 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
818 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
820 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
848 for (int pos = MBBLiveness.LiveIn.find_first(); pos != -1; in calculateLiveIntervals()
849 pos = MBBLiveness.LiveIn.find_next(pos)) { in calculateLiveIntervals()
H A DAssignmentTrackingAnalysis.cpp392 DenseMap<const BasicBlock *, VarFragMap> LiveIn; member in __anon3afac2c40211::MemLocFragmentFill
601 auto [CurrentLiveInEntry, Inserted] = LiveIn.try_emplace(&BB); in meet()
898 LiveIn.reserve(RPONumber); in run()
931 VarFragMap LiveSet = LiveIn[BB]; in run()
1275 DenseMap<const BasicBlock *, BlockInfo> LiveIn; member in __anon3afac2c40211::AssignmentTrackingLowering
2001 auto It = LiveIn.try_emplace(&BB, BlockInfo()); in join()
2014 auto [CurrentLiveInEntry, Inserted] = LiveIn.try_emplace(&BB, PredLiveOut); in join()
2040 auto CurrentLiveInEntry = LiveIn.find(&BB); in join()
2043 if (CurrentLiveInEntry == LiveIn.end()) in join()
2044 LiveIn.try_emplace(&BB, std::move(BBLiveIn)); in join()
[all …]
H A DSplitKit.cpp240 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
243 if (!BI.LiveIn) { in calcLiveBlockInfo()
270 BI.LiveIn = false; in calcLiveBlockInfo()
302 return BI.LiveIn && BI.LiveOut && BI.FirstDef && L && in calcLiveBlockInfo()
1633 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock()
1785 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock()
1875 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock()
1883 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock()
1932 << (LiveIn ? "live in" : "dead in") << ", " in print()
H A DMachineCSE.cpp720 auto LiveIn = PhysDefs.pop_back_val(); in ProcessBlockCSE() local
721 if (!MBB->isLiveIn(LiveIn.second)) in ProcessBlockCSE()
722 MBB->addLiveIn(LiveIn.second); in ProcessBlockCSE()
H A DRegisterPressure.cpp903 LaneBitmask LiveIn = Use.LaneMask & ~LiveMask; in advance() local
904 if (LiveIn.any()) { in advance()
905 discoverLiveIn(VRegMaskOrUnit(Reg, LiveIn)); in advance()
906 increaseRegPressure(Reg, LiveMask, LiveMask | LiveIn); in advance()
907 LiveRegs.insert(VRegMaskOrUnit(Reg, LiveIn)); in advance()
H A DMIRPrinter.cpp317 yaml::MachineFunctionLiveIn LiveIn; in convertMRI() local
318 printRegMIR(LI.first, LiveIn.Register, TRI); in convertMRI()
320 printRegMIR(LI.second, LiveIn.VirtualRegister, TRI); in convertMRI()
321 YamlMF.LiveIns.push_back(std::move(LiveIn)); in convertMRI()
H A DRegAllocGreedy.cpp748 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
762 if (BI.LiveIn) { in addSplitConstraints()
992 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
1016 if (BI.LiveIn) in calcGlobalSplitCost()
1077 if (BI.LiveIn) { in splitAroundRegion()
1634 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights()
1816 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1909 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
H A DBranchRelaxation.cpp584 for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins()) in fixupUnconditionalBranch() local
585 BranchBB->addLiveIn(LiveIn); in fixupUnconditionalBranch()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackLifetime.cpp203 if (BitsIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
204 BlockInfo.LiveIn |= BitsIn; in calculateLocalLiveness()
238 BlockInfo.LiveIn.flip(); in calculateLocalLiveness()
259 if (BlockInfo.LiveIn.test(AllocaNo)) { in calculateLiveIntervals()
306 << ", livein " << BlockInfo.LiveIn << ", liveout " in dumpBlockLiveness()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h126 SmallVector<LiveInBlock, 16> LiveIn; variable
246 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
H A DRDFLiveness.h147 void traverse(MachineBasicBlock *B, RefMap &LiveIn);
H A DMIRYamlMapping.h228 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
229 YamlIO.mapRequired("reg", LiveIn.Register);
231 "virtual-reg", LiveIn.VirtualRegister,
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DStackLifetime.h43 : Begin(Size), End(Size), LiveIn(Size), LiveOut(Size) {} in BlockLifetimeInfo()
52 BitVector LiveIn; member
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp904 GCNRPTracker::LiveRegSet LiveIn, LiveOut; in runOnMachineFunction() local
909 LiveIn = LiveOut = getLiveRegs(MBBStartSlot, LIS, MRI); in runOnMachineFunction()
910 RPAtMBBEnd = getRegPressure(MRI, LiveIn); in runOnMachineFunction()
915 LiveIn = RPT.getLiveRegs(); in runOnMachineFunction()
940 LiveIn = RPT.getLiveRegs(); in runOnMachineFunction()
943 OS << PFX " Live-in: " << llvm::print(LiveIn, MRI); in runOnMachineFunction()
945 ReportLISMismatchIfAny(LiveIn, getLiveRegs(MBBStartSlot, LIS, MRI)); in runOnMachineFunction()
966 for (auto [Reg, Mask] : LiveIn) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2983 DbgValue &LiveIn) { in vlocJoin() argument
3037 if (LiveIn.Kind != DbgValue::VPHI || LiveIn.BlockNo != MBB.getNumber()) { in vlocJoin()
3038 Changed = LiveIn != FirstVal; in vlocJoin()
3040 LiveIn = FirstVal; in vlocJoin()
3080 Changed = LiveIn != FirstVal; in vlocJoin()
3082 LiveIn = FirstVal; in vlocJoin()
3087 Changed = LiveIn != VPHI; in vlocJoin()
3089 LiveIn = VPHI; in vlocJoin()
3269 DbgValue *LiveIn = LiveInIdx[PHIMBB]; in buildVLocValueMap() local
3270 *LiveIn = DbgValue(BlockNo, EmptyProperties, DbgValue::VPHI); in buildVLocValueMap()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp729 for (const auto &LiveIn : YamlMF.LiveIns) { in parseRegisterInfo() local
731 if (parseNamedRegisterReference(PFS, Reg, LiveIn.Register.Value, Error)) in parseRegisterInfo()
732 return error(Error, LiveIn.Register.SourceRange); in parseRegisterInfo()
734 if (!LiveIn.VirtualRegister.Value.empty()) { in parseRegisterInfo()
736 if (parseVirtualRegisterReference(PFS, Info, LiveIn.VirtualRegister.Value, in parseRegisterInfo()
738 return error(Error, LiveIn.VirtualRegister.SourceRange); in parseRegisterInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp177 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; member
3280 checkBasicSSA(DT, Data.LiveIn[&BB], BB.getTerminator()); in checkBasicSSA()
3302 auto &In = Data.LiveIn[&BB] = Data.LiveSet[&BB]; in computeLiveInValues()
3318 assert(Data.LiveIn.count(Succ)); in computeLiveInValues()
3319 LiveOut.set_union(Data.LiveIn[Succ]); in computeLiveInValues()
3334 assert(Data.LiveIn.count(BB)); in computeLiveInValues()
3335 SetVector<Value *> &LiveIn = Data.LiveIn[BB]; in computeLiveInValues() local
3337 if (LiveIn.size() != LiveTmp.size()) { in computeLiveInValues()
3338 LiveIn = std::move(LiveTmp); in computeLiveInValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp917 Register LiveIn = MRI.getLiveInVirtReg(PhysReg); in getFunctionLiveInPhysReg() local
918 if (LiveIn) { in getFunctionLiveInPhysReg()
919 MachineInstr *Def = MRI.getVRegDef(LiveIn); in getFunctionLiveInPhysReg()
923 return LiveIn; in getFunctionLiveInPhysReg()
931 LiveIn = MF.addLiveIn(PhysReg, &RC); in getFunctionLiveInPhysReg()
933 MRI.setType(LiveIn, RegTy); in getFunctionLiveInPhysReg()
936 BuildMI(EntryMBB, EntryMBB.begin(), DL, TII.get(TargetOpcode::COPY), LiveIn) in getFunctionLiveInPhysReg()
940 return LiveIn; in getFunctionLiveInPhysReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp263 for (const auto &LiveIn : MBB.liveins()) in spillCalleeSavedRegisters() local
264 if (STI.getRegisterInfo()->isSubRegister(LiveIn.PhysReg, Reg)) { in spillCalleeSavedRegisters()

12