Home
last modified time | relevance | path

Searched refs:NewBlocks (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp184 std::vector<uint32_t> NewBlocks; in addStream() local
185 NewBlocks.resize(ReqBlocks); in addStream()
186 if (auto EC = allocateBlocks(ReqBlocks, NewBlocks)) in addStream()
188 StreamData.push_back(std::make_pair(Size, NewBlocks)); in addStream()
197 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize() local
200 if (NewBlocks > OldBlocks) { in setStreamSize()
201 uint32_t AddedBlocks = NewBlocks - OldBlocks; in setStreamSize()
210 } else if (OldBlocks > NewBlocks) { in setStreamSize()
213 uint32_t RemovedBlocks = OldBlocks - NewBlocks; in setStreamSize()
215 auto RemovedBlockList = CurrentBlocks.drop_front(NewBlocks); in setStreamSize()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp397 SmallVectorImpl<BasicBlock *> &NewBlocks, in cloneLoopBlocks() argument
414 NewBlocks.push_back(NewBB); in cloneLoopBlocks()
593 SmallVector<BasicBlock *, 8> NewBlocks; in peelLoop() local
606 NewBlocks, LoopBlocks, VMap, LVMap, DT, LI); in peelLoop()
610 remapInstructionsInBlocks(NewBlocks, VMap); in peelLoop()
636 NewBlocks[0]->getIterator(), F->end()); in peelLoop()
H A DLoopUnrollRuntime.cpp305 std::vector<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in CloneLoopBlocks() argument
323 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
782 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
797 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI); in UnrollRuntimeLoopRemainder()
802 NewBlocks[0]->getIterator(), in UnrollRuntimeLoopRemainder()
886 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
H A DLoopUnroll.cpp612 std::vector<BasicBlock*> NewBlocks; in UnrollLoop() local
666 NewBlocks.push_back(New); in UnrollLoop()
687 for (BasicBlock *NewBlock : NewBlocks) { in UnrollLoop()
H A DLoopUnrollAndJam.cpp315 std::vector<BasicBlock *> NewBlocks; in UnrollAndJamLoop() local
359 NewBlocks.push_back(New); in UnrollAndJamLoop()
382 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp1277 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1284 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1294 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1295 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1299 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1302 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1303 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1307 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1308 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
H A DMemorySSAUpdater.cpp726 SmallPtrSet<BasicBlock *, 2> NewBlocks; in applyInsertUpdates() local
752 NewBlocks.insert(BB); in applyInsertUpdates()
756 for (auto *BB : NewBlocks) in applyInsertUpdates()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp199 std::vector<BasicBlock*> NewBlocks; member in __anon33c827c70111::LoopUnswitch
1242 NewBlocks.clear(); in UnswitchNontrivialCondition()
1270 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
1275 NewBlocks.push_back(NewBB); in UnswitchNontrivialCondition()
1284 NewBlocks[0]->getIterator(), F->end()); in UnswitchNontrivialCondition()
1297 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
1334 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) { in UnswitchNontrivialCondition()
1335 for (Instruction &I : *NewBlocks[i]) { in UnswitchNontrivialCondition()
1358 EmitPreheaderBranchOnCondition(LIC, Val, NewBlocks[0], LoopBlocks[0], OldBR, in UnswitchNontrivialCondition()
H A DGVNSink.cpp275 void restrictToBlocks(const SmallSetVector<BasicBlock *, 4> &NewBlocks) { in restrictToBlocks() argument
280 if (std::find(NewBlocks.begin(), NewBlocks.end(), *BI) == in restrictToBlocks()
281 NewBlocks.end()) { in restrictToBlocks()
289 assert(Blocks.size() == NewBlocks.size()); in restrictToBlocks()
H A DInductiveRangeCheckElimination.cpp1504 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
1511 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
1513 addToParentLoopIfNeeded(makeArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
H A DSimpleLoopUnswitch.cpp950 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local
951 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
961 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks()
1039 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks()
1098 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1736 SmallVector<BasicBlock*, 8> NewBlocks; in cloneScopeBlocks() local
1742 NewBlocks.push_back(NewBB); in cloneScopeBlocks()
1751 NewBlocks[0]->getIterator(), F.end()); in cloneScopeBlocks()
1754 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) in cloneScopeBlocks()
1755 for (Instruction &I : *NewBlocks[i]) in cloneScopeBlocks()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp1333 auto NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
1335 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion()
1340 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()