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.cpp164 ActiveCols[ColIdx].LiveIn = LV.liveAtAddress(ThisAddr); in update()
168 << ColIdx << ": LiveIn=" << ActiveCols[ColIdx].LiveIn in update()
171 if (!ActiveCols[ColIdx].LiveIn && !ActiveCols[ColIdx].LiveOut) in update()
183 bool LiveIn = LV.liveAtAddress(ThisAddr); in update() local
185 if (!LiveIn && !LiveOut) in update()
191 << ColIdx << ": LiveIn=" << LiveIn in update()
194 ActiveCols[ColIdx].LiveIn = LiveIn; in update()
[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 DLiveRangeCalc.cpp59 LiveIn.clear(); in reset()
64 for (const LiveInBlock &I : LiveIn) { in updateFromLiveIns()
84 LiveIn.clear(); in updateFromLiveIns()
273 LiveIn.clear(); in findReachingDefs()
314 // Multiple values were found, so transfer the work list to the LiveIn array in findReachingDefs()
316 LiveIn.reserve(WorkList.size()); in findReachingDefs()
324 LiveIn.back().Kill = Use;
342 for (LiveInBlock &I : LiveIn) { in updateSSA()
H A DRDFLiveness.cpp864 RefMap LiveIn; in computeLiveIns() local
865 traverse(&MF.front(), LiveIn); in computeLiveIns()
932 BitVector LiveIn(TRI.getNumRegs()), Live(TRI.getNumRegs()); in resetKills() local
933 CopyLiveIns(B, LiveIn); in resetKills()
985 void Liveness::traverse(MachineBasicBlock *B, RefMap &LiveIn) { in traverse() argument
1017 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
1026 dbgs() << " LiveIn: " << Print(LiveIn, DFG) << '\n'; in traverse()
1033 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
1037 dbgs() << " LiveIn: " << Print(LiveIn, DFG) << '\n'; in traverse()
1048 RefMap LiveInCopy = LiveIn; in traverse()
[all …]
H A DBasicBlockPathCloning.cpp193 for (auto &LiveIn : OrigBB->liveins()) in ApplyCloning() local
194 CloneBB->addLiveIn(LiveIn); in ApplyCloning()
H A DStackColoring.cpp394 BitVector LiveIn; member
545 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
813 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
815 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
843 for (int pos = MBBLiveness.LiveIn.find_first(); pos != -1; in calculateLiveIntervals()
844 pos = MBBLiveness.LiveIn.find_next(pos)) { in calculateLiveIntervals()
H A DAssignmentTrackingAnalysis.cpp394 DenseMap<const BasicBlock *, VarFragMap> LiveIn; member in __anon3afac2c40211::MemLocFragmentFill
602 auto CurrentLiveInEntry = LiveIn.find(&BB); in meet()
604 if (CurrentLiveInEntry == LiveIn.end()) { in meet()
607 LiveIn[&BB] = std::move(BBLiveIn); in meet()
900 LiveIn.init(RPONumber); in run()
933 VarFragMap LiveSet = LiveIn[BB]; in run()
1299 DenseMap<const BasicBlock *, BlockInfo> LiveIn; member in __anon3afac2c40211::AssignmentTrackingLowering
2046 auto It = LiveIn.try_emplace(&BB, BlockInfo()); in join()
2056 auto CurrentLiveInEntry = LiveIn.find(&BB); in join()
2060 if (CurrentLiveInEntry == LiveIn.end()) in join()
[all …]
H A DSplitKit.cpp241 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
244 if (!BI.LiveIn) { in calcLiveBlockInfo()
271 BI.LiveIn = false; in calcLiveBlockInfo()
303 return BI.LiveIn && BI.LiveOut && BI.FirstDef && L && in calcLiveBlockInfo()
1597 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock()
1749 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock()
1839 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock()
1847 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock()
1896 << (LiveIn ? "live in" : "dead in") << ", " in print()
H A DMachineCSE.cpp725 auto LiveIn = PhysDefs.pop_back_val(); in ProcessBlockCSE() local
726 if (!MBB->isLiveIn(LiveIn.second)) in ProcessBlockCSE()
727 MBB->addLiveIn(LiveIn.second); in ProcessBlockCSE()
H A DRegAllocGreedy.cpp614 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
628 if (BI.LiveIn) { in addSplitConstraints()
858 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
882 if (BI.LiveIn) in calcGlobalSplitCost()
943 if (BI.LiveIn) { in splitAroundRegion()
1498 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights()
1680 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1773 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
H A DRegisterPressure.cpp909 LaneBitmask LiveIn = Use.LaneMask & ~LiveMask; in advance() local
910 if (LiveIn.any()) { in advance()
911 discoverLiveIn(RegisterMaskPair(Reg, LiveIn)); in advance()
912 increaseRegPressure(Reg, LiveMask, LiveMask | LiveIn); in advance()
913 LiveRegs.insert(RegisterMaskPair(Reg, LiveIn)); in advance()
H A DMIRPrinter.cpp331 yaml::MachineFunctionLiveIn LiveIn; in convert() local
332 printRegMIR(LI.first, LiveIn.Register, TRI); in convert()
334 printRegMIR(LI.second, LiveIn.VirtualRegister, TRI); in convert()
335 MF.LiveIns.push_back(LiveIn); in convert()
H A DBranchRelaxation.cpp563 for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins()) in relaxBranchInstructions()
564 BranchBB->addLiveIn(LiveIn); in relaxBranchInstructions()
478 for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins()) fixupUnconditionalBranch() local
/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/lib/Target/AMDGPU/
H A DGCNRegPressure.cpp669 GCNRPTracker::LiveRegSet LiveIn, LiveOut; in runOnMachineFunction() local
674 LiveIn = LiveOut = getLiveRegs(MBBStartSlot, LIS, MRI); in runOnMachineFunction()
675 RPAtMBBEnd = getRegPressure(MRI, LiveIn); in runOnMachineFunction()
680 LiveIn = RPT.getLiveRegs(); in runOnMachineFunction()
705 LiveIn = RPT.getLiveRegs(); in runOnMachineFunction()
708 OS << PFX " Live-in: " << llvm::print(LiveIn, MRI); in runOnMachineFunction()
710 ReportLISMismatchIfAny(LiveIn, getLiveRegs(MBBStartSlot, LIS, MRI)); in runOnMachineFunction()
731 for (auto [Reg, Mask] : LiveIn) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h125 SmallVector<LiveInBlock, 16> LiveIn; variable
245 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
H A DRDFLiveness.h147 void traverse(MachineBasicBlock *B, RefMap &LiveIn);
H A DMIRYamlMapping.h225 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
226 YamlIO.mapRequired("reg", LiveIn.Register);
228 "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/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2953 DbgValue &LiveIn) { in vlocJoin() argument
3007 if (LiveIn.Kind != DbgValue::VPHI || LiveIn.BlockNo != MBB.getNumber()) { in vlocJoin()
3008 Changed = LiveIn != FirstVal; in vlocJoin()
3010 LiveIn = FirstVal; in vlocJoin()
3050 Changed = LiveIn != FirstVal; in vlocJoin()
3052 LiveIn = FirstVal; in vlocJoin()
3057 Changed = LiveIn != VPHI; in vlocJoin()
3059 LiveIn = VPHI; in vlocJoin()
3239 DbgValue *LiveIn = LiveInIdx[PHIMBB]; in buildVLocValueMap() local
3240 *LiveIn = DbgValue(BlockNo, EmptyProperties, DbgValue::VPHI); in buildVLocValueMap()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp661 for (const auto &LiveIn : YamlMF.LiveIns) { in parseRegisterInfo() local
663 if (parseNamedRegisterReference(PFS, Reg, LiveIn.Register.Value, Error)) in parseRegisterInfo()
664 return error(Error, LiveIn.Register.SourceRange); in parseRegisterInfo()
666 if (!LiveIn.VirtualRegister.Value.empty()) { in parseRegisterInfo()
668 if (parseVirtualRegisterReference(PFS, Info, LiveIn.VirtualRegister.Value, in parseRegisterInfo()
670 return error(Error, LiveIn.VirtualRegister.SourceRange); in parseRegisterInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp178 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; member
3272 checkBasicSSA(DT, Data.LiveIn[&BB], BB.getTerminator()); in checkBasicSSA()
3293 Data.LiveIn[&BB] = Data.LiveSet[&BB]; in computeLiveInValues()
3294 Data.LiveIn[&BB].set_union(Data.LiveOut[&BB]); in computeLiveInValues()
3295 Data.LiveIn[&BB].set_subtract(Data.KillSet[&BB]); in computeLiveInValues()
3296 if (!Data.LiveIn[&BB].empty()) in computeLiveInValues()
3309 assert(Data.LiveIn.count(Succ)); in computeLiveInValues()
3310 LiveOut.set_union(Data.LiveIn[Succ]); in computeLiveInValues()
3326 assert(Data.LiveIn.count(BB)); in computeLiveInValues()
3327 const SetVector<Value *> &OldLiveIn = Data.LiveIn[BB]; in computeLiveInValues()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp910 Register LiveIn = MRI.getLiveInVirtReg(PhysReg); in getFunctionLiveInPhysReg() local
911 if (LiveIn) { in getFunctionLiveInPhysReg()
912 MachineInstr *Def = MRI.getVRegDef(LiveIn); in getFunctionLiveInPhysReg()
916 return LiveIn; in getFunctionLiveInPhysReg()
924 LiveIn = MF.addLiveIn(PhysReg, &RC); in getFunctionLiveInPhysReg()
926 MRI.setType(LiveIn, RegTy); in getFunctionLiveInPhysReg()
929 BuildMI(EntryMBB, EntryMBB.begin(), DL, TII.get(TargetOpcode::COPY), LiveIn) in getFunctionLiveInPhysReg()
933 return LiveIn; in getFunctionLiveInPhysReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp264 for (const auto &LiveIn : MBB.liveins()) in spillCalleeSavedRegisters()
265 if (STI.getRegisterInfo()->isSubRegister(LiveIn.PhysReg, Reg)) { in spillCalleeSavedRegisters()
266 for (const auto &LiveIn : MBB.liveins()) spillCalleeSavedRegisters() local

12