[all-commits] [llvm/llvm-project] aeb36a: [ORC] Port CallableTraitsHelper from the new ORC r...

Lang Hames via All-commits all-commits at lists.llvm.org
Wed Dec 3 03:03:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeb36a92523427b63466555d92b35bd3aa26ee40
      https://github.com/llvm/llvm-project/commit/aeb36a92523427b63466555d92b35bd3aa26ee40
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-12-03 (Wed, 03 Dec 2025)

  Changed paths:
    A llvm/include/llvm/ExecutionEngine/Orc/CallableTraitsHelper.h
    M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
    A llvm/unittests/ExecutionEngine/Orc/CallableTraitsHelperTest.cpp

  Log Message:
  -----------
  [ORC] Port CallableTraitsHelper from the new ORC runtime. (#170441)

The code for this commit was taken with minimal modification to fit LLVM
style from llvm-project/orc-rt/include/CallableTraitsHelper.h and
llvm-project/orc-rt/unittests/CallableTraitsHelperTest.cpp (originally
commited in 40fce325011)

CallableTraitsHelper identifies the return type and argument types of a
callable type and passes those to an implementation class template to
operate on. E.g. the CallableArgInfoImpl class exposes these types as
typedefs.

Porting CallableTraitsHelper from the new ORC runtime will allow us to
simplify existing and upcoming "callable-traits" classes in ORC.



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