aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-01-10[llvm] Ensure newlines at the end of files (NFC)Kazu Hirata1-1/+1
This patch eliminates pesky "No newline at end of file" messages from git diff.
2020-07-23Use llvm::size rather than an empty loop to get the number of topEric Christopher1-3/+1
level loops.
2020-07-23Add new function properties to FunctionPropertiesAnalysisTarindu Jayatilaka1-3/+22
Added LoadInstCount, StoreInstCount, MaxLoopDepth, LoopCount Reviewed By: jdoerfert, mtrofin Differential Revision: https://reviews.llvm.org/D82283
2020-07-23Add a Printer to the FunctionPropertiesAnalysisTarindu Jayatilaka1-3/+21
A printer pass and a lit test case was added. Reviewed By: mtrofin Differential Revision: https://reviews.llvm.org/D82523
2020-07-23Refactor FunctionPropertiesAnalysisTarindu Jayatilaka1-14/+25
this separates `analyze` logic from `FunctionPropertiesAnalysis` Reviewed By: mtrofin Differential Revision: https://reviews.llvm.org/D82521
2020-07-22Reapply "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis"Tarindu Jayatilaka1-0/+42
(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-22Revert "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis"Mircea Trofin1-42/+0
This reverts commit 44a6bda19b40f2dfcbe92fc3d58bb6276c71ef78. I forgot to correctly attibute it to tarinduj. Fixing and resubmitting.
2020-07-22Rename InlineFeatureAnalysis to FunctionPropertiesAnalysisMircea Trofin1-0/+42
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