serge-sans-paille
71c3a5519d
Cleanup includes: LLVMAnalysis
...
Number of lines output by preprocessor:
before: 1065940348
after: 1065307662
Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D120659
2022-03-01 18:01:54 +01:00
Tarindu Jayatilaka
06283661b3
Add new function properties to FunctionPropertiesAnalysis
...
Added LoadInstCount, StoreInstCount, MaxLoopDepth, LoopCount
Reviewed By: jdoerfert, mtrofin
Differential Revision: https://reviews.llvm.org/D82283
2020-07-23 12:46:47 -07:00
Tarindu Jayatilaka
ee6f0e109c
Add a Printer to the FunctionPropertiesAnalysis
...
A printer pass and a lit test case was added.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D82523
2020-07-23 11:57:11 -07:00
Tarindu Jayatilaka
2f56046d7c
Refactor FunctionPropertiesAnalysis
...
this separates `analyze` logic from `FunctionPropertiesAnalysis`
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D82521
2020-07-23 11:49:10 -07:00
Tarindu Jayatilaka
418121c30a
Reapply "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis"
...
(This reverts commit a5e0194709
, and
corrects author).
Rename the pass to be able to extend it to function properties other than inliner features.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D82044
2020-07-22 10:07:35 -07:00
Mircea Trofin
a5e0194709
Revert "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis"
...
This reverts commit 44a6bda19b
. I forgot
to correctly attibute it to tarinduj. Fixing and resubmitting.
2020-07-22 09:42:17 -07:00
Mircea Trofin
44a6bda19b
Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis
...
Rename the pass to be able to extend it to function properties other than inliner features.
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D82044
2020-07-22 09:24:15 -07:00