Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
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()
630 NewBlocks[0]->getIterator(), F->end()); in peelLoop()
DLoopUnrollRuntime.cpp287 std::vector<BasicBlock *> &NewBlocks, LoopBlocksDFS &LoopBlocks, in CloneLoopBlocks() argument
305 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
739 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
754 NewPreHeader, NewBlocks, LoopBlocks, VMap, DT, LI); in UnrollRuntimeLoopRemainder()
759 NewBlocks[0]->getIterator(), in UnrollRuntimeLoopRemainder()
843 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
DLoopUnroll.cpp603 std::vector<BasicBlock*> NewBlocks; in UnrollLoop() local
657 NewBlocks.push_back(New); in UnrollLoop()
678 for (BasicBlock *NewBlock : NewBlocks) { in UnrollLoop()
DLoopUnrollAndJam.cpp305 std::vector<BasicBlock *> NewBlocks; in UnrollAndJamLoop() local
349 NewBlocks.push_back(New); in UnrollAndJamLoop()
372 for (BasicBlock *NewBlock : NewBlocks) { in UnrollAndJamLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp245 std::vector<BasicBlock*> NewBlocks; in UnrollLoop() local
294 NewBlocks.push_back(New); in UnrollLoop()
298 for (unsigned i = 0; i < NewBlocks.size(); ++i) in UnrollLoop()
299 for (BasicBlock::iterator I = NewBlocks[i]->begin(), in UnrollLoop()
300 E = NewBlocks[i]->end(); I != E; ++I) in UnrollLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp89 std::vector<BasicBlock*> NewBlocks; member in __anondb7020390111::LoopUnswitch
593 NewBlocks.clear(); in UnswitchNontrivialCondition()
620 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
624 NewBlocks.push_back(NewBB); in UnswitchNontrivialCondition()
632 NewBlocks[0], F->end()); in UnswitchNontrivialCondition()
640 ParentLoop->addBasicBlockToLoop(NewBlocks[0], LI->getBase()); in UnswitchNontrivialCondition()
679 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) in UnswitchNontrivialCondition()
680 for (BasicBlock::iterator I = NewBlocks[i]->begin(), in UnswitchNontrivialCondition()
681 E = NewBlocks[i]->end(); I != E; ++I) in UnswitchNontrivialCondition()
690 EmitPreheaderBranchOnCondition(LIC, Val, NewBlocks[0], LoopBlocks[0], OldBR); in UnswitchNontrivialCondition()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp273 std::vector<BasicBlock *> &NewBlocks, in CloneLoopBlocks() argument
296 NewBlocks.push_back(NewBB); in CloneLoopBlocks()
599 std::vector<BasicBlock *> NewBlocks; in UnrollRuntimeLoopRemainder() local
612 InsertBot, NewPreHeader, NewBlocks, LoopBlocks, VMap, LI); in UnrollRuntimeLoopRemainder()
617 NewBlocks[0]->getIterator(), in UnrollRuntimeLoopRemainder()
637 for (BasicBlock *BB : NewBlocks) { in UnrollRuntimeLoopRemainder()
DLoopUnroll.cpp386 std::vector<BasicBlock*> NewBlocks; in UnrollLoop() local
462 NewBlocks.push_back(New); in UnrollLoop()
483 for (BasicBlock *NewBlock : NewBlocks) in UnrollLoop()
/external/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1219 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1226 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1236 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1237 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1241 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1244 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1245 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1249 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1250 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp200 std::vector<BasicBlock*> NewBlocks; member in __anonbcfadd0d0111::LoopUnswitch
1038 NewBlocks.clear(); in UnswitchNontrivialCondition()
1065 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
1070 NewBlocks.push_back(NewBB); in UnswitchNontrivialCondition()
1079 NewBlocks[0]->getIterator(), F->end()); in UnswitchNontrivialCondition()
1096 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
1134 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) in UnswitchNontrivialCondition()
1135 for (Instruction &I : *NewBlocks[i]) in UnswitchNontrivialCondition()
1145 EmitPreheaderBranchOnCondition(LIC, Val, NewBlocks[0], LoopBlocks[0], OldBR, in UnswitchNontrivialCondition()
DInductiveRangeCheckElimination.cpp1259 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
1266 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
1268 addToParentLoopIfNeeded(makeArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryDependenceAnalysis.cpp1265 SmallVector<BasicBlock *, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1272 NewBlocks.push_back(Pred); in getNonLocalPointerDepFromBB()
1282 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1283 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1287 if (NewBlocks.size() > WorklistEntries) { in getNonLocalPointerDepFromBB()
1290 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1291 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1295 WorklistEntries -= NewBlocks.size(); in getNonLocalPointerDepFromBB()
1296 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp194 std::vector<BasicBlock*> NewBlocks; member in __anon2e9142650111::LoopUnswitch
1215 NewBlocks.clear(); in UnswitchNontrivialCondition()
1242 NewBlocks.reserve(LoopBlocks.size()); in UnswitchNontrivialCondition()
1247 NewBlocks.push_back(NewBB); in UnswitchNontrivialCondition()
1256 NewBlocks[0]->getIterator(), F->end()); in UnswitchNontrivialCondition()
1269 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
1306 for (unsigned i = 0, e = NewBlocks.size(); i != e; ++i) { in UnswitchNontrivialCondition()
1307 for (Instruction &I : *NewBlocks[i]) { in UnswitchNontrivialCondition()
1322 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()
DSimpleLoopUnswitch.cpp878 SmallVector<BasicBlock *, 4> NewBlocks; in buildClonedLoopBlocks() local
879 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
889 NewBlocks.push_back(NewBB); in buildClonedLoopBlocks()
967 for (auto *ClonedBB : NewBlocks) in buildClonedLoopBlocks()
1026 for (auto *ClonedBB : NewBlocks) { in buildClonedLoopBlocks()
DInductiveRangeCheckElimination.cpp1604 BasicBlock *NewBlocks[] = {PostLoopPreheader, PreLoopRRI.PseudoExit, in run() local
1611 std::remove(std::begin(NewBlocks), std::end(NewBlocks), nullptr); in run()
1613 addToParentLoopIfNeeded(makeArrayRef(std::begin(NewBlocks), NewBlocksEnd)); in run()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryDependenceAnalysis.cpp1022 SmallVector<BasicBlock*, 16> NewBlocks; in getNonLocalPointerDepFromBB() local
1029 NewBlocks.push_back(*PI); in getNonLocalPointerDepFromBB()
1039 for (unsigned i = 0; i < NewBlocks.size(); i++) in getNonLocalPointerDepFromBB()
1040 Visited.erase(NewBlocks[i]); in getNonLocalPointerDepFromBB()
1044 Worklist.append(NewBlocks.begin(), NewBlocks.end()); in getNonLocalPointerDepFromBB()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp813 ArrayRef<unsigned> NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
815 addThroughConstraints(Cand.Intf, NewBlocks); in growRegion()
819 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1079 auto NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
1081 addThroughConstraints(Cand.Intf, NewBlocks); in growRegion()
1085 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp1316 auto NewBlocks = makeArrayRef(ActiveBlocks).slice(AddedTo); in growRegion() local
1318 addThroughConstraints(Cand.Intf, NewBlocks); in growRegion()
1322 SpillPlacer->addPrefSpill(NewBlocks, /* Strong= */ true); in growRegion()