[PATCH] D132286: [clang][Interp] Implement function calls

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 20 02:11:17 PDT 2022


tbaeder created this revision.
tbaeder added reviewers: erichkeane, aaron.ballman, shafik, tahonermann.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Add a `Call` op and use the existing infrastructure for parameters and return values.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132286

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/ByteCodeExprGen.h
  clang/lib/AST/Interp/Context.h
  clang/lib/AST/Interp/EvalEmitter.cpp
  clang/lib/AST/Interp/Function.h
  clang/lib/AST/Interp/Interp.cpp
  clang/lib/AST/Interp/InterpFrame.cpp
  clang/lib/AST/Interp/Opcodes.td
  clang/lib/AST/Interp/PrimType.h
  clang/test/AST/Interp/functions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132286.454182.patch
Type: text/x-patch
Size: 7832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220820/a874930d/attachment.bin>


More information about the cfe-commits mailing list