Home
last modified time | relevance | path

Searched refs:Updates (Results 1 – 25 of 182) sorted by relevance

12345678

/external/llvm-project/llvm/unittests/IR/
DDominatorTreeBatchUpdatesTest.cpp56 std::vector<DomUpdate> Updates = { in TEST() local
60 cfg::LegalizeUpdates<BasicBlock *>(Updates, Legalized, false); in TEST()
79 std::vector<DomUpdate> Updates = { in TEST() local
83 cfg::LegalizeUpdates<BasicBlock *>(Updates, Legalized, true); in TEST()
104 std::vector<DomUpdate> Updates = {{Insert, B, C}}; in TEST() local
108 DT.applyUpdates(Updates); in TEST()
110 PDT.applyUpdates(Updates); in TEST()
126 std::vector<DomUpdate> Updates = {{Delete, B, C}}; in TEST() local
130 DT.applyUpdates(Updates); in TEST()
132 PDT.applyUpdates(Updates); in TEST()
[all …]
DCFGBuilder.cpp31 std::vector<Update> Updates) in CFGBuilder() argument
32 : F(F), Updates(std::move(Updates)) { in CFGBuilder()
130 if (UpdateIdx == Updates.size()) in getNextUpdate()
132 return Updates[UpdateIdx]; in getNextUpdate()
136 if (UpdateIdx == Updates.size()) in applyUpdate()
138 Update NextUpdate = Updates[UpdateIdx++]; in applyUpdate()
155 for (const auto &U : Updates) { in dump()
187 std::vector<CFGBuilder::Update> Updates = { in TEST() local
191 const size_t NumUpdates = Updates.size(); in TEST()
193 CFGBuilder B(Holder.F, {}, Updates); in TEST()
[all …]
DDominatorTreeTest.cpp715 std::vector<CFGBuilder::Update> Updates = {{Insert, {"12", "10"}}, in TEST() local
719 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
744 std::vector<CFGBuilder::Update> Updates = {{Insert, {"10", "7"}}}; in TEST() local
745 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
769 std::vector<CFGBuilder::Update> Updates = {{Insert, {"4", "5"}}, in TEST() local
773 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
795 std::vector<CFGBuilder::Update> Updates = {{Insert, {"3", "5"}}}; in TEST() local
796 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
820 std::vector<CFGBuilder::Update> Updates = { in TEST() local
824 CFGBuilder B(Holder.F, Arcs, Updates); in TEST()
[all …]
DCFGBuilder.h72 std::vector<Update> Updates);
88 std::vector<Update> Updates; variable
/external/llvm-project/llvm/unittests/Analysis/
DDomTreeUpdaterTest.cpp80 std::vector<DominatorTree::UpdateType> Updates; in TEST() local
81 Updates.reserve(4); in TEST()
82 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST()
83 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST()
86 Updates.push_back({DominatorTree::Insert, BB1, BB2}); in TEST()
88 Updates.push_back({DominatorTree::Delete, BB0, BB1}); in TEST()
105 DTU.applyUpdatesPermissive(Updates); in TEST()
260 std::vector<DominatorTree::UpdateType> Updates; in TEST() local
261 Updates.reserve(4); in TEST()
262 Updates.push_back({DominatorTree::Delete, BB0, BB3}); in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp202 void promoteConstants(Function &F, SmallVectorImpl<UpdateRecord> &Updates,
523 Function &F, SmallVectorImpl<UpdateRecord> &Updates, in promoteConstants() argument
526 for (auto U = Updates.begin(), E = Updates.end(); U != E;) { in promoteConstants()
546 SmallVector<UpdateRecord, 64> Updates; in runOnFunction() local
567 Updates.emplace_back(Cst, &I, OpNo); in runOnFunction()
571 if (Updates.empty()) in runOnFunction()
574 promoteConstants(F, Updates, PromotionCache); in runOnFunction()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp191 void promoteConstants(Function &F, SmallVectorImpl<UpdateRecord> &Updates,
515 Function &F, SmallVectorImpl<UpdateRecord> &Updates, in promoteConstants() argument
518 for (auto U = Updates.begin(), E = Updates.end(); U != E;) { in promoteConstants()
538 SmallVector<UpdateRecord, 64> Updates; in runOnFunction() local
559 Updates.emplace_back(Cst, &I, OpNo); in runOnFunction()
563 if (Updates.empty()) in runOnFunction()
566 promoteConstants(F, Updates, PromotionCache); in runOnFunction()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp202 void promoteConstants(Function &F, SmallVectorImpl<UpdateRecord> &Updates,
537 Function &F, SmallVectorImpl<UpdateRecord> &Updates, in promoteConstants() argument
540 for (auto U = Updates.begin(), E = Updates.end(); U != E;) { in promoteConstants()
560 SmallVector<UpdateRecord, 64> Updates; in runOnFunction() local
582 Updates.emplace_back(Cst, &I, OpNo); in runOnFunction()
586 if (Updates.empty()) in runOnFunction()
589 promoteConstants(F, Updates, PromotionCache); in runOnFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp56 SmallVectorImpl<DominatorTree::UpdateType> *Updates, in DetatchDeadBlocks() argument
64 if (Updates && UniqueSuccessors.insert(Succ).second) in DetatchDeadBlocks()
65 Updates->push_back({DominatorTree::Delete, BB, Succ}); in DetatchDeadBlocks()
104 SmallVector<DominatorTree::UpdateType, 4> Updates; in DeleteDeadBlocks() local
105 DetatchDeadBlocks(BBs, DTU ? &Updates : nullptr, KeepOneInputPHIs); in DeleteDeadBlocks()
108 DTU->applyUpdatesPermissive(Updates); in DeleteDeadBlocks()
229 std::vector<DominatorTree::UpdateType> Updates; in MergeBlockIntoPredecessor() local
231 Updates.reserve(1 + (2 * succ_size(BB))); in MergeBlockIntoPredecessor()
241 Updates.push_back({DominatorTree::Insert, PredBB, *I}); in MergeBlockIntoPredecessor()
243 Updates.push_back({DominatorTree::Delete, BB, *I}); in MergeBlockIntoPredecessor()
[all …]
DBreakCriticalEdges.cpp270 SmallVector<DominatorTree::UpdateType, 3> Updates; in SplitCriticalEdge() local
271 Updates.push_back({DominatorTree::Insert, TIBB, NewBB}); in SplitCriticalEdge()
272 Updates.push_back({DominatorTree::Insert, NewBB, DestBB}); in SplitCriticalEdge()
274 Updates.push_back({DominatorTree::Delete, TIBB, DestBB}); in SplitCriticalEdge()
277 DT->applyUpdates(Updates); in SplitCriticalEdge()
279 PDT->applyUpdates(Updates); in SplitCriticalEdge()
DLoopRotationUtils.cpp498 SmallVector<DominatorTree::UpdateType, 3> Updates; in rotateLoop() local
499 Updates.push_back({DominatorTree::Insert, OrigPreheader, Exit}); in rotateLoop()
500 Updates.push_back({DominatorTree::Insert, OrigPreheader, NewHeader}); in rotateLoop()
501 Updates.push_back({DominatorTree::Delete, OrigPreheader, OrigHeader}); in rotateLoop()
502 DT->applyUpdates(Updates); in rotateLoop()
505 MSSAU->applyUpdates(Updates, *DT); in rotateLoop()
DLocal.cpp260 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
262 Updates.reserve(SI->getNumSuccessors() - 1); in ConstantFoldTerminator()
272 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ConstantFoldTerminator()
282 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
328 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
330 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
343 Updates.push_back({DominatorTree::Delete, ParentBB, DestBB}); in ConstantFoldTerminator()
366 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
756 SmallVector<DominatorTree::UpdateType, 32> Updates; in MergeBasicBlockIntoOnlyPred() local
759 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h78 SmallVector<UpdateT, 4> Updates; member
1155 static void ApplyUpdates(DomTreeT &DT, ArrayRef<UpdateT> Updates) { in ApplyUpdates()
1156 const size_t NumUpdates = Updates.size(); in ApplyUpdates()
1163 const auto &Update = Updates.front(); in ApplyUpdates()
1173 LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " updates\n"); in ApplyUpdates()
1174 cfg::LegalizeUpdates<NodePtr>(Updates, BUI.Updates, IsPostDom); in ApplyUpdates()
1176 const size_t NumLegalized = BUI.Updates.size(); in ApplyUpdates()
1183 for (UpdateT &U : BUI.Updates) { in ApplyUpdates()
1194 : reverse(BUI.Updates)) { in ApplyUpdates()
1224 assert(!BUI.Updates.empty() && "No updates to apply!"); in ApplyNextUpdate()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp369 std::vector<DominatorTree::UpdateType> Updates; in perform() local
371 Updates.reserve(2 * SizeIds.size()); in perform()
388 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
389 Updates.push_back({DominatorTree::Insert, BB, CaseBB}); in perform()
393 DTU.applyUpdates(Updates); in perform()
394 Updates.clear(); in perform()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDomTreeUpdater.cpp231 void DomTreeUpdater::applyUpdates(ArrayRef<DominatorTree::UpdateType> Updates) { in applyUpdates() argument
236 for (const auto &U : Updates) in applyUpdates()
244 DT->applyUpdates(Updates); in applyUpdates()
246 PDT->applyUpdates(Updates); in applyUpdates()
250 ArrayRef<DominatorTree::UpdateType> Updates) { in applyUpdatesPermissive() argument
256 for (const auto &U : Updates) { in applyUpdatesPermissive()
/external/llvm-project/llvm/lib/Analysis/
DDomTreeUpdater.cpp230 void DomTreeUpdater::applyUpdates(ArrayRef<DominatorTree::UpdateType> Updates) { in applyUpdates() argument
235 for (const auto &U : Updates) in applyUpdates()
243 DT->applyUpdates(Updates); in applyUpdates()
245 PDT->applyUpdates(Updates); in applyUpdates()
249 ArrayRef<DominatorTree::UpdateType> Updates) { in applyUpdatesPermissive() argument
255 for (const auto &U : Updates) { in applyUpdatesPermissive()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1054 std::vector<DominatorTree::UpdateType> Updates; in ProcessBlock() local
1058 Updates.reserve(BBTerm->getNumSuccessors()); in ProcessBlock()
1063 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ProcessBlock()
1070 DTU->applyUpdatesPermissive(Updates); in ProcessBlock()
1640 std::vector <DominatorTree::UpdateType> Updates; in ProcessThreadableEdges() local
1641 Updates.reserve(BB->getTerminator()->getNumSuccessors() - 1); in ProcessThreadableEdges()
1647 Updates.push_back({DominatorTree::Delete, BB, SuccBB}); in ProcessThreadableEdges()
1655 DTU->applyUpdatesPermissive(Updates); in ProcessThreadableEdges()
2166 std::vector<DominatorTree::UpdateType> Updates; in SplitBlockPreds() local
2167 Updates.reserve((2 * Preds.size()) + NewBBs.size()); in SplitBlockPreds()
[all …]
/external/rust/crates/rusqlite/
DChangelog.md42 * Updates dependencies to their latest versions, particularly serde to 1.0.
53 * Updates the `bundled` SQLite version to 3.17.0.
63 * Updates to `libsqlite3-sys` 0.7.0, which runs rust-bindgen at build-time instead of assuming the
216 * Updates `libc` dependency to 0.2, fixing builds on ARM for Rust 1.6 or newer.
261 * Updates to track rustc nightly.
273 * Updates to track rustc nightly.
277 * Updates to track rustc stabilization.
282 * Updates to track latest rustc changes.
295 * Updates to track latest rustc changes.
300 * Updates to track latest rustc changes.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp234 SmallVector<DominatorTree::UpdateType, 3> Updates; in SplitCriticalEdge() local
235 Updates.push_back({DominatorTree::Insert, TIBB, NewBB}); in SplitCriticalEdge()
236 Updates.push_back({DominatorTree::Insert, NewBB, DestBB}); in SplitCriticalEdge()
238 Updates.push_back({DominatorTree::Delete, TIBB, DestBB}); in SplitCriticalEdge()
241 DT->applyUpdates(Updates); in SplitCriticalEdge()
243 PDT->applyUpdates(Updates); in SplitCriticalEdge()
DBasicBlockUtils.cpp56 SmallVectorImpl<DominatorTree::UpdateType> *Updates, in DetatchDeadBlocks() argument
64 if (Updates && UniqueSuccessors.insert(Succ).second) in DetatchDeadBlocks()
65 Updates->push_back({DominatorTree::Delete, BB, Succ}); in DetatchDeadBlocks()
104 SmallVector<DominatorTree::UpdateType, 4> Updates; in DeleteDeadBlocks() local
105 DetatchDeadBlocks(BBs, DTU ? &Updates : nullptr, KeepOneInputPHIs); in DeleteDeadBlocks()
108 DTU->applyUpdatesPermissive(Updates); in DeleteDeadBlocks()
228 std::vector<DominatorTree::UpdateType> Updates; in MergeBlockIntoPredecessor() local
230 Updates.reserve(1 + (2 * succ_size(BB))); in MergeBlockIntoPredecessor()
240 Updates.push_back({DominatorTree::Insert, PredBB, *I}); in MergeBlockIntoPredecessor()
242 Updates.push_back({DominatorTree::Delete, BB, *I}); in MergeBlockIntoPredecessor()
[all …]
DLoopRotationUtils.cpp433 SmallVector<DominatorTree::UpdateType, 3> Updates; in rotateLoop() local
434 Updates.push_back({DominatorTree::Insert, OrigPreheader, Exit}); in rotateLoop()
435 Updates.push_back({DominatorTree::Insert, OrigPreheader, NewHeader}); in rotateLoop()
436 Updates.push_back({DominatorTree::Delete, OrigPreheader, OrigHeader}); in rotateLoop()
437 DT->applyUpdates(Updates); in rotateLoop()
440 MSSAU->applyUpdates(Updates, *DT); in rotateLoop()
DLocal.cpp238 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
240 Updates.reserve(SI->getNumSuccessors() - 1); in ConstantFoldTerminator()
250 Updates.push_back({DominatorTree::Delete, BB, Succ}); in ConstantFoldTerminator()
260 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
306 std::vector <DominatorTree::UpdateType> Updates; in ConstantFoldTerminator() local
308 Updates.reserve(IBI->getNumDestinations() - 1); in ConstantFoldTerminator()
321 Updates.push_back({DominatorTree::Delete, ParentBB, DestBB}); in ConstantFoldTerminator()
344 DTU->applyUpdatesPermissive(Updates); in ConstantFoldTerminator()
691 SmallVector<DominatorTree::UpdateType, 32> Updates; in MergeBasicBlockIntoOnlyPred() local
694 Updates.push_back({DominatorTree::Delete, PredBB, DestBB}); in MergeBasicBlockIntoOnlyPred()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1083 std::vector<DominatorTree::UpdateType> Updates; in processBlock() local
1087 Updates.reserve(BBTerm->getNumSuccessors()); in processBlock()
1092 Updates.push_back({DominatorTree::Delete, BB, Succ}); in processBlock()
1099 DTU->applyUpdatesPermissive(Updates); in processBlock()
1699 std::vector <DominatorTree::UpdateType> Updates; in processThreadableEdges() local
1700 Updates.reserve(BB->getTerminator()->getNumSuccessors() - 1); in processThreadableEdges()
1706 Updates.push_back({DominatorTree::Delete, BB, SuccBB}); in processThreadableEdges()
1714 DTU->applyUpdatesPermissive(Updates); in processThreadableEdges()
2437 std::vector<DominatorTree::UpdateType> Updates; in splitBlockPreds() local
2438 Updates.reserve((2 * Preds.size()) + NewBBs.size()); in splitBlockPreds()
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp440 std::vector<DominatorTree::UpdateType> Updates; in perform() local
442 Updates.reserve(2 * SizeIds.size()); in perform()
460 Updates.push_back({DominatorTree::Insert, CaseBB, MergeBB}); in perform()
461 Updates.push_back({DominatorTree::Insert, BB, CaseBB}); in perform()
465 DTU.applyUpdates(Updates); in perform()
466 Updates.clear(); in perform()
/external/llvm-project/clang/lib/AST/
DStmtOpenMP.cpp231 Dir->setUpdates(Exprs.Updates); in Create()
274 Dir->setUpdates(Exprs.Updates); in Create()
320 Dir->setUpdates(Exprs.Updates); in Create()
450 Dir->setUpdates(Exprs.Updates); in Create()
495 Dir->setUpdates(Exprs.Updates); in Create()
788 Dir->setUpdates(Exprs.Updates); in Create()
892 Dir->setUpdates(Exprs.Updates); in Create()
937 Dir->setUpdates(Exprs.Updates); in Create()
980 Dir->setUpdates(Exprs.Updates); in Create()
1025 Dir->setUpdates(Exprs.Updates); in Create()
[all …]

12345678