forked from OSchip/llvm-project
s/tblgen/llvm-tblgen/g in a few missed places, including the tests
llvm-svn: 141294
This commit is contained in:
parent
51eaba7a54
commit
7f7f2e9b76
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class test<code C> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep -- 4294901760
|
||||
// RUN: llvm-tblgen %s | grep -- 4294901760
|
||||
// XFAIL: vg_leak
|
||||
|
||||
def X {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class A<int k, bits<2> x = 1> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen < %s
|
||||
// RUN: llvm-tblgen < %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class foo<int X> { int THEVAL = X; }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: not tblgen %s 2> /dev/null
|
||||
// RUN: not llvm-tblgen %s 2> /dev/null
|
||||
|
||||
def {
|
||||
bits<2> X = 5; // bitfield is too small, reject
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Test that multiline, nested, comments work correctly.
|
||||
//
|
||||
// RUN: tblgen < %s
|
||||
// RUN: llvm-tblgen < %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
/* Foo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {zing = 4} | count 4
|
||||
// RUN: llvm-tblgen %s | grep {zing = 4} | count 4
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class C1<int A, string B> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep ADDPSrr | count 1
|
||||
// RUN: llvm-tblgen %s | grep ADDPSrr | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Instruction<bits<4> opc, string Name> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Bla<string t>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s -o -
|
||||
// RUN: llvm-tblgen %s -o -
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class bar {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
//
|
||||
// Test to make sure that lists work with any data-type
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen -I %p %s
|
||||
// RUN: llvm-tblgen -I %p %s
|
||||
// XFAIL: vg_leak
|
||||
def BeforeInclude;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
def {
|
||||
bit A = 1;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {int Y = 3}
|
||||
// RUN: llvm-tblgen %s | grep {int Y = 3}
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class C {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep "bit IsDouble = 1;" | count 3
|
||||
// RUN: llvm-tblgen %s | grep "bit IsDouble = 1;" | count 3
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Instruction<bits<4> opc, string Name> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class B<list<int> v> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class B<int v> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
class A;
|
||||
class B : A;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Bli<string _t>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN tblgen %s | FileCheck %s
|
||||
// RUN llvm-tblgen %s | FileCheck %s
|
||||
|
||||
// RUN: tblgen %s | grep {foo} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {foo} | count 1
|
||||
|
||||
class Base<string t> {
|
||||
string text = t;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
def A {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
|
||||
class Base<list<int> v> {
|
||||
list<int> values = v;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {zing = 4} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {zing = 4} | count 2
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class C1<int A, string B> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep WorldHelloCC | count 1
|
||||
// RUN: llvm-tblgen %s | grep WorldHelloCC | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class C<string n> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {zing = 4} | count 28
|
||||
// RUN: llvm-tblgen %s | grep {zing = 4} | count 28
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class C1<int A, string B> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
|
||||
class Base<int i> {
|
||||
int value = i;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
int Size = size;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Test evaluation of set operations in dags.
|
||||
// RUN: tblgen -print-sets %s | FileCheck %s
|
||||
// RUN: llvm-tblgen -print-sets %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
//
|
||||
// The -print-sets driver configures a primitive SetTheory instance that
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// RUN: tblgen %s | grep {\\\[(set} | count 2
|
||||
// RUN: tblgen %s | grep {\\\[\\\]} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {\\\[(set} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {\\\[\\\]} | count 2
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
class x {
|
||||
string y = "missing terminating '\"' character";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen < %s
|
||||
// RUN: llvm-tblgen < %s
|
||||
// XFAIL: vg_leak
|
||||
// Test for template arguments that have the same name as superclass template
|
||||
// arguments.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// This test describes how we eventually want to describe instructions in
|
||||
// the target independent code generators.
|
||||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// Target indep stuff.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// RUN: tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_pd VR128:\$src1, VR128:\$src2))\\\]} | count 1
|
||||
// RUN: tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_ps VR128:\$src1, VR128:\$src2))\\\]} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_pd VR128:\$src1, VR128:\$src2))\\\]} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_ps VR128:\$src1, VR128:\$src2))\\\]} | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// Make sure there is no collision between XX and XX.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This tests to make sure we can parse tree patterns.
|
||||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class TreeNode;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This tests to make sure we can parse tree patterns with names.
|
||||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class TreeNode;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
class x {
|
||||
field bits<32> A;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: not tblgen < %s >& /dev/null
|
||||
// RUN: not llvm-tblgen < %s >& /dev/null
|
||||
|
||||
def x;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {add_ps} | count 3
|
||||
// RUN: llvm-tblgen %s | grep {add_ps} | count 3
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class XD { bits<4> Prefix = 11; }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: Value = 0
|
||||
// CHECK: Value = 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: a = 6
|
||||
// CHECK: a = 5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: tblgen %s | grep {Jr} | count 2
|
||||
// RUN: tblgen %s | grep {Sr} | count 2
|
||||
// RUN: tblgen %s | grep {NAME} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {Jr} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {Sr} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {NAME} | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// Variables for foreach
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// Support for an `!if' operator as part of a `let' statement.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: a = 6
|
||||
// CHECK: a = 5
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep {}
|
||||
// RUN: llvm-tblgen %s | grep {}
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class List<list<string> n> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen < %s
|
||||
// RUN: llvm-tblgen < %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
/* foo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | grep fufoo
|
||||
// RUN: llvm-tblgen %s | grep fufoo
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Y<string S> {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// RUN: tblgen %s | grep {Smith} | count 7
|
||||
// RUN: tblgen %s | grep {Johnson} | count 2
|
||||
// RUN: tblgen %s | grep {FIRST} | count 1
|
||||
// RUN: tblgen %s | grep {LAST} | count 1
|
||||
// RUN: tblgen %s | grep {TVAR} | count 2
|
||||
// RUN: tblgen %s | grep {Bogus} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {Smith} | count 7
|
||||
// RUN: llvm-tblgen %s | grep {Johnson} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {FIRST} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {LAST} | count 1
|
||||
// RUN: llvm-tblgen %s | grep {TVAR} | count 2
|
||||
// RUN: llvm-tblgen %s | grep {Bogus} | count 1
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Honorific<string t> {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: No subst
|
||||
// CHECK: No foo
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: tblgen %s | FileCheck %s
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Instr<list<dag> pat> {
|
||||
|
|
|
@ -111,7 +111,7 @@ proc substitute { line test tmpFile } {
|
|||
regsub -all {llvm-ranlib } $new_line "$valgrind llvm-ranlib " new_line
|
||||
regsub -all {([^a-zA-Z_-])opt } $new_line "\\1$valgrind opt " new_line
|
||||
regsub -all {^opt } $new_line "$valgrind opt " new_line
|
||||
regsub -all {tblgen } $new_line "$valgrind tblgen " new_line
|
||||
regsub -all {llvm-tblgen } $new_line "$valgrind llvm-tblgen " new_line
|
||||
regsub -all "not $valgrind " $new_line "$valgrind not " new_line
|
||||
|
||||
return $new_line
|
||||
|
|
|
@ -198,7 +198,7 @@ for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/|-)\bclang\b(?!-)",
|
|||
# Don't match '.opt', '-opt',
|
||||
# '^opt' or '/opt'.
|
||||
r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b",
|
||||
r"\btblgen\b", r"\bFileCheck\b",
|
||||
r"\bllvm-tblgen\b", r"\bFileCheck\b",
|
||||
r"\bFileUpdate\b", r"\bc-index-test\b",
|
||||
r"\bfpcmp\b", r"\bllvm-PerfectShuffle\b",
|
||||
# Handle these specially as they are strings searched
|
||||
|
|
Loading…
Reference in New Issue