llvm/IR/Function.h and llvm/IR/Instructions.h were identified as quiet heavy by clang build analyzer.
Removing includes and forward declaring the relevant classes saves compilation time.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Paths
| Differential D120209
[Transforms] Forward declare classes & remove includes AbandonedPublic Authored by clemenswasser on Feb 20 2022, 6:29 AM.
Details
Summary llvm/IR/Function.h and llvm/IR/Instructions.h were identified as quiet heavy by clang build analyzer.
Diff Detail Event Timelineclemenswasser added a child revision: D120210: [Analysis] Forward declare classes & remove includes.Feb 20 2022, 7:53 AM
Revision Contents
Diff 410153 llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h
llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h
llvm/include/llvm/Transforms/Scalar/BDCE.h
llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h
llvm/include/llvm/Transforms/Scalar/DCE.h
llvm/include/llvm/Transforms/Scalar/DFAJumpThreading.h
llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h
llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
llvm/include/llvm/Transforms/Scalar/Sink.h
llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h
llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h
llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h
llvm/include/llvm/Transforms/Utils/GlobalStatus.h
llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h
llvm/lib/Transforms/ObjCARC/DependencyAnalysis.cpp
llvm/lib/Transforms/ObjCARC/ObjCARC.h
llvm/lib/Transforms/ObjCARC/ObjCARC.cpp
llvm/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp
llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
llvm/lib/Transforms/Utils/GlobalStatus.cpp
llvm/lib/Transforms/Utils/GuardUtils.cpp
llvm/lib/Transforms/Utils/IntegerDivision.cpp
|