[all-commits] [llvm/llvm-project] 3abcbf: [CFG/BasicBlock] Rename succ_const to const_succ. ...

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Wed Mar 25 12:41:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3abcbf9903e113093da39e4e5ed226e9cded5e76
      https://github.com/llvm/llvm-project/commit/3abcbf9903e113093da39e4e5ed226e9cded5e76
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
    M llvm/include/llvm/Analysis/CFGPrinter.h
    M llvm/include/llvm/IR/CFG.h
    M llvm/lib/Analysis/BlockFrequencyInfo.cpp
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/lib/Analysis/CFG.cpp
    M llvm/lib/Analysis/SyncDependenceAnalysis.cpp
    M llvm/lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/unittests/IR/CFGBuilder.cpp

  Log Message:
  -----------
  [CFG/BasicBlock] Rename succ_const to const_succ. [NFC]

Summary:
Rename `succ_const_iterator` to `const_succ_iterator` and
`succ_const_range` to `const_succ_range` for consistency with the
predecessor iterators, and the corresponding iterators in
MachineBasicBlock.

Reviewers: nicholas, dblaikie, nlewycky

Subscribers: hiraditya, bmahjour, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75952


  Commit: b539f18c565656cdd49fc0c37efbaa8e584b2d65
      https://github.com/llvm/llvm-project/commit/b539f18c565656cdd49fc0c37efbaa8e584b2d65
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/CFG.h

  Log Message:
  -----------
  [CFG/BasicBlock] Rename pred_const to const_pred. [NFC]

Summary:
Rename `pred_const_range` to `const_pred_range` to make it consistent with
the other pred/succ iterator definitions.

Reviewers: nicholas, dblaikie, nlewycky

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75962


Compare: https://github.com/llvm/llvm-project/compare/fe5c719eaf57...b539f18c5656


More information about the All-commits mailing list