| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineFunctionInfo.cpp | 55 for (const std::pair<Register, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs) in isLiveInSExt() local 56 if (LiveIn.first == VReg) in isLiveInSExt() 57 return LiveIn.second.isSExt(); in isLiveInSExt() 62 for (const std::pair<Register, ISD::ArgFlagsTy> &LiveIn : LiveInAttrs) in isLiveInZExt() local 63 if (LiveIn.first == VReg) in isLiveInZExt() 64 return LiveIn.second.isZExt(); in isLiveInZExt()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
| H A D | SourcePrinter.cpp | 156 ActiveCols[ColIdx].LiveIn = LV.liveAtAddress(ThisAddr); in update() 160 << ColIdx << ": LiveIn=" << ActiveCols[ColIdx].LiveIn in update() 163 if (!ActiveCols[ColIdx].LiveIn && !ActiveCols[ColIdx].LiveOut) in update() 175 bool LiveIn = LV.liveAtAddress(ThisAddr); in update() local 177 if (!LiveIn && !LiveOut) in update() 183 << ColIdx << ": LiveIn=" << LiveIn in update() 186 ActiveCols[ColIdx].LiveIn = LiveIn; in update() 236 (!AfterInst && ActiveCols[ColIdx].LiveIn)) in printAfterOtherLine() 266 if (ActiveCols[ColIdx2].MustDrawLabel && !ActiveCols[ColIdx2].LiveIn) in printBetweenInsts() 276 OS << getLineChar(ActiveCols[ColIdx].LiveIn ? LineChar::LabelCornerActive in printBetweenInsts() [all …]
|
| H A D | SourcePrinter.h | 46 bool LiveIn = false; member
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | RDFLiveness.cpp | 859 RefMap LiveIn; in computeLiveIns() local 860 traverse(&MF.front(), LiveIn); in computeLiveIns() 929 BitVector LiveIn(TRI.getNumRegs()), Live(TRI.getNumRegs()); in resetKills() local 930 CopyLiveIns(B, LiveIn); in resetKills() 982 void Liveness::traverse(MachineBasicBlock *B, RefMap &LiveIn) { in traverse() argument 1014 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse() 1023 dbgs() << " LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n'; in traverse() 1030 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse() 1034 dbgs() << " LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n'; in traverse() 1045 RefMap LiveInCopy = LiveIn; in traverse() [all …]
|
| H A D | LiveRangeCalc.cpp | 61 LiveIn.clear(); in reset() 66 for (const LiveInBlock &I : LiveIn) { in updateFromLiveIns() 86 LiveIn.clear(); in updateFromLiveIns() 270 LiveIn.clear(); in findReachingDefs() 313 LiveIn.reserve(WorkList.size()); in findReachingDefs() 321 LiveIn.back().Kill = Use; in findReachingDefs() 339 for (LiveInBlock &I : LiveIn) { in updateSSA()
|
| H A D | StackColoring.cpp | 426 BitVector LiveIn; member 580 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB() 842 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness() 844 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness() 872 for (int pos = MBBLiveness.LiveIn.find_first(); pos != -1; in calculateLiveIntervals() 873 pos = MBBLiveness.LiveIn.find_next(pos)) { in calculateLiveIntervals()
|
| H A D | SplitKit.cpp | 255 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo() 258 if (!BI.LiveIn) { in calcLiveBlockInfo() 285 BI.LiveIn = false; in calcLiveBlockInfo() 1570 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock() 1720 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock() 1810 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock() 1818 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock() 1867 << (LiveIn ? "live in" : "dead in") << ", " in print()
|
| H A D | MachineCSE.cpp | 707 auto LiveIn = PhysDefs.pop_back_val(); in ProcessBlockCSE() local 708 if (!MBB->isLiveIn(LiveIn.second)) in ProcessBlockCSE() 709 MBB->addLiveIn(LiveIn.second); in ProcessBlockCSE()
|
| H A D | RegAllocGreedy.cpp | 1242 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints() 1256 if (BI.LiveIn) { in addSplitConstraints() 1463 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost() 1622 if (EnableAdvancedRASplitCost && Cand.Intf.hasInterference() && BI.LiveIn && in calcGlobalSplitCost() 1643 if (BI.LiveIn) in calcGlobalSplitCost() 1718 if (BI.LiveIn) { in splitAroundRegion() 2167 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights() 2348 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit() 2442 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
|
| H A D | BranchRelaxation.cpp | 455 for (const MachineBasicBlock::RegisterMaskPair &LiveIn : Succ->liveins()) in fixupUnconditionalBranch() local 456 BranchBB->addLiveIn(LiveIn); in fixupUnconditionalBranch()
|
| H A D | MIRPrinter.cpp | 315 yaml::MachineFunctionLiveIn LiveIn; in convert() local 316 printRegMIR(LI.first, LiveIn.Register, TRI); in convert() 318 printRegMIR(LI.second, LiveIn.VirtualRegister, TRI); in convert() 319 MF.LiveIns.push_back(LiveIn); in convert()
|
| H A D | RegisterPressure.cpp | 918 LaneBitmask LiveIn = Use.LaneMask & ~LiveMask; in advance() local 919 if (LiveIn.any()) { in advance() 920 discoverLiveIn(RegisterMaskPair(Reg, LiveIn)); in advance() 921 increaseRegPressure(Reg, LiveMask, LiveMask | LiveIn); in advance() 922 LiveRegs.insert(RegisterMaskPair(Reg, LiveIn)); in advance()
|
| H A D | SplitKit.h | 127 bool LiveIn; ///< Current reg is live in. member
|
| H A D | MachineBasicBlock.cpp | 609 bool LiveIn = isLiveIn(PhysReg); in addLiveIn() local 615 if (LiveIn) in addLiveIn() 628 if (!LiveIn) in addLiveIn()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | LiveRangeCalc.h | 126 SmallVector<LiveInBlock, 16> LiveIn; variable 246 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
|
| H A D | MIRYamlMapping.h | 223 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) { 224 YamlIO.mapRequired("reg", LiveIn.Register); 226 "virtual-reg", LiveIn.VirtualRegister,
|
| H A D | RDFLiveness.h | 161 void traverse(MachineBasicBlock *B, RefMap &LiveIn);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | SnippetRepetitor.cpp | 79 for (const auto &LiveIn : Entry.MBB->liveins()) in Repeat() local 80 Loop.MBB->addLiveIn(LiveIn); in Repeat()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 220 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness() 221 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness() 248 if (BlockInfo.LiveIn.test(AllocaNo)) { in calculateLiveIntervals() 297 << ", livein " << BlockInfo.LiveIn << ", liveout " in dumpBlockLiveness()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 633 Register LiveIn = MRI.getLiveInVirtReg(PhysReg); in getFunctionLiveInPhysReg() local 634 if (LiveIn) { in getFunctionLiveInPhysReg() 635 MachineInstr *Def = MRI.getVRegDef(LiveIn); in getFunctionLiveInPhysReg() 639 return LiveIn; in getFunctionLiveInPhysReg() 647 LiveIn = MF.addLiveIn(PhysReg, &RC); in getFunctionLiveInPhysReg() 649 MRI.setType(LiveIn, RegTy); in getFunctionLiveInPhysReg() 652 BuildMI(EntryMBB, EntryMBB.begin(), DL, TII.get(TargetOpcode::COPY), LiveIn) in getFunctionLiveInPhysReg() 656 return LiveIn; in getFunctionLiveInPhysReg()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | StackLifetime.h | 44 : Begin(Size), End(Size), LiveIn(Size), LiveOut(Size) {} in BlockLifetimeInfo() 53 BitVector LiveIn; member
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 592 for (const auto &LiveIn : YamlMF.LiveIns) { in parseRegisterInfo() local 594 if (parseNamedRegisterReference(PFS, Reg, LiveIn.Register.Value, Error)) in parseRegisterInfo() 595 return error(Error, LiveIn.Register.SourceRange); in parseRegisterInfo() 597 if (!LiveIn.VirtualRegister.Value.empty()) { in parseRegisterInfo() 599 if (parseVirtualRegisterReference(PFS, Info, LiveIn.VirtualRegister.Value, in parseRegisterInfo() 601 return error(Error, LiveIn.VirtualRegister.SourceRange); in parseRegisterInfo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 243 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; member 2965 checkBasicSSA(DT, Data.LiveIn[&BB], BB.getTerminator()); in checkBasicSSA() 2986 Data.LiveIn[&BB] = Data.LiveSet[&BB]; in computeLiveInValues() 2987 Data.LiveIn[&BB].set_union(Data.LiveOut[&BB]); in computeLiveInValues() 2988 Data.LiveIn[&BB].set_subtract(Data.KillSet[&BB]); in computeLiveInValues() 2989 if (!Data.LiveIn[&BB].empty()) in computeLiveInValues() 3002 assert(Data.LiveIn.count(Succ)); in computeLiveInValues() 3003 LiveOut.set_union(Data.LiveIn[Succ]); in computeLiveInValues() 3019 assert(Data.LiveIn.count(BB)); in computeLiveInValues() 3020 const SetVector<Value *> &OldLiveIn = Data.LiveIn[BB]; in computeLiveInValues() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | GCNSchedStrategy.cpp | 483 auto LiveIn = std::move(LiveInIt->second); in computeBlockPressure() local 484 RPTracker.reset(*MBB->begin(), &LiveIn); in computeBlockPressure()
|
| H A D | AMDGPULegalizerInfo.cpp | 2728 Register LiveIn = getFunctionLiveInPhysReg(B.getMF(), B.getTII(), SrcReg, *ArgRC, in loadInputValue() local 2736 Register AndMaskSrc = LiveIn; in loadInputValue() 2740 AndMaskSrc = B.buildLShr(S32, LiveIn, ShiftAmt).getReg(0); in loadInputValue() 2745 B.buildCopy(DstReg, LiveIn); in loadInputValue() 4564 Register LiveIn = in legalizeTrapHsaQueuePtr() local 4566 if (!loadInputValue(LiveIn, B, AMDGPUFunctionArgInfo::QUEUE_PTR)) in legalizeTrapHsaQueuePtr() 4570 B.buildCopy(SGPR01, LiveIn); in legalizeTrapHsaQueuePtr()
|