reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/IR/CFGBuilder.cpp
  129 Optional<CFGBuilder::Update> CFGBuilder::getNextUpdate() const {
  135 Optional<CFGBuilder::Update> CFGBuilder::applyUpdate() {
  167   std::vector<CFGBuilder::Arc> Arcs = {{"entry", "a"}, {"a", "b"}, {"a", "c"},
  170   CFGBuilder B(Holder.F, Arcs, {});
  186   const auto Insert = CFGBuilder::ActionKind::Insert;
  187   std::vector<CFGBuilder::Update> Updates = {
  193   CFGBuilder B(Holder.F, {}, Updates);
  214   std::vector<CFGBuilder::Arc> Arcs = {
  216   const auto Delete = CFGBuilder::ActionKind::Delete;
  217   std::vector<CFGBuilder::Update> Updates = {
  222   CFGBuilder B(Holder.F, Arcs, Updates);
  248   std::vector<CFGBuilder::Arc> Arcs = {
  250   const auto Insert = CFGBuilder::ActionKind::Insert;
  251   const auto Delete = CFGBuilder::ActionKind::Delete;
  252   std::vector<CFGBuilder::Update> Updates = {
  258   CFGBuilder B(Holder.F, Arcs, Updates);
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   21 const auto CFGInsert = CFGBuilder::ActionKind::Insert;
   22 const auto CFGDelete = CFGBuilder::ActionKind::Delete;
   34 std::vector<DomUpdate> ToDomUpdates(CFGBuilder &B,
   35                                     std::vector<CFGBuilder::Update> &In) {
   49   CFGBuilder Builder(Holder.F, {{"A", "B"}}, {});
   72   CFGBuilder Builder(Holder.F, {{"A", "B"}}, {});
   95   CFGBuilder Builder(Holder.F, {{"A", "B"}}, {{CFGInsert, {"B", "C"}}});
  116   CFGBuilder Builder(Holder.F, {{"A", "B"}, {"B", "C"}},
  137   std::vector<CFGBuilder::Update> CFGUpdates = {{CFGInsert, {"B", "C"}},
  143   CFGBuilder Builder(Holder.F, {{"A", "B"}}, CFGUpdates);
  168   std::vector<CFGBuilder::Update> CFGUpdates = {{CFGDelete, {"B", "C"}},
  174   CFGBuilder Builder(
  195   std::vector<CFGBuilder::Arc> Arcs = {
  199   std::vector<CFGBuilder::Update> Updates = {
  208   CFGBuilder B(Holder.F, Arcs, Updates);
  225   std::vector<CFGBuilder::Arc> Arcs = {
  229   std::vector<CFGBuilder::Update> Updates = {
  241     CFGBuilder B(Holder.F, Arcs, Updates);
  261   std::vector<CFGBuilder::Arc> Arcs = {
  270   std::vector<CFGBuilder::Update> Updates = {
  274   CFGBuilder B(Holder.F, Arcs, Updates);
  291   std::vector<CFGBuilder::Arc> Arcs = {
  302   std::vector<CFGBuilder::Update> Updates = {
  307   CFGBuilder B(Holder.F, Arcs, Updates);
  324   std::vector<CFGBuilder::Arc> Arcs = {
  333   std::vector<CFGBuilder::Update> Updates = {
  337   CFGBuilder B(Holder.F, Arcs, Updates);
unittests/IR/DominatorTreeTest.cpp
  669 const auto Insert = CFGBuilder::ActionKind::Insert;
  670 const auto Delete = CFGBuilder::ActionKind::Delete;
  672 bool CompUpdates(const CFGBuilder::Update &A, const CFGBuilder::Update &B) {
  672 bool CompUpdates(const CFGBuilder::Update &A, const CFGBuilder::Update &B) {
  680   std::vector<CFGBuilder::Arc> Arcs = {
  684   std::vector<CFGBuilder::Update> Updates = {{Insert, {"12", "10"}},
  688   CFGBuilder B(Holder.F, Arcs, Updates);
  694   Optional<CFGBuilder::Update> LastUpdate;
  708   std::vector<CFGBuilder::Arc> Arcs = {
  713   std::vector<CFGBuilder::Update> Updates = {{Insert, {"10", "7"}}};
  714   CFGBuilder B(Holder.F, Arcs, Updates);
  720   Optional<CFGBuilder::Update> LastUpdate = B.applyUpdate();
  734   std::vector<CFGBuilder::Arc> Arcs = {{"1", "2"},  {"2", "3"},  {"3", "4"},
  738   std::vector<CFGBuilder::Update> Updates = {{Insert, {"4", "5"}},
  742   CFGBuilder B(Holder.F, Arcs, Updates);
  748   Optional<CFGBuilder::Update> LastUpdate;
  762   std::vector<CFGBuilder::Arc> Arcs = {{"1", "2"}, {"2", "3"}, {"3", "4"}};
  764   std::vector<CFGBuilder::Update> Updates = {{Insert, {"3", "5"}}};
  765   CFGBuilder B(Holder.F, Arcs, Updates);
  769   Optional<CFGBuilder::Update> LastUpdate = B.applyUpdate();
  785   std::vector<CFGBuilder::Arc> Arcs = {
  789   std::vector<CFGBuilder::Update> Updates = {
  793   CFGBuilder B(Holder.F, Arcs, Updates);
  799   Optional<CFGBuilder::Update> LastUpdate;
  812   std::vector<CFGBuilder::Arc> Arcs = {
  816   std::vector<CFGBuilder::Update> Updates = {{Insert, {"4", "5"}},
  823     CFGBuilder B(Holder.F, Arcs, Updates);
  829     Optional<CFGBuilder::Update> LastUpdate;
  844   std::vector<CFGBuilder::Arc> Arcs = {
  848   std::vector<CFGBuilder::Update> Updates = {
  850   CFGBuilder B(Holder.F, Arcs, Updates);
  856   Optional<CFGBuilder::Update> LastUpdate;
  870   std::vector<CFGBuilder::Arc> Arcs = {
  874   std::vector<CFGBuilder::Update> Updates = {
  876   CFGBuilder B(Holder.F, Arcs, Updates);
  882   Optional<CFGBuilder::Update> LastUpdate;
  895   std::vector<CFGBuilder::Arc> Arcs = {
  899   std::vector<CFGBuilder::Update> Updates = {
  906   CFGBuilder B(Holder.F, Arcs, Updates);
  912   Optional<CFGBuilder::Update> LastUpdate;
  930   std::vector<CFGBuilder::Arc> Arcs = {
  934   std::vector<CFGBuilder::Update> Updates = {
  944     CFGBuilder B(Holder.F, Arcs, Updates);
  950     Optional<CFGBuilder::Update> LastUpdate;
  969   std::vector<CFGBuilder::Arc> Arcs = {
  980   CFGBuilder B(Holder.F, Arcs, {{Insert, {"7", "23"}}});