| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/ |
| H A D | MSFBuilder.cpp | 185 std::vector<uint32_t> NewBlocks; in addStream() local 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() local 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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopUnrollRuntime.cpp | 342 std::vector<BasicBlock *> &NewBlocks, in CloneLoopBlocks() argument 359 NewBlocks.push_back(NewBB); in CloneLoopBlocks() 826 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local 836 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI, Count); in UnrollRuntimeLoopRemainder() 839 F->splice(InsertBot->getIterator(), F, NewBlocks[0]->getIterator(), F->end()); in UnrollRuntimeLoopRemainder() 919 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
|
| H A D | LoopPeel.cpp | 838 SmallVectorImpl<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in cloneLoopBlocks() argument 855 NewBlocks.push_back(NewBB); in cloneLoopBlocks() 882 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in cloneLoopBlocks() 1207 SmallVector<BasicBlock *, 8> NewBlocks; in peelLoop() local 1210 NewPreHeader ? PreHeader : nullptr, ExitEdges, NewBlocks, in peelLoop() 1216 remapInstructionsInBlocks(NewBlocks, VMap); in peelLoop() 1258 F->splice(InsertTop->getIterator(), F, NewBlocks[0]->getIterator(), in peelLoop()
|
| H A D | LoopUnroll.cpp | 714 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollLoop() local 793 NewBlocks.push_back(New); in UnrollLoop() 813 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollLoop() 814 for (BasicBlock *NewBlock : NewBlocks) in UnrollLoop() 824 cloneAndAdaptNoAliasScopes(LoopLocalNoAliasDeclScopes, NewBlocks, in UnrollLoop()
|
| H A D | LoopUnrollAndJam.cpp | 363 SmallVector<BasicBlock *, 8> NewBlocks; in UnrollAndJamLoop() local 409 NewBlocks.push_back(New); in UnrollAndJamLoop() 432 remapInstructionsInBlocks(NewBlocks, LastValueMap); in UnrollAndJamLoop() 433 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
|
| H A D | LoopConstrainer.cpp | 842 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 D | CloneFunction.cpp | 1229 ArrayRef<BasicBlock *> NewBlocks, in cloneAndAdaptNoAliasScopes() argument 1240 for (BasicBlock *NewBlock : NewBlocks) in cloneAndAdaptNoAliasScopes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryDependenceAnalysis.cpp | 1219 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local 1226 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB() 1236 for (auto *NewBlock : NewBlocks) in getNonLocalPointerDepFromBB() 1241 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB() 1244 for (auto *NewBlock : NewBlocks) in getNonLocalPointerDepFromBB() 1249 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB() 1250 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
|
| H A D | MemorySSAUpdater.cpp | 953 SmallPtrSet<BasicBlock *, 2> NewBlocks; in applyInsertUpdates() local 978 NewBlocks.insert(BB); in applyInsertUpdates() 982 for (auto *BB : NewBlocks) in applyInsertUpdates()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | GVNSink.cpp | 218 void restrictToBlocks(const SmallSetVector<BasicBlock *, 4> &NewBlocks) { in restrictToBlocks() argument 223 if (!NewBlocks.contains(*BI)) { in restrictToBlocks() 231 assert(Blocks.size() == NewBlocks.size()); in restrictToBlocks()
|
| H A D | SimpleLoopUnswitch.cpp | 1181 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local 1182 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks() 1192 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks() 1279 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks() 1353 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Cloning.h | 402 ArrayRef<BasicBlock *> NewBlocks,
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | RegAllocGreedy.cpp | 898 auto NewBlocks = ArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local 900 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion() 909 if (SA->looksLikeLoopIV() && NewBlocks.size() >= 2) { in growRegion() 914 MachineLoop *L = Loops->getLoopFor(MF->getBlockNumbered(NewBlocks[0])); in growRegion() 915 if (L && L->getHeader()->getNumber() == (int)NewBlocks[0] && in growRegion() 916 all_of(NewBlocks.drop_front(), [&](unsigned Block) { in growRegion() 922 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 1763 SmallVector<BasicBlock*, 8> NewBlocks; in cloneScopeBlocks() local 1769 NewBlocks.push_back(NewBB); in cloneScopeBlocks() 1783 F.splice(ExitBlock->getIterator(), &F, NewBlocks[0]->getIterator(), in cloneScopeBlocks() 1787 for (BasicBlock *NewBB : NewBlocks) in cloneScopeBlocks()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 5425 SmallVector<BasicBlock *, 8> NewBlocks; in createIfVersion() local 5450 NewBlocks.push_back(NewBB); in createIfVersion() 5452 remapInstructionsInBlocks(NewBlocks, VMap); in createIfVersion() 5453 Builder.CreateBr(NewBlocks.front()); in createIfVersion()
|