[PATCH] D107111: [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids

Necip Fazil Yildiran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 14:42:41 PDT 2021


necipfazil created this revision.
Herald added subscribers: pengfei, atanasyan, jrtc27, hiraditya, sdardis, MatzeB.
necipfazil requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Extract numeric type ids for indirect calls, and carry them to the back-end
with CallSiteInfo. The numeric type ids will be used at the back-end to emit
the call graph section.

Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html
Updated RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-July/151739.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107111

Files:
  llvm/include/llvm/CodeGen/MachineFunction.h
  llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/Mips/MipsISelLowering.cpp
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/AArch64/call-site-info-typeid.ll
  llvm/test/CodeGen/ARM/call-site-info-typeid.ll
  llvm/test/CodeGen/MIR/X86/call-site-info-typeid.ll
  llvm/test/CodeGen/Mips/call-site-info-typeid.ll
  llvm/test/CodeGen/X86/call-site-info-typeid.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107111.362891.patch
Type: text/x-patch
Size: 17832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/2470c425/attachment.bin>


More information about the llvm-commits mailing list