repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Split large truncating MVE stores
[llvm-complete.git]
/
test
/
TableGen
/
Tree.td
blob
5190b96fcce1973aacb23a4131ac8040249957bd
1
// This tests to make sure we can parse tree patterns.
2
// RUN: llvm-tblgen %s
3
// XFAIL: vg_leak
4
5
class TreeNode;
6
class RegisterClass;
7
8
def set : TreeNode;
9
def plus : TreeNode;
10
def imm : TreeNode;
11
def R32 : RegisterClass;
12
13
class Inst<dag T> {
14
dag Pattern = T;
15
}
16
17
def ADDrr32 : Inst<(set R32, (plus R32, R32))>; // a = b + c
18
def ADDri32 : Inst<(set R32, (plus R32, imm))>; // a = b + imm
19