llvm-project/llvm/unittests/CodeGen
Alexey Lapshin 554aea52d7 [reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef.
This review is extracted from D96035.

This patch adds possibility to keep not only DwarfStringPoolEntry, but also
pointer to it. The DwarfStringPoolEntryRef keeps reference to the string map entry.
String map keeps string data and corresponding DwarfStringPoolEntry
info. Not all string map entries may be included into the result,
and then not all string entries should have DwarfStringPoolEntry
info. Currently StringMap keeps DwarfStringPoolEntry for all entries.
It leads to extra memory usage. This patch allows to keep
DwarfStringPoolEntry info only for entries which really need it.

[reland] : make msan happy.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D126883
2022-07-01 20:08:09 +03:00
..
GlobalISel Revert "Don't use Optional::hasValue (NFC)" 2022-06-25 11:56:50 -07:00
AArch64SelectionDAGTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
AMDGPUMetadataTest.cpp Cleanup includes: LLVMTarget 2022-03-10 10:00:29 +01:00
AllocationOrderTest.cpp
AsmPrinterDwarfTest.cpp [MC] De-capitalize SwitchSection. NFC 2022-06-10 22:50:55 -07:00
CMakeLists.txt [reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef. 2022-07-01 20:08:09 +03:00
DIEHashTest.cpp [Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef - remove isIndexed(). 2022-06-05 21:18:31 +03:00
DIETest.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DwarfStringPoolEntryRefTest.cpp [reland][Debuginfo][DWARF][NFC] Refactor DwarfStringPoolEntryRef. 2022-07-01 20:08:09 +03:00
InstrRefLDVTest.cpp Reapply D124184, [DebugInfo][InstrRef] Add a size operand to DBG_PHI 2022-04-26 15:49:22 +01:00
LexicalScopesTest.cpp [Codegen][tablgen][NFC] Allow meta instruction to be target dependent 2022-03-18 13:09:01 +08:00
LowLevelTypeTest.cpp GlobalISel: Add LLT helper to multiply vector sizes 2022-04-19 21:04:32 -04:00
MFCommon.inc
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MachineOperandTest.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
PassManagerTest.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
RegAllocScoreTest.cpp Fix MSVC "not all control paths return a value" warning. NFC. 2021-12-07 18:09:44 +00:00
ScalableVectorMVTsTest.cpp [llvm] Add enum iteration to Sequence 2021-07-21 12:48:53 +00:00
SelectionDAGAddressAnalysisTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TargetOptionsTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
TestAsmPrinter.h [MC] Lower case the first letter of EmitCOFF* EmitWin* EmitCV*. NFC 2022-05-26 00:14:08 -07:00
TypeTraitsTest.cpp