Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp185 std::vector<uint32_t> NewBlocks; in addStream()
186 NewBlocks.resize(ReqBlocks); in addStream()
187 if (auto EC = allocateBlocks(ReqBlocks, NewBlocks)) in addStream()
189 StreamData.push_back(std::make_pair(Size, NewBlocks)); in addStream()
198 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize()
201 if (NewBlocks > OldBlocks) { in setStreamSize()
202 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()
184 std::vector<uint32_t> NewBlocks; addStream() local
197 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); setStreamSize() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp753 SmallVectorImpl<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in cloneLoopBlocks() argument
770 NewBlocks.push_back(NewBB); in cloneLoopBlocks()
797 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in cloneLoopBlocks()
1025 SmallVector<BasicBlock *, 8> NewBlocks; in peelLoop() local
1028 cloneLoopBlocks(L, Iter, InsertTop, InsertBot, ExitEdges, NewBlocks, in peelLoop()
1034 remapInstructionsInBlocks(NewBlocks, VMap); in peelLoop()
1059 F->splice(InsertTop->getIterator(), F, NewBlocks[0]->getIterator(), in peelLoop()
H A DLoopUnrollRuntime.cpp343 std::vector<BasicBlock *> &NewBlocks, in CloneLoopBlocks() argument
360 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
822 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
832 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI, Count); in UnrollRuntimeLoopRemainder()
835 F->splice(InsertBot->getIterator(), F, NewBlocks[0]->getIterator(), F->end()); in UnrollRuntimeLoopRemainder()
915 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
H A DLoopUnroll.cpp718 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollLoop() local
789 NewBlocks.push_back(New); in UnrollLoop()
808 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollLoop()
809 for (BasicBlock *NewBlock : NewBlocks) in UnrollLoop()
819 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in UnrollLoop()
H A DLoopUnrollAndJam.cpp362 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollAndJamLoop() local
406 NewBlocks.push_back(New); in UnrollAndJamLoop()
429 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollAndJamLoop()
430 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
H A DLoopConstrainer.cpp842 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
849 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
851 addToParentLoopIfNeeded(ArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
H A DCloneFunction.cpp1172 ArrayRef<BasicBlock *> NewBlocks, in cloneAndAdaptNoAliasScopes() argument
1183 for (BasicBlock *NewBlock : NewBlocks) in cloneAndAdaptNoAliasScopes()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp1278 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1285 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1295 for (auto *NewBlock : NewBlocks) in getNonLocalPointerDepFromBB()
1300 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1303 for (auto *NewBlock : NewBlocks) in getNonLocalPointerDepFromBB()
1308 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1309 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
H A DMemorySSAUpdater.cpp944 SmallPtrSet<BasicBlock *, 2> NewBlocks; in applyInsertUpdates() local
969 NewBlocks.insert(BB); in applyInsertUpdates()
973 for (auto *BB : NewBlocks) in applyInsertUpdates()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp299 void restrictToBlocks(const SmallSetVector<BasicBlock *, 4> &NewBlocks) { in restrictToBlocks() argument
304 if (!NewBlocks.contains(*BI)) { in restrictToBlocks()
312 assert(Blocks.size() == NewBlocks.size()); in restrictToBlocks()
H A DInductiveRangeCheckElimination.cpp1675 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, run() local
H A DSimpleLoopUnswitch.cpp1176 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local
1177 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1187 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks()
1274 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks()
1348 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCloning.h342 ArrayRef<BasicBlock *> NewBlocks,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp764 auto NewBlocks = ArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
766 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion()
775 if (SA->looksLikeLoopIV() && NewBlocks.size() >= 2) { in growRegion()
780 MachineLoop *L = Loops->getLoopFor(MF->getBlockNumbered(NewBlocks[0])); in growRegion()
781 if (L && L->getHeader()->getNumber() == (int)NewBlocks[0] && in growRegion()
782 all_of(NewBlocks.drop_front(), [&](unsigned Block) { in growRegion()
788 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1773 SmallVector<BasicBlock*, 8> NewBlocks; in cloneScopeBlocks() local
1779 NewBlocks.push_back(NewBB); in cloneScopeBlocks()
1793 F.splice(ExitBlock->getIterator(), &F, NewBlocks[0]->getIterator(), in cloneScopeBlocks()
1797 for (BasicBlock *NewBB : NewBlocks) in cloneScopeBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5137 SmallVector<BasicBlock *, 8> NewBlocks; in createIfVersion() local
5144 NewBlocks.push_back(NewBB); in createIfVersion()
5146 remapInstructionsInBlocks(NewBlocks, VMap); in createIfVersion()
5147 Builder.CreateBr(NewBlocks.front()); in createIfVersion()