llvm-project/llvm/unittests/CodeGen
Jeremy Morse ab49dce01f [DebugInfo][InstrRef][NFC] Use unique_ptr instead of raw pointers
InstrRefBasedLDV allocates some big tables of ValueIDNum, to store live-in
and live-out block values in, that then get passed around as pointers
everywhere. This patch wraps the allocation in a std::unique_ptr, names
some types based on unique_ptr, and passes references to those around
instead. There's no functional change, but it makes it clearer to the
reader that references to these tables are borrowed rather than owned, and
we get some extra validity assertions too.

Differential Revision: https://reviews.llvm.org/D118774
2022-03-01 12:49:50 +00:00
..
GlobalISel
AArch64SelectionDAGTest.cpp
AMDGPUMetadataTest.cpp [AMDGPU] Lazily init pal metadata on first function 2022-02-04 18:39:35 +01:00
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
CMakeLists.txt [AMDGPU] Lazily init pal metadata on first function 2022-02-04 18:39:35 +01:00
DIEHashTest.cpp
DIETest.cpp
InstrRefLDVTest.cpp [DebugInfo][InstrRef][NFC] Use unique_ptr instead of raw pointers 2022-03-01 12:49:50 +00:00
LexicalScopesTest.cpp
LowLevelTypeTest.cpp
MFCommon.inc
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp
MachineOperandTest.cpp
PassManagerTest.cpp
RegAllocScoreTest.cpp
ScalableVectorMVTsTest.cpp
SelectionDAGAddressAnalysisTest.cpp
TargetOptionsTest.cpp
TestAsmPrinter.cpp
TestAsmPrinter.h
TypeTraitsTest.cpp