Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveRangeCalc.cpp25 LiveIn.clear(); in reset()
31 for (SmallVectorImpl<LiveInBlock>::iterator I = LiveIn.begin(), in updateLiveIns()
32 E = LiveIn.end(); I != E; ++I) { in updateLiveIns()
53 LiveIn.clear(); in updateLiveIns()
156 LiveIn.clear(); in findReachingDefs()
157 LiveIn.reserve(WorkList.size()); in findReachingDefs()
162 assert(LiveIn.back().DomNode->getBlock() == KillMBB); in findReachingDefs()
163 LiveIn.back().Kill = Kill; in findReachingDefs()
183 for (SmallVectorImpl<LiveInBlock>::iterator I = LiveIn.begin(), in updateSSA()
184 E = LiveIn.end(); I != E; ++I) { in updateSSA()
DLiveRangeCalc.h96 SmallVector<LiveInBlock, 16> LiveIn; variable
209 LiveIn.push_back(LiveInBlock(LI, DomNode, Kill));
DRegAllocGreedy.cpp685 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
696 if (BI.LiveIn) { in addSplitConstraints()
885 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
906 if (BI.LiveIn) in calcGlobalSplitCost()
966 if (BI.LiveIn) { in splitAroundRegion()
1276 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights()
1390 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1483 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
DSplitKit.cpp190 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
193 if (!BI.LiveIn) { in calcLiveBlockInfo()
220 BI.LiveIn = false; in calcLiveBlockInfo()
1119 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock()
1270 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock()
1359 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock()
1367 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock()
DSplitKit.h74 bool LiveIn; ///< Current reg is live in. member
/external/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp626 RefMap LiveIn; in computeLiveIns() local
627 traverse(&MF.front(), LiveIn); in computeLiveIns()
680 BitVector LiveIn(TRI.getNumRegs()), Live(TRI.getNumRegs()); in resetKills() local
681 CopyLiveIns(B, LiveIn); in resetKills()
775 void Liveness::traverse(MachineBasicBlock *B, RefMap &LiveIn) { in traverse() argument
807 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
815 dbgs() << "\n LiveIn: " << Print<RefMap>(LiveIn, DFG); in traverse()
822 LiveIn[S.first].insert(S.second.begin(), S.second.end()); in traverse()
826 dbgs() << " LiveIn: " << Print<RefMap>(LiveIn, DFG) << '\n'; in traverse()
833 auto Copy = LiveIn; in traverse()
[all …]
DRDFLiveness.h104 void traverse(MachineBasicBlock *B, RefMap &LiveIn);
/external/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp462 auto &LiveIn = Func->getLiveness()->getLiveIn(this); in advancedPhiLowering() local
463 if (VarNum < LiveIn.size()) { in advancedPhiLowering()
464 assert(!LiveIn[VarNum]); in advancedPhiLowering()
465 LiveIn[VarNum] = true; in advancedPhiLowering()
698 const LivenessBV &LiveIn = Liveness->getLiveIn(Succ); in liveness() local
699 assert(LiveIn.empty() || LiveIn.size() == NumGlobalVars); in liveness()
700 Live |= LiveIn; in liveness()
758 LivenessBV &LiveIn = Liveness->getLiveIn(this); in liveness() local
759 assert(LiveIn.empty() || LiveIn.size() == NumGlobalVars); in liveness()
761 Live |= LiveIn; in liveness()
[all …]
DIceLiveness.h59 LivenessBV LiveIn, LiveOut; variable
88 return Nodes[Index].LiveIn; in getLiveIn()
DIceLiveness.cpp114 Node.LiveIn.resize(NumGlobals); in initInternal()
/external/llvm/lib/CodeGen/
DLiveRangeCalc.cpp39 LiveIn.clear(); in reset()
215 for (const LiveInBlock &I : LiveIn) { in updateFromLiveIns()
235 LiveIn.clear(); in updateFromLiveIns()
347 LiveIn.clear(); in findReachingDefs()
373 LiveIn.reserve(WorkList.size()); in findReachingDefs()
379 LiveIn.back().Kill = Use; in findReachingDefs()
398 for (LiveInBlock &I : LiveIn) { in updateSSA()
DSafeStackColoring.cpp99 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers()
176 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
178 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
205 if (BlockInfo.LiveIn.test(AllocaNo)) { in calculateLiveIntervals()
251 << ", livein " << BlockInfo.LiveIn << ", liveout " in dumpBlockLiveness()
DLiveRangeCalc.h102 SmallVector<LiveInBlock, 16> LiveIn; variable
233 LiveIn.push_back(LiveInBlock(LR, DomNode, Kill));
DStackColoring.cpp261 BitVector LiveIn; member
405 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
661 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
663 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
710 for (int pos = MBBLiveness.LiveIn.find_first(); pos != -1; in calculateLiveIntervals()
711 pos = MBBLiveness.LiveIn.find_next(pos)) { in calculateLiveIntervals()
DMachineCSE.cpp626 unsigned LiveIn = PhysDefs.pop_back_val(); in ProcessBlock() local
627 if (!MBB->isLiveIn(LiveIn)) in ProcessBlock()
628 MBB->addLiveIn(LiveIn); in ProcessBlock()
DSplitKit.cpp228 BI.LiveIn = LVI->start <= Start; in calcLiveBlockInfo()
231 if (!BI.LiveIn) { in calcLiveBlockInfo()
258 BI.LiveIn = false; in calcLiveBlockInfo()
1234 if (BI.LiveIn && BI.LiveOut) in shouldSplitSingleBlock()
1385 assert(BI.LiveIn && "Must be live-in"); in splitRegInBlock()
1474 << (BI.LiveIn ? ", stack-in" : ", defined in block")); in splitRegOutBlock()
1482 if (!BI.LiveIn && (!EnterAfter || EnterAfter <= BI.FirstInstr)) { in splitRegOutBlock()
DSafeStackColoring.h41 BitVector LiveIn; member
DRegAllocGreedy.cpp947 BC.Entry = BI.LiveIn ? SpillPlacement::PrefReg : SpillPlacement::DontCare; in addSplitConstraints()
958 if (BI.LiveIn) { in addSplitConstraints()
1151 if (BI.LiveIn && BI.LiveOut && BI.FirstDef) in calcSpillCost()
1172 if (BI.LiveIn) in calcGlobalSplitCost()
1234 if (BI.LiveIn) { in splitAroundRegion()
1656 BI.LiveIn ? BI.FirstInstr.getBaseIndex() : BI.FirstInstr; in calcGapWeights()
1832 const bool LiveBefore = SplitBefore != 0 || BI.LiveIn; in tryLocalSplit()
1927 bool LiveBefore = BestBefore != 0 || BI.LiveIn; in tryLocalSplit()
DMIRPrinter.cpp232 yaml::MachineFunctionLiveIn LiveIn; in convert() local
233 printReg(I->first, LiveIn.Register, TRI); in convert()
235 printReg(I->second, LiveIn.VirtualRegister, TRI); in convert()
236 MF.LiveIns.push_back(LiveIn); in convert()
DRegisterPressure.cpp873 LaneBitmask LiveIn = Use.LaneMask & ~LiveMask; in advance() local
874 if (LiveIn != 0) { in advance()
875 discoverLiveIn(RegisterMaskPair(Reg, LiveIn)); in advance()
876 increaseRegPressure(Reg, LiveMask, LiveMask | LiveIn); in advance()
877 LiveRegs.insert(RegisterMaskPair(Reg, LiveIn)); in advance()
DSplitKit.h107 bool LiveIn; ///< Current reg is live in. member
DMachineBasicBlock.cpp372 bool LiveIn = isLiveIn(PhysReg); in addLiveIn() local
378 if (LiveIn) in addLiveIn()
391 if (!LiveIn) in addLiveIn()
/external/llvm/lib/CodeGen/MIRParser/
DMIRParser.cpp406 for (const auto &LiveIn : YamlMF.LiveIns) { in initializeRegisterInfo() local
408 if (parseNamedRegisterReference(PFS, Reg, LiveIn.Register.Value, Error)) in initializeRegisterInfo()
409 return error(Error, LiveIn.Register.SourceRange); in initializeRegisterInfo()
411 if (!LiveIn.VirtualRegister.Value.empty()) { in initializeRegisterInfo()
412 if (parseVirtualRegisterReference(PFS, VReg, LiveIn.VirtualRegister.Value, in initializeRegisterInfo()
414 return error(Error, LiveIn.VirtualRegister.SourceRange); in initializeRegisterInfo()
/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h168 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
169 YamlIO.mapRequired("reg", LiveIn.Register);
171 "virtual-reg", LiveIn.VirtualRegister,
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp148 MapVector<BasicBlock *, SetVector<Value *>> LiveIn; member
2465 checkBasicSSA(DT, Data.LiveIn[&BB], BB.getTerminator()); in checkBasicSSA()
2486 Data.LiveIn[&BB] = Data.LiveSet[&BB]; in computeLiveInValues()
2487 Data.LiveIn[&BB].set_union(Data.LiveOut[&BB]); in computeLiveInValues()
2488 Data.LiveIn[&BB].set_subtract(Data.KillSet[&BB]); in computeLiveInValues()
2489 if (!Data.LiveIn[&BB].empty()) in computeLiveInValues()
2502 assert(Data.LiveIn.count(Succ)); in computeLiveInValues()
2503 LiveOut.set_union(Data.LiveIn[Succ]); in computeLiveInValues()
2519 assert(Data.LiveIn.count(BB)); in computeLiveInValues()
2520 const SetVector<Value *> &OldLiveIn = Data.LiveIn[BB]; in computeLiveInValues()
[all …]