aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2020-06-30 15:42:39 -0700
committerRiver Riddle <riddleriver@gmail.com>2020-06-30 15:52:32 -0700
commit9fbb2de8e475cbb4ffa71280eb2ddc4922af05f6 (patch)
tree40bacc7b9260f1cf87d4fa6a5a1259acae937651 /llvm/lib/CodeGen/ModuloSchedule.cpp
parentffa63dde8e97a34b8914a151556551f74d4227e7 (diff)
downloadllvm-9fbb2de8e475cbb4ffa71280eb2ddc4922af05f6.zip
llvm-9fbb2de8e475cbb4ffa71280eb2ddc4922af05f6.tar.gz
llvm-9fbb2de8e475cbb4ffa71280eb2ddc4922af05f6.tar.bz2
[mlir] Add support for defining Traits and Interfaces on Attributes/Types.
This revisions add mechanisms to Attribute/Type for attaching traits and interfaces. The mechanisms are modeled 1-1 after those for operations to keep the system consistent. AttrBase and TypeBase now accepts a trailing list of `Trait` types that will be attached to the object. These traits should inherit from AttributeTrait::TraitBase and TypeTrait::TraitBase respectively as necessary. A followup commit will refactor the interface gen mechanisms in ODS to support Attribute/Type interface generation and add tests for the mechanisms. Differential Revision: https://reviews.llvm.org/D81883
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions