Skip to content

Commit a4cf7ef

Browse files
committed
Fix tags + clang-format
1 parent 076d475 commit a4cf7ef

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,7 +2834,7 @@ static Instruction *getSuccPad(Instruction *Terminator) {
28342834
}
28352835

28362836
void Verifier::verifySiblingFuncletUnwinds() {
2837-
llvm::TimeTraceScope timeTraceScope("Verifier verify sibling funclet unwinds");
2837+
llvm::TimeTraceScope timeScope("Verifier verify sibling funclet unwinds");
28382838
SmallPtrSet<Instruction *, 8> Visited;
28392839
SmallPtrSet<Instruction *, 8> Active;
28402840
for (const auto &Pair : SiblingFuncletInfo) {

llvm/lib/LTO/LTO.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ LTO::~LTO() = default;
631631
void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
632632
ArrayRef<SymbolResolution> Res,
633633
unsigned Partition, bool InSummary) {
634-
llvm::TimeTraceScope importScope("LTO add module to global resolution");
634+
llvm::TimeTraceScope timeScope("LTO add module to global resolution");
635635
auto *ResI = Res.begin();
636636
auto *ResE = Res.end();
637637
(void)ResE;
@@ -732,7 +732,7 @@ static void writeToResolutionFile(raw_ostream &OS, InputFile *Input,
732732

733733
Error LTO::add(std::unique_ptr<InputFile> Input,
734734
ArrayRef<SymbolResolution> Res) {
735-
llvm::TimeTraceScope importScope("LTO add input", Input->getName());
735+
llvm::TimeTraceScope timeScope("LTO add input", Input->getName());
736736
assert(!CalledGetMaxTasks);
737737

738738
if (Conf.ResolutionFile)
@@ -758,7 +758,7 @@ Error LTO::add(std::unique_ptr<InputFile> Input,
758758
Expected<ArrayRef<SymbolResolution>>
759759
LTO::addModule(InputFile &Input, ArrayRef<SymbolResolution> InputRes,
760760
unsigned ModI, ArrayRef<SymbolResolution> Res) {
761-
llvm::TimeTraceScope importScope("LTO add module", Input.getName());
761+
llvm::TimeTraceScope timeScope("LTO add module", Input.getName());
762762
Expected<BitcodeLTOInfo> LTOInfo = Input.Mods[ModI].getLTOInfo();
763763
if (!LTOInfo)
764764
return LTOInfo.takeError();
@@ -853,7 +853,7 @@ Expected<
853853
LTO::addRegularLTO(InputFile &Input, ArrayRef<SymbolResolution> InputRes,
854854
BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
855855
ArrayRef<SymbolResolution> Res) {
856-
llvm::TimeTraceScope importScope("LTO add regular LTO");
856+
llvm::TimeTraceScope timeScope("LTO add regular LTO");
857857
RegularLTOState::AddedModule Mod;
858858
Expected<std::unique_ptr<Module>> MOrErr =
859859
BM.getLazyModule(RegularLTO.Ctx, /*ShouldLazyLoadMetadata*/ true,
@@ -1028,7 +1028,7 @@ LTO::addRegularLTO(InputFile &Input, ArrayRef<SymbolResolution> InputRes,
10281028

10291029
Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod,
10301030
bool LivenessFromIndex) {
1031-
llvm::TimeTraceScope importScope("LTO link regular LTO");
1031+
llvm::TimeTraceScope timeScope("LTO link regular LTO");
10321032
std::vector<GlobalValue *> Keep;
10331033
for (GlobalValue *GV : Mod.Keep) {
10341034
if (LivenessFromIndex && !ThinLTO.CombinedIndex.isGUIDLive(GV->getGUID())) {
@@ -1068,7 +1068,7 @@ Error LTO::linkRegularLTO(RegularLTOState::AddedModule Mod,
10681068
Expected<ArrayRef<SymbolResolution>>
10691069
LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
10701070
ArrayRef<SymbolResolution> Res) {
1071-
llvm::TimeTraceScope importScope("LTO add thin LTO");
1071+
llvm::TimeTraceScope timeScope("LTO add thin LTO");
10721072
ArrayRef<SymbolResolution> ResTmp = Res;
10731073
for (const InputFile::Symbol &Sym : Syms) {
10741074
assert(!ResTmp.empty());
@@ -1258,7 +1258,7 @@ Error LTO::run(AddStreamFn AddStream, FileCache Cache) {
12581258

12591259
void lto::updateMemProfAttributes(Module &Mod,
12601260
const ModuleSummaryIndex &Index) {
1261-
llvm::TimeTraceScope importScope("LTO update memprof attributes");
1261+
llvm::TimeTraceScope timeScope("LTO update memprof attributes");
12621262
if (Index.withSupportsHotColdNew())
12631263
return;
12641264

llvm/lib/LTO/LTOBackend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream,
684684
return finalizeOptimizationRemarks(std::move(DiagnosticOutputFile));
685685

686686
auto ModuleLoader = [&](StringRef Identifier) {
687-
llvm::TimeTraceScope importScope("Module loader", Identifier);
687+
llvm::TimeTraceScope moduleLoaderScope("Module loader", Identifier);
688688
assert(Mod.getContext().isODRUniquingDebugTypes() &&
689689
"ODR Type uniquing should be enabled on the context");
690690
if (ModuleMap) {

llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ void llvm::updateVCallVisibilityInModule(
870870

871871
void llvm::updatePublicTypeTestCalls(Module &M,
872872
bool WholeProgramVisibilityEnabledInLTO) {
873-
llvm::TimeTraceScope importScope("Update public type test calls");
873+
llvm::TimeTraceScope timeScope("Update public type test calls");
874874
Function *PublicTypeTestFunc =
875875
Intrinsic::getDeclarationIfExists(&M, Intrinsic::public_type_test);
876876
if (!PublicTypeTestFunc)

0 commit comments

Comments
 (0)