Kazu Hirata
e3d3dbd339
[llvm] Ensure newlines at the end of files (NFC)
...
This patch eliminates pesky "No newline at end of file" messages from
git diff.
2021-01-10 09:24:57 -08:00
Eric Christopher
3ac828b8f7
Use llvm::size rather than an empty loop to get the number of top
...
level loops.
2020-07-23 14:55:50 -07: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 a5e0194709c40212694370e0ea789a1ca14548b5, 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 44a6bda19b40f2dfcbe92fc3d58bb6276c71ef78. 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