Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
209 } else if (OldBlocks > NewBlocks) { in setStreamSize()
212 uint32_t RemovedBlocks = OldBlocks - NewBlocks; in setStreamSize()
214 auto RemovedBlockList = CurrentBlocks.drop_front(NewBlocks); in setStreamSize()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopPeel.cpp692 SmallVectorImpl<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in cloneLoopBlocks() argument
709 NewBlocks.push_back(NewBB); in cloneLoopBlocks()
736 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in cloneLoopBlocks()
964 SmallVector<BasicBlock *, 8> NewBlocks; in peelLoop() local
967 cloneLoopBlocks(L, Iter, InsertTop, InsertBot, ExitEdges, NewBlocks, in peelLoop()
973 remapInstructionsInBlocks(NewBlocks, VMap); in peelLoop()
998 F->splice(InsertTop->getIterator(), F, NewBlocks[0]->getIterator(), in peelLoop()
H A DLoopUnrollRuntime.cpp319 std::vector<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in CloneLoopBlocks() argument
335 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
797 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
807 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI); in UnrollRuntimeLoopRemainder()
815 F->splice(InsertBot->getIterator(), F, NewBlocks[0]->getIterator(), F->end()); in UnrollRuntimeLoopRemainder()
895 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
H A DLoopUnroll.cpp537 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollLoop() local
598 NewBlocks.push_back(New); in UnrollLoop()
617 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollLoop()
618 for (BasicBlock *NewBlock : NewBlocks) in UnrollLoop()
628 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in UnrollLoop()
H A DLoopUnrollAndJam.cpp363 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollAndJamLoop() local
407 NewBlocks.push_back(New); in UnrollAndJamLoop()
430 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollAndJamLoop()
431 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
H A DCloneFunction.cpp1144 ArrayRef<BasicBlock *> NewBlocks, in cloneAndAdaptNoAliasScopes() argument
1155 for (BasicBlock *NewBlock : NewBlocks) in cloneAndAdaptNoAliasScopes()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp1243 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1250 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1260 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1261 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1265 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1268 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1269 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1273 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1274 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
H A DMemorySSAUpdater.cpp969 SmallPtrSet<BasicBlock *, 2> NewBlocks; in applyInsertUpdates() local
994 NewBlocks.insert(BB); in applyInsertUpdates()
998 for (auto *BB : NewBlocks) in applyInsertUpdates()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGVNSink.cpp270 void restrictToBlocks(const SmallSetVector<BasicBlock *, 4> &NewBlocks) { in restrictToBlocks() argument
275 if (!llvm::is_contained(NewBlocks, *BI)) { in restrictToBlocks()
283 assert(Blocks.size() == NewBlocks.size()); in restrictToBlocks()
H A DInductiveRangeCheckElimination.cpp1532 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
1539 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
1541 addToParentLoopIfNeeded(ArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
H A DSimpleLoopUnswitch.cpp1120 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local
1121 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1131 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks()
1213 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks()
1284 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DCloning.h345 ArrayRef<BasicBlock *> NewBlocks,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp1773 SmallVector<BasicBlock*, 8> NewBlocks; in cloneScopeBlocks() local
1779 NewBlocks.push_back(NewBB); in cloneScopeBlocks()
1786 F.splice(ExitBlock->getIterator(), &F, NewBlocks[0]->getIterator(), in cloneScopeBlocks()
1790 for (BasicBlock *NewBB : NewBlocks) in cloneScopeBlocks()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp760 auto NewBlocks = ArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
762 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion()
767 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()
/openbsd-src/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp3043 SmallVector<BasicBlock *, 8> NewBlocks; in createIfVersion() local
3050 NewBlocks.push_back(NewBB); in createIfVersion()
3052 remapInstructionsInBlocks(NewBlocks, VMap); in createIfVersion()
3053 Builder.CreateBr(NewBlocks.front()); in createIfVersion()