[PATCH] D129120: ManagedStatic: remove many straightforward uses in llvm

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 02:15:55 PDT 2022


nhaehnle created this revision.
nhaehnle added reviewers: efriedma, lattner.
Herald added subscribers: jsji, mattd, gchakrabarti, pmatos, asb, asavonic, wenlei, pengfei, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: All.
nhaehnle requested review of this revision.
Herald added subscribers: aheejin, jholewinski.
Herald added a project: LLVM.

Bulk remove many of the more trivial uses of ManagedStatic in the llvm
directory, either by defining a new getter function or, in many cases,
moving the static variable directly into the only function that uses it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129120

Files:
  llvm/include/llvm/IR/OptBisect.h
  llvm/lib/Analysis/TFUtils.cpp
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
  llvm/lib/DebugInfo/MSF/MSFError.cpp
  llvm/lib/DebugInfo/PDB/DIA/DIAError.cpp
  llvm/lib/DebugInfo/PDB/GenericError.cpp
  llvm/lib/DebugInfo/PDB/Native/RawError.cpp
  llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp
  llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
  llvm/lib/ExecutionEngine/Orc/Shared/OrcError.cpp
  llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.cpp
  llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
  llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  llvm/lib/IR/Core.cpp
  llvm/lib/IR/LLVMContextImpl.cpp
  llvm/lib/IR/OptBisect.cpp
  llvm/lib/IR/PassRegistry.cpp
  llvm/lib/Object/Error.cpp
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
  llvm/lib/ProfileData/InstrProf.cpp
  llvm/lib/ProfileData/SampleProf.cpp
  llvm/lib/Support/Error.cpp
  llvm/lib/Support/Unix/Process.inc
  llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86InstrRelaxTables.cpp
  llvm/lib/Target/X86/X86EvexToVex.cpp
  llvm/lib/Target/X86/X86InstrFoldTables.cpp
  llvm/tools/llc/llc.cpp
  llvm/tools/llvm-xray/xray-registry.cpp
  llvm/unittests/Support/ErrorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129120.442221.patch
Type: text/x-patch
Size: 38910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220705/565a3917/attachment.bin>


More information about the llvm-commits mailing list