[PATCH] D107746: Function Annotation with Function Attributes

Tarindu Jayatilaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 9 01:06:47 PDT 2021


tarinduj created this revision.
tarinduj added reviewers: mtrofin, jdoerfert, uenoku.
Herald added subscribers: hiraditya, mgorny.
tarinduj requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This pass provides an interface to annotate functions in the IR level, with predetermined function attributes. The attribute name and an input CSV file containing the attribute values for each function should be provided to the pass.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107746

Files:
  llvm/include/llvm/Analysis/FunctionAnnotation.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/FunctionAnnotation.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Analysis/FunctionAnnotation/Inputs/matmul-look-up-table.csv
  llvm/test/Analysis/FunctionAnnotation/matmul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107746.365117.patch
Type: text/x-patch
Size: 11223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210809/5a961d9f/attachment.bin>


More information about the llvm-commits mailing list