[llvm-exegesis] Rename InstructionInstance into InstructionBuilder.
Summary: Non functional change.
Subscribers: tschuett, courbet, llvm-commits
Differential Revision: https://reviews.llvm.org/D50176
llvm-svn: 338701
diff --git a/llvm/tools/llvm-exegesis/lib/Latency.cpp b/llvm/tools/llvm-exegesis/lib/Latency.cpp
index 731efbf..12bc8cd 100644
--- a/llvm/tools/llvm-exegesis/lib/Latency.cpp
+++ b/llvm/tools/llvm-exegesis/lib/Latency.cpp
@@ -62,18 +62,18 @@
const AliasingConfigurations Back(OtherInstr, Instr);
if (Forward.empty() || Back.empty())
continue;
- InstructionInstance ThisII(Instr);
- InstructionInstance OtherII(OtherInstr);
+ InstructionBuilder ThisIB(Instr);
+ InstructionBuilder OtherIB(OtherInstr);
if (!Forward.hasImplicitAliasing())
- setRandomAliasing(Forward, ThisII, OtherII);
+ setRandomAliasing(Forward, ThisIB, OtherIB);
if (!Back.hasImplicitAliasing())
- setRandomAliasing(Back, OtherII, ThisII);
+ setRandomAliasing(Back, OtherIB, ThisIB);
SnippetPrototype Prototype;
Prototype.Explanation =
llvm::formatv("creating cycle through {0}.",
State.getInstrInfo().getName(OtherOpcode));
- Prototype.Snippet.push_back(std::move(ThisII));
- Prototype.Snippet.push_back(std::move(OtherII));
+ Prototype.Snippet.push_back(std::move(ThisIB));
+ Prototype.Snippet.push_back(std::move(OtherIB));
return std::move(Prototype);
}
return llvm::make_error<BenchmarkFailure>(