[PATCH] D14305: [IR] Add a "parameters" abstraction

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 14:06:57 PST 2015


sanjoy created this revision.
sanjoy added reviewers: reames, chandlerc, majnemer.
sanjoy added a subscriber: llvm-commits.

Parameters of a call or invoke consist of the call arguments, and the
bundle operands associated with the call (or invokeE) instruction.  The
motivation for this change is that we'd like to be able to query
"argument attributes" like `readonly` and `nocapture` for bundle
operands naturally.

This change also provides a conservative "implementation" for these
attributes for any bundle operand, and an extension point for future
work.

http://reviews.llvm.org/D14305

Files:
  include/llvm/IR/CallSite.h
  include/llvm/IR/InstrTypes.h
  lib/IR/Instructions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14305.39117.patch
Type: text/x-patch
Size: 6013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151103/d7ec1222/attachment.bin>


More information about the llvm-commits mailing list