llvm-project/llvm/unittests
Arthur Eubanks 0cd27cdc3a [PassTimingInfo] Stop double (or worse) counting passes/analyses
If we nest timers, we end up double counting anything nested.

The most egregious is ModuleInlinerWrapperPass/DevirtSCCRepeatedPass showing up as >20% of the total time when they're just wrappers.

Analyses also end up getting counted multiple times because they're nested inside wrappers and passes.

Ignore ModuleInlinerWrapperPass/DevirtSCCRepeatedPass and put analyses into their own TimerGroup.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D135219
2022-10-13 09:12:12 -07:00
..
ADT [ADT] Add support for more formats in APFixedPoint 2022-10-06 17:55:31 +02:00
Analysis [AA] Update unit test missed in previous commit (NFC) 2022-10-06 10:28:05 +02:00
AsmParser [AsmParserTest] Avoid pointer element type accesses (NFC) 2022-01-25 14:31:51 +01:00
BinaryFormat [llvm] Use has_value instead of hasValue (NFC) 2022-07-12 22:25:42 -07:00
Bitcode [X86][MS] Change the alignment of f80 to 16 bytes on Windows 32bits to match with ICC 2022-01-23 09:58:46 +08:00
Bitstream
CodeGen [SDAG] Treat DemandedElts argument to isSplatVector as splat for scalable vectors [nfc] 2022-10-11 09:49:28 -07:00
DebugInfo Revert "Remove the dependency between lib/DebugInfoDWARF and MC." 2022-10-06 14:58:34 -07:00
Debuginfod [llvm] [Debuginfod] Add HTTP Server to Debuginfod library. 2022-07-06 18:56:54 +00:00
Demangle [demangler] No need to space adjacent template closings 2022-05-09 06:14:44 -07:00
ExecutionEngine [ORC][JITLink] Move MemoryFlags.h (MemProt, AllocGroup,...) from JITLink to ORC. 2022-10-03 19:35:34 -07:00
FileCheck [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Frontend [OpenMP][OMPIRBuilder] Remove calls to dump in test 2022-10-07 08:11:21 -05:00
FuzzMutate Revert "[FuzzMutate] Don't insert instructions after musttail call" 2022-03-16 17:29:27 +01:00
IR [PassTimingInfo] Stop double (or worse) counting passes/analyses 2022-10-13 09:12:12 -07:00
InterfaceStub [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
LineEditor
Linker Revert "[OpenMP][NFC] Add missing virtual destructor to silence warning" 2022-03-25 16:07:11 -05:00
MC [MCDwarf] Use emplace to avoid move assignment. NFC 2022-08-12 05:05:49 +00:00
MI [LiveIntervals] Find better anchoring end points when repairing ranges 2022-07-18 19:34:43 +01:00
MIR Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00
ObjCopy Fix for buildbot failure: https://lab.llvm.org/buildbot#builders/110/builds/11051 2022-03-09 14:26:46 +03:00
Object [LoongArch] Define the new-style reloc types 2022-08-11 10:37:30 +08:00
ObjectYAML [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Option
Passes Remove unnecessary includes of ManagedStatic.h 2022-07-07 14:29:20 +02:00
ProfileData [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
Remarks Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
Support [AArch64] Add SME 2 target feature for Armv8-A and Armv9-A 2022 Architecture Extension 2022-10-13 11:28:08 +01:00
TableGen [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Target [DirectX backend] Support global ctor for DXILBitcodeWriter. 2022-09-30 11:27:23 -07:00
Testing [llvm][Testing/ADT] Implement `IsStringMapEntry` testing matcher for verifying the entries in a `StringMap`. 2022-09-01 17:30:41 +00:00
TextAPI Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
Transforms [IntegerDivision][AMDGPU] Use CreateLogicalOr to block poison propagation. 2022-09-15 09:38:02 -07:00
XRay
tools Re-land "[llvm-exegesis] Support analyzing results from a different target." 2022-09-22 11:39:52 +02:00
CMakeLists.txt [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
unittest.cfg.in