Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp183 std::vector<uint32_t> NewBlocks; in addStream() local
184 NewBlocks.resize(ReqBlocks); in addStream()
185 if (auto EC = allocateBlocks(ReqBlocks, NewBlocks)) in addStream()
187 StreamData.push_back(std::make_pair(Size, NewBlocks)); in addStream()
196 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize() local
199 if (NewBlocks > OldBlocks) { in setStreamSize()
200 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp493 SmallVectorImpl<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in cloneLoopBlocks() argument
509 NewBlocks.push_back(NewBB); in cloneLoopBlocks()
714 SmallVector<BasicBlock *, 8> NewBlocks; in peelLoop() local
717 cloneLoopBlocks(L, Iter, InsertTop, InsertBot, ExitEdges, NewBlocks, in peelLoop()
722 remapInstructionsInBlocks(NewBlocks, VMap); in peelLoop()
749 NewBlocks[0]->getIterator(), F->end()); in peelLoop()
DLoopUnrollRuntime.cpp304 std::vector<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in CloneLoopBlocks() argument
322 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
775 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
790 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI); in UnrollRuntimeLoopRemainder()
795 NewBlocks[0]->getIterator(), in UnrollRuntimeLoopRemainder()
879 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
DLoopUnrollAndJam.cpp315 std::vector<BasicBlock *> NewBlocks; in UnrollAndJamLoop() local
359 NewBlocks.push_back(New); in UnrollAndJamLoop()
382 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
DLoopUnroll.cpp603 std::vector<BasicBlock*> NewBlocks; in UnrollLoop() local
664 NewBlocks.push_back(New); in UnrollLoop()
685 for (BasicBlock *NewBlock : NewBlocks) { in UnrollLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1282 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1289 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1299 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1300 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1304 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1307 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1308 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1312 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1313 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
DMemorySSAUpdater.cpp922 SmallPtrSet<BasicBlock *, 2> NewBlocks; in applyInsertUpdates() local
948 NewBlocks.insert(BB); in applyInsertUpdates()
952 for (auto *BB : NewBlocks) in applyInsertUpdates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp199 std::vector<BasicBlock*> NewBlocks; member in __anon048a812c0111::LoopUnswitch
1248 NewBlocks.clear(); in UnswitchNontrivialCondition()
1279 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
1284 NewBlocks.push_back(NewBB); in UnswitchNontrivialCondition()
1293 NewBlocks[0]->getIterator(), F->end()); in UnswitchNontrivialCondition()
1306 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
1343 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) { in UnswitchNontrivialCondition()
1344 for (Instruction &I : *NewBlocks[i]) { in UnswitchNontrivialCondition()
1367 EmitPreheaderBranchOnCondition(LIC, Val, NewBlocks[0], LoopBlocks[0], OldBR, in UnswitchNontrivialCondition()
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()
DInductiveRangeCheckElimination.cpp1515 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
1522 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
1524 addToParentLoopIfNeeded(makeArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
DSimpleLoopUnswitch.cpp994 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local
995 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1005 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks()
1083 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks()
1142 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp1778 SmallVector<BasicBlock*, 8> NewBlocks; in cloneScopeBlocks() local
1784 NewBlocks.push_back(NewBB); in cloneScopeBlocks()
1793 NewBlocks[0]->getIterator(), F.end()); in cloneScopeBlocks()
1796 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) in cloneScopeBlocks()
1797 for (Instruction &I : *NewBlocks[i]) in cloneScopeBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1347 auto NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
1349 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion()
1354 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()