repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
TableGen
/
TreeNames.td
blob
05a3298adb7f6a4ff236015334a61d9f8e2bf303
1
// This tests to make sure we can parse tree patterns with names.
2
// RUN: tblgen %s
3
4
class TreeNode;
5
class RegisterClass;
6
7
def set : TreeNode;
8
def plus : TreeNode;
9
def imm : TreeNode;
10
def R32 : RegisterClass;
11
12
class Inst<dag T> {
13
dag Pattern = T;
14
}
15
16
def ADDrr32 : Inst<(set R32, (plus R32:$A, R32:$def))>;
17