[all-commits] [llvm/llvm-project] 921c6d: [llvm] Introduce callee_type metadata

Prabhu Rajasekaran via All-commits all-commits at lists.llvm.org
Fri Jul 18 14:41:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 921c6dbecaf49e3ed24b94802f094cd7f61f1873
      https://github.com/llvm/llvm-project/commit/921c6dbecaf49e3ed24b94802f094cd7f61f1873
  Author: Prabhu Rajasekaran <prabhukr at google.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    A llvm/docs/CalleeTypeMetadata.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/Reference.rst
    M llvm/include/llvm/IR/FixedMetadataKinds.def
    M llvm/include/llvm/IR/Metadata.h
    M llvm/lib/IR/Metadata.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/ValueMapper.cpp
    A llvm/test/Assembler/callee-type-metadata.ll
    A llvm/test/Transforms/Inline/drop-callee-type-metadata.ll
    A llvm/test/Transforms/InstCombine/drop-callee-type-metadata.ll
    A llvm/test/Transforms/SimplifyCFG/merge-callee-type-metadata.ll
    A llvm/test/Verifier/callee-type-metadata.ll

  Log Message:
  -----------
  [llvm] Introduce callee_type metadata

Introduce `callee_type` metadata which will be attached to the indirect
call instructions.

The `callee_type` metadata will be used to generate `.callgraph` section
described in this RFC:
https://lists.llvm.org/pipermail/llvm-dev/2021-July/151739.html

Reviewers: morehouse, petrhosek, nikic, ilovepi

Reviewed By: nikic, ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/87573



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list