Searched refs:LRU (Results 1 – 8 of 8) sorted by relevance
124 LiveRegUnits LRU(*MBB.getParent()->getSubtarget().getRegisterInfo()); in optimizeNZCVDefs() local125 LRU.addLiveOuts(MBB); in optimizeNZCVDefs()126 bool NZCVDead = LRU.available(AArch64::NZCV); in optimizeNZCVDefs()129 LRU.stepBackward(II); in optimizeNZCVDefs()140 bool NZCVDeadAtCurrInstr = LRU.available(AArch64::NZCV); in optimizeNZCVDefs()
744 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsDownwards() local745 LRU.MI = UseMI; in updatePhysDepsDownwards()746 LRU.Op = DefOp; in updatePhysDepsDownwards()936 LiveRegUnit &LRU = RegUnits[*Units]; in updatePhysDepsUpwards() local938 if (LRU.Cycle <= Height && LRU.MI != &MI) { in updatePhysDepsUpwards()939 LRU.Cycle = Height; in updatePhysDepsUpwards()940 LRU.MI = &MI; in updatePhysDepsUpwards()941 LRU.Op = ReadOps[I]; in updatePhysDepsUpwards()
411 for (unsigned LRU : LiveRegUnits) in findInsertionPoint()412 dbgs() << ' ' << printRegUnit(LRU, TRI); in findInsertionPoint()
161 if (It == LRU.end() || !It->second) in getUsedBytes()170 assert(findByKey(K) == LRU.end()); in put()172 LRU.insert(LRU.begin(), {K, std::move(V)}); in put()173 if (LRU.size() <= MaxRetainedASTs) in put()176 std::unique_ptr<ParsedAST> ForCleanup = std::move(LRU.back().second); in put()177 LRU.pop_back(); in put()192 if (Existing == LRU.end()) { in take()200 LRU.erase(Existing); in take()211 return llvm::find_if(LRU, [K](const KVPair &P) { return P.first == K; }); in findByKey()218 std::vector<KVPair> LRU; /* GUARDED_BY(Mut) */ member in clang::clangd::TUScheduler::ASTCache
86 LRU.clear(); in clear()113 LRU.push_back(Idx); in insert()114 if (LRU.size() > RegisterSetLimit) { in insert()115 unsigned T = LRU.front(); in insert()117 LRU.pop_front(); in insert()128 auto F = llvm::find(LRU, Idx); in remove()129 assert(F != LRU.end()); in remove()130 LRU.erase(F); in remove()171 std::deque<unsigned> LRU; member
125 replacement policy; we have found that this is almost as good as LRU
7452 LiveRegUnits LRU(getRegisterInfo()); in isMBBSafeToOutlineFrom() local7455 LRU.accumulate(MI); in isMBBSafeToOutlineFrom()7458 bool W16AvailableInBlock = LRU.available(AArch64::W16); in isMBBSafeToOutlineFrom()7459 bool W17AvailableInBlock = LRU.available(AArch64::W17); in isMBBSafeToOutlineFrom()7460 bool NZCVAvailableInBlock = LRU.available(AArch64::NZCV); in isMBBSafeToOutlineFrom()7468 LRU.addLiveOuts(MBB); in isMBBSafeToOutlineFrom()7472 if (W16AvailableInBlock && !LRU.available(AArch64::W16)) in isMBBSafeToOutlineFrom()7474 if (W17AvailableInBlock && !LRU.available(AArch64::W17)) in isMBBSafeToOutlineFrom()7476 if (NZCVAvailableInBlock && !LRU.available(AArch64::NZCV)) in isMBBSafeToOutlineFrom()7497 Reg != AArch64::X16 && Reg != AArch64::X17 && LRU.available(Reg)) { in isMBBSafeToOutlineFrom()[all …]
6214 LiveRegUnits LRU(getRegisterInfo()); in isMBBSafeToOutlineFrom() local6217 LRU.accumulate(MI); in isMBBSafeToOutlineFrom()6220 bool R12AvailableInBlock = LRU.available(ARM::R12); in isMBBSafeToOutlineFrom()6221 bool CPSRAvailableInBlock = LRU.available(ARM::CPSR); in isMBBSafeToOutlineFrom()6229 LRU.addLiveOuts(MBB); in isMBBSafeToOutlineFrom()6233 if (R12AvailableInBlock && !LRU.available(ARM::R12)) in isMBBSafeToOutlineFrom()6235 if (CPSRAvailableInBlock && !LRU.available(ARM::CPSR)) in isMBBSafeToOutlineFrom()6248 : LRU.available(ARM::LR); in isMBBSafeToOutlineFrom()