s/tblgen/llvm-tblgen/g in a few missed places, including the tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne 2011-10-06 13:39:59 +00:00
parent 6d1409dcc5
commit 5d5c0624d0
54 changed files with 65 additions and 65 deletions

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class test<code C> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | grep -- 4294901760
// RUN: llvm-tblgen %s | grep -- 4294901760
// XFAIL: vg_leak
def X {

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen < %s
// RUN: llvm-tblgen < %s
// XFAIL: vg_leak
class foo<int X> { int THEVAL = X; }

View File

@ -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

View File

@ -1,6 +1,6 @@
// Test that multiline, nested, comments work correctly.
//
// RUN: tblgen < %s
// RUN: llvm-tblgen < %s
// XFAIL: vg_leak
/* Foo

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
//===----------------------------------------------------------------------===//

View File

@ -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> {

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class Bla<string t>

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s -o -
// RUN: llvm-tblgen %s -o -
// XFAIL: vg_leak
class bar {

View File

@ -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

View File

@ -1,4 +1,4 @@
// RUN: tblgen -I %p %s
// RUN: llvm-tblgen -I %p %s
// XFAIL: vg_leak
def BeforeInclude;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
def {
bit A = 1;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | grep {int Y = 3}
// RUN: llvm-tblgen %s | grep {int Y = 3}
// XFAIL: vg_leak
class C {

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class B<list<int> v> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class B<int v> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class A;
class B : A;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class Bli<string _t>

View File

@ -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;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
def A {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
class Base<list<int> v> {
list<int> values = v;

View File

@ -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> {

View File

@ -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> {

View File

@ -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> {

View File

@ -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;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
class ValueType<int size, int value> {
int Size = size;

View File

@ -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

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class x {
string y = "missing terminating '\"' character";

View File

@ -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.

View File

@ -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.

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
// Make sure there is no collision between XX and XX.

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s
// RUN: llvm-tblgen %s
// XFAIL: vg_leak
class x {
field bits<32> A;

View File

@ -1,4 +1,4 @@
// RUN: not tblgen < %s >& /dev/null
// RUN: not llvm-tblgen < %s >& /dev/null
def x;

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
class XD { bits<4> Prefix = 11; }

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: Value = 0
// CHECK: Value = 1

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: a = 6
// CHECK: a = 5

View File

@ -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

View File

@ -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.

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: a = 6
// CHECK: a = 5

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | grep {}
// RUN: llvm-tblgen %s | grep {}
// XFAIL: vg_leak
class List<list<string> n> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen < %s
// RUN: llvm-tblgen < %s
// XFAIL: vg_leak
/* foo

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | grep fufoo
// RUN: llvm-tblgen %s | grep fufoo
// XFAIL: vg_leak
class Y<string S> {

View File

@ -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> {

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
// CHECK: No subst
// CHECK: No foo

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | FileCheck %s
// RUN: llvm-tblgen %s | FileCheck %s
// XFAIL: vg_leak
class Instr<list<dag> pat> {

View File

@ -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

View File

@ -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