mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
Rename inst_range() to instructions() for consistency. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -159,7 +159,7 @@ private:
|
||||
void DivergencePropagator::populateWithSourcesOfDivergence() {
|
||||
Worklist.clear();
|
||||
DV.clear();
|
||||
for (auto &I : inst_range(F)) {
|
||||
for (auto &I : instructions(F)) {
|
||||
if (TTI.isSourceOfDivergence(&I)) {
|
||||
Worklist.push_back(&I);
|
||||
DV.insert(&I);
|
||||
@@ -329,8 +329,8 @@ void DivergenceAnalysis::print(raw_ostream &OS, const Module *) const {
|
||||
if (DivergentValues.count(&Arg))
|
||||
OS << "DIVERGENT: " << Arg << "\n";
|
||||
}
|
||||
// Iterate instructions using inst_range to ensure a deterministic order.
|
||||
for (auto &I : inst_range(F)) {
|
||||
// Iterate instructions using instructions() to ensure a deterministic order.
|
||||
for (auto &I : instructions(F)) {
|
||||
if (DivergentValues.count(&I))
|
||||
OS << "DIVERGENT:" << I << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user