Home
last modified time | relevance | path

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

/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 __anon02c629ef0111::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 __anonaec0e4c30111::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/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()