| /llvm-project/mlir/test/Analysis/ |
| H A D | test-liveness.mlir | 6 // CHECK-NEXT: LiveIn:{{ *$}} 20 // CHECK-NEXT: LiveIn:{{ *$}} 31 // CHECK-NEXT: LiveIn: arg0@0 arg1@0 53 // CHECK-NEXT: LiveIn:{{ *$}} 64 // CHECK-NEXT: LiveIn: arg1@0 arg2@0 74 // CHECK-NEXT: LiveIn: arg1@0 arg2@0 83 // CHECK-NEXT: LiveIn: arg1@0 arg2@0 105 // CHECK-NEXT: LiveIn:{{ *$}} 117 // CHECK-NEXT: LiveIn: arg1@0 134 // CHECK-NEXT: LiveIn: arg1@0 arg0@1 [all …]
|
| /llvm-project/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 161 ActiveCols[ColIdx].LiveIn = LV.liveAtAddress(ThisAddr); in update() 165 << ColIdx << ": LiveIn=" << ActiveCols[ColIdx].LiveIn in update() 168 if (!ActiveCols[ColIdx].LiveIn && !ActiveCols[ColIdx].LiveOut) in update() 180 bool LiveIn = LV.liveAtAddress(ThisAddr); in update() 182 if (!LiveIn && !LiveOut) in update() 188 << ColIdx << ": LiveIn=" << LiveIn in update() 191 ActiveCols[ColIdx].LiveIn = LiveIn; in update() 183 bool LiveIn = LV.liveAtAddress(ThisAddr); update() local [all...] |
| H A D | SourcePrinter.h | 48 bool LiveIn = false; member
|
| /llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineFunctionInfo.cpp | 63 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()
|
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | RDFLiveness.cpp | 864 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 986 // The LiveIn map, for each (physical) register, contains the set of live in traverse() 1017 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse() 1026 dbgs() << " LiveIn: " << Print(LiveIn, DFG) << '\n'; in traverse() 1033 LiveIn[ in traverse() [all...] |
| H A D | LiveRangeCalc.cpp | 58 LiveIn.clear(); in reset() 63 for (const LiveInBlock &I : LiveIn) { in updateFromLiveIns() 83 LiveIn.clear(); in updateFromLiveIns() 272 LiveIn.clear(); in findReachingDefs() 313 // Multiple values were found, so transfer the work list to the LiveIn array 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 D | BasicBlockPathCloning.cpp | 193 for (auto &LiveIn : OrigBB->liveins()) in ApplyCloning() local 194 CloneBB->addLiveIn(LiveIn); in ApplyCloning()
|
| H A D | StackColoring.cpp | 395 BitVector LiveIn; 550 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dump() 795 // Compute LiveIn by unioning together the LiveOut sets of all preds. in calculateLocalLiveness() 817 // Update block LiveIn set, noting whether it has changed. in calculateLocalLiveness() 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() 394 BitVector LiveIn; global() member
|
| H A D | AssignmentTrackingAnalysis.cpp | 395 DenseMap<const BasicBlock *, VarFragMap> LiveIn; 574 // LiveIn locs for BB is the meet of the already-processed preds' LiveOut in meet() 603 auto CurrentLiveInEntry = LiveIn.find(&BB); in meet() 604 // If there's no LiveIn entry for the block yet, add it. in meet() 605 if (CurrentLiveInEntry == LiveIn.end()) { in meet() 608 LiveIn[&BB] = std::move(BBLiveIn); in meet() 612 // If the LiveIn set has changed (expensive check) update it and return in meet() 901 LiveIn.init(RPONumber); in run() 909 // until the LiveIn data for each block becomes unchanging. in run() 926 // Always consider LiveIn change in run() 394 DenseMap<const BasicBlock *, VarFragMap> LiveIn; global() member in __anonaad91fb70211::MemLocFragmentFill 1299 DenseMap<const BasicBlock *, BlockInfo> LiveIn; global() member in __anonaad91fb70211::AssignmentTrackingLowering [all...] |
| H A D | SplitKit.cpp | 240 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() 1596 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock() 1748 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock() 1838 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock() 1846 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock() 1895 << (LiveIn ? "live in" : "dead in") << ", " in print()
|
| H A D | MachineCSE.cpp | 723 auto LiveIn = PhysDefs.pop_back_val(); in ProcessBlockCSE() 724 if (!MBB->isLiveIn(LiveIn.second)) in ProcessBlockCSE() 725 MBB->addLiveIn(LiveIn.second); in ProcessBlockCSE() local
|
| H A D | RegAllocGreedy.cpp | 617 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints() 631 if (BI.LiveIn) { in addSplitConstraints() 861 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost() 885 if (BI.LiveIn) in calcGlobalSplitCost() 946 if (BI.LiveIn) { in splitAroundRegion() 1501 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights() 1683 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit() 1776 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
|
| H A D | RegisterPressure.cpp | 906 LaneBitmask LiveIn = Use.LaneMask & ~LiveMask; in advance() 907 if (LiveIn.any()) { in advance() 908 discoverLiveIn(VRegMaskOrUnit(Reg, LiveIn)); in advance() 909 increaseRegPressure(Reg, LiveMask, LiveMask | LiveIn); in advance() local 910 LiveRegs.insert(VRegMaskOrUnit(Reg, LiveIn)); in advance() 1328 /// This assumes that the current LiveIn set is sufficient. in bumpDownwardPressure()
|
| H A D | MIRPrinter.cpp | 358 yaml::MachineFunctionLiveIn LiveIn; in convert() 359 printRegMIR(LI.first, LiveIn.Register, TRI); in convert() 361 printRegMIR(LI.second, LiveIn.VirtualRegister, TRI); in convert() 362 YamlMF.LiveIns.push_back(std::move(LiveIn)); in convert() 331 yaml::MachineFunctionLiveIn LiveIn; convert() local
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 203 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()
|
| /llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNRegPressure.cpp | 833 GCNRPTracker::LiveRegSet LiveIn, LiveOut; 838 LiveIn = LiveOut = getLiveRegs(MBBStartSlot, LIS, MRI); 839 RPAtMBBEnd = getRegPressure(MRI, LiveIn); 844 LiveIn = RPT.getLiveRegs(); 869 LiveIn = RPT.getLiveRegs(); 872 OS << PFX " Live-in: " << llvm::print(LiveIn, MRI); 874 ReportLISMismatchIfAny(LiveIn, getLiveRegs(MBBStartSlot, LIS, MRI)); 895 for (auto [Reg, Mask] : LiveIn) { 669 GCNRPTracker::LiveRegSet LiveIn, LiveOut; runOnMachineFunction() local
|
| /llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | LiveRangeCalc.h | 125 SmallVector<LiveInBlock, 16> LiveIn; variable 245 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
|
| H A D | RDFLiveness.h | 147 void traverse(MachineBasicBlock *B, RefMap &LiveIn);
|
| /llvm-project/llvm/tools/llvm-exegesis/lib/ |
| H A D | SnippetRepetitor.cpp | 107 for (const auto &LiveIn : Entry.MBB->liveins()) in Repeat() local 108 Loop.MBB->addLiveIn(LiveIn); in Repeat()
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | StackLifetime.h | 43 : Begin(Size), End(Size), LiveIn(Size), LiveOut(Size) {} in BlockLifetimeInfo() 52 BitVector LiveIn; member
|
| /llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.cpp | 418 // If we cannot produce a valid value for the LiveIn value within this in loadVarInloc() 429 // The LiveIn value is available at block entry, begin tracking and record 2969 DbgValue &LiveIn) { in vlocJoin() 3023 if (LiveIn.Kind != DbgValue::VPHI || LiveIn.BlockNo != MBB.getNumber()) { in vlocJoin() 3024 Changed = LiveIn != FirstVal; in vlocJoin() 3026 LiveIn = FirstVal; in vlocJoin() 3066 Changed = LiveIn != FirstVal; in getBlocksForScope() 3068 LiveIn = FirstVal; in getBlocksForScope() 3073 Changed = LiveIn ! in getBlocksForScope() 2920 vlocJoin(MachineBasicBlock & MBB,LiveIdxT & VLOCOutLocs,SmallPtrSet<const MachineBasicBlock *,8> & BlocksToExplore,DbgValue & LiveIn) vlocJoin() argument 3204 DbgValue *LiveIn = LiveInIdx[PHIMBB]; buildVLocValueMap() local 3229 DbgValue *LiveIn = LiveInsIt->second; buildVLocValueMap() local [all...] |
| /llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 731 for (const auto &LiveIn : YamlMF.LiveIns) { in setupRegisterInfo() 733 if (parseNamedRegisterReference(PFS, Reg, LiveIn.Register.Value, Error)) in setupRegisterInfo() 734 return error(Error, LiveIn.Register.SourceRange); in setupRegisterInfo() 736 if (!LiveIn.VirtualRegister.Value.empty()) { in setupRegisterInfo() 738 if (parseVirtualRegisterReference(PFS, Info, LiveIn.VirtualRegister.Value, in setupRegisterInfo() 740 return error(Error, LiveIn.VirtualRegister.SourceRange); in setupRegisterInfo() 661 for (const auto &LiveIn : YamlMF.LiveIns) { parseRegisterInfo() local
|
| /llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 917 Register LiveIn = MRI.getLiveInVirtReg(PhysReg); in getFunctionLiveInPhysReg() 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 ConstantFoldExtOp() 933 MRI.setType(LiveIn, RegTy); in ConstantFoldExtOp() 936 BuildMI(EntryMBB, EntryMBB.begin(), DL, TII.get(TargetOpcode::COPY), LiveIn) in ConstantFoldExtOp() 940 return LiveIn; in ConstantFoldExtOp() 904 Register LiveIn = MRI.getLiveInVirtReg(PhysReg); getFunctionLiveInPhysReg() local
|
| /llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 177 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; 3200 // KILL/Def - Remove this definition from LiveIn in computeLiveInValues() 3208 // USE - Add to the LiveIn set for this instruction in computeLiveInValues() 3279 checkBasicSSA(DT, Data.LiveIn[&BB], BB.getTerminator()); in computeLiveInValues() 3300 Data.LiveIn[&BB] = Data.LiveSet[&BB]; in computeLiveInValues() 3301 Data.LiveIn[&BB].set_union(Data.LiveOut[&BB]); in computeLiveInValues() 3302 Data.LiveIn[&BB].set_subtract(Data.KillSet[&BB]); in computeLiveInValues() 3303 if (!Data.LiveIn[&BB].empty()) in computeLiveInValues() 3316 assert(Data.LiveIn.count(Succ)); in computeLiveInValues() 3317 LiveOut.set_union(Data.LiveIn[Suc in computeLiveInValues() 178 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; global() member [all...] |
| /llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRFrameLowering.cpp | 263 for (const auto &LiveIn : MBB.liveins()) in spillCalleeSavedRegisters() 264 if (STI.getRegisterInfo()->isSubRegister(LiveIn.PhysReg, Reg)) { in spillCalleeSavedRegisters() local
|