[PATCH] D81716: Extend InlineFeatureAnalysis to more extract generic code features

Tarindu Jayatilaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 23:57:43 PDT 2020


tarinduj created this revision.
tarinduj added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.
tarinduj retitled this revision from "Extend InlineFeatureAnalysis to extract generic code features" to "Extend InlineFeatureAnalysis to more extract generic code features".

This patch extends the InlineFeatureAnalysis pass adds a printer pass to it. Planning to add the ability extract more code features including #loops, loop depth, types of instructions, etc.


https://reviews.llvm.org/D81716

Files:
  llvm/include/llvm/Analysis/ML/CodeFeaturesAnalysis.h
  llvm/lib/Analysis/ML/CMakeLists.txt
  llvm/lib/Analysis/ML/CodeFeaturesAnalysis.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81716.270309.patch
Type: text/x-patch
Size: 5981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200612/88ab35d3/attachment.bin>


More information about the llvm-commits mailing list