| /external/llvm/test/MC/Disassembler/PowerPC/ |
| D | ppc64-encoding-ext.txt | 1 # RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s 4 # CHECK: bclr 12, 2 8 # CHECK: bclr 12, 6 12 # CHECK: bclr 12, 10 16 # CHECK: bclr 12, 14 20 # CHECK: bclr 12, 18 24 # CHECK: bclr 12, 22 28 # CHECK: bclr 12, 26 32 # CHECK: bclr 12, 30 35 # CHECK: bclr 12, 0 [all …]
|
| /external/clang/test/Index/ |
| D | c-index-api-loadTU-test.m | 1 // RUN: c-index-test -write-pch %t.ast -arch x86_64 -mmacosx-version-min=10.6 -fblocks -x objective… 2 // RUN: c-index-test -test-load-tu %t.ast all > %t 2>&1 && FileCheck --input-file=%t %s 3 // REQUIRES: x86-registered-target 8 - (void) __attribute__((ibaction)) myMessage:(id)msg; 9 - foo __attribute__((deprecated)); 21 - (int) catMethodWithFloat:(float) fArg; 22 - (float) floatMethod; 26 - pMethod; 30 - spMethod; 38 - (Foo *) bazMethod; [all …]
|
| D | c-index-getCursor-pp.c | 28 // RUN: c-index-test -cursor-at=%s:1:11 -I%S/Inputs %s | FileCheck -check-prefix=CHECK-1 %s 29 // CHECK-1: macro definition=OBSCURE 30 // RUN: c-index-test -cursor-at=%s:2:14 -I%S/Inputs %s | FileCheck -check-prefix=CHECK-2 %s 31 // CHECK-2: macro definition=DECORATION 32 // RUN: c-index-test -cursor-at=%s:5:7 -I%S/Inputs %s | FileCheck -check-prefix=CHECK-3 %s 33 // CHECK-3: macro expansion=OBSCURE:1:9 34 // RUN: c-index-test -cursor-at=%s:6:6 -I%S/Inputs %s | FileCheck -check-prefix=CHECK-4 %s 35 // CHECK-4: macro expansion=OBSCURE:1:9 36 // RUN: c-index-test -cursor-at=%s:6:19 -I%S/Inputs %s | FileCheck -check-prefix=CHECK-5 %s 37 // CHECK-5: macro expansion=DECORATION:2:9 [all …]
|
| D | complete-objc-message.m | 2 // matter in this test. 6 - protocolInstanceMethod : (int)value; 14 - instanceMethod1; 19 - categoryInstanceMethod; 29 - (int)MyInstMethod:(id)x second:(id)y; 34 - (int)MySubInstMethod; 46 - (int)MyInstMethod:(id)x second:(id)y { 50 - (int)MyPrivateInstMethod { 64 - (int)MySubInstMethod:(id)obj { 68 - (int)MyInstMethod:(id)x second:(id)y { [all …]
|
| D | annotate-tokens.c | 36 __attribute__((unavailable)) Int __attribute__((unavailable)) test() __attribute__((unavailable)); 66 void test() { in test() function 71 // RUN: c-index-test -test-annotate-tokens=%s:4:1:37:1 %s | FileCheck %s 72 // CHECK: Identifier: "T" [4:3 - 4:4] TypeRef=T:1:13 73 // CHECK: Punctuation: "*" [4:4 - 4:5] VarDecl=t_ptr:4:6 (Definition) 74 // CHECK: Identifier: "t_ptr" [4:6 - 4:11] VarDecl=t_ptr:4:6 (Definition) 75 // CHECK: Punctuation: "=" [4:12 - 4:13] VarDecl=t_ptr:4:6 (Definition) 76 // CHECK: Punctuation: "(" [4:14 - 4:15] CStyleCastExpr= 77 // CHECK: Identifier: "T" [4:15 - 4:16] TypeRef=T:1:13 78 // CHECK: Identifier: "ptr" [4:19 - 4:22] DeclRefExpr=ptr:3:14 [all …]
|
| /external/clang/test/CodeGen/ |
| D | ms-anonymous-struct.c | 1 // RUN: %clang_cc1 -fms-extensions -emit-llvm -o - %s | FileCheck %s 3 // CHECK: %struct.test = type { i32, %struct.nested2, i32 } 4 // CHECK: %struct.nested2 = type { i32, %struct.nested1, i32 } 5 // CHECK: %struct.nested1 = type { i32, i32 } 17 struct test { struct 26 // CHECK: %var = alloca %struct.test, align 4 in foo() argument 27 struct test var; in foo() 29 // CHECK: getelementptr inbounds %struct.test, %struct.test* %var, i32 0, i32 1 in foo() 30 // CHECK-NEXT: getelementptr inbounds %struct.nested2, %struct.nested2* %{{.*}}, i32 0, i32 0 in foo() 31 // CHECK-NEXT: load i32, i32* %{{.*}}, align 4 in foo() [all …]
|
| D | fp16-ops.c | 1 // REQUIRES: arm-registered-target 2 // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s --check-prefix=… 3 // RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-none-linux-gnueabi %s | FileCheck %s --check-pre… 4 …g_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi -fallow-half-arguments-and-returns %s | FileC… 5 …cc1 -emit-llvm -o - -triple aarch64-none-linux-gnueabi -fallow-half-arguments-and-returns %s | Fil… 6 // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi -fnative-half-type %s \ 7 // RUN: | FileCheck %s --check-prefix=NATIVE-HALF 8 // RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-none-linux-gnueabi -fnative-half-type %s \ 9 // RUN: | FileCheck %s --check-prefix=NATIVE-HALF 10 // RUN: %clang_cc1 -emit-llvm -o - -x renderscript %s \ [all …]
|
| /external/llvm/utils/lit/tests/ |
| D | discovery.py | 1 # Check the basic discovery process, including a sub-suite. 4 # RUN: -j 1 --debug --show-tests --show-suites \ 5 # RUN: -v > %t.out 2> %t.err 6 # RUN: FileCheck --check-prefix=CHECK-BASIC-OUT < %t.out %s 7 # RUN: FileCheck --check-prefix=CHECK-BASIC-ERR < %t.err %s 9 # CHECK-BASIC-ERR: loading suite config '{{.*}}/discovery/lit.cfg' 10 # CHECK-BASIC-ERR-DAG: loading suite config '{{.*}}/discovery/subsuite/lit.cfg' 11 # CHECK-BASIC-ERR-DAG: loading local config '{{.*}}/discovery/subdir/lit.local.cfg' 13 # CHECK-BASIC-OUT: -- Test Suites -- 14 # CHECK-BASIC-OUT: sub-suite - 2 tests [all …]
|
| /external/llvm/test/DebugInfo/ |
| D | llvm-symbolizer.test | 1 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400559" > %t.input 2 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64.debuglink 0x400559" >> %t.input 3 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400436" >> %t.input 4 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400528" >> %t.input 5 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400586" >> %t.input 6 RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input 7 RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input 8 RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input 9 RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x8dc" >> %t.input 10 RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0xa05" >> %t.input [all …]
|
| /external/ktfmt/core/src/test/java/com/facebook/ktfmt/kdoc/ |
| D | UtilitiesTest.kt | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 import org.junit.Test 26 @Test 28 fun check(newWithCaret: String, oldWithCaret: String) { in testFindSamePosition() method 31 assertThat(oldCaretIndex != -1).isTrue() in testFindSamePosition() 32 assertThat(newCaretIndex != -1).isTrue() in testFindSamePosition() 42 check("|/** Test\n Different Middle End */", "|/** Test2 End */") in testFindSamePosition() 43 check("/|** Test\n Different Middle End */", "/|** Test2 End */") in testFindSamePosition() 44 check("/*|* Test\n Different Middle End */", "/*|* Test2 End */") in testFindSamePosition() 45 check("/**| Test\n Different Middle End */", "/**| Test2 End */") in testFindSamePosition() [all …]
|
| /external/llvm/test/CodeGen/SystemZ/ |
| D | vec-move-09.ll | 1 ; Test vector insertion of constants. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test v16i8 insertion into the first element. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vleib %v24, 0, 0 9 ; CHECK: br %r14 14 ; Test v16i8 insertion into the last element. 16 ; CHECK-LABEL: f2: 17 ; CHECK: vleib %v24, 100, 15 18 ; CHECK: br %r14 [all …]
|
| D | vec-move-05.ll | 1 ; Test vector extraction. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test v16i8 extraction of the first element. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vlgvb %r2, %v24, 0 9 ; CHECK: br %r14 14 ; Test v16i8 extraction of the last element. 16 ; CHECK-LABEL: f2: 17 ; CHECK: vlgvb %r2, %v24, 15 18 ; CHECK: br %r14 [all …]
|
| D | vec-move-10.ll | 1 ; Test vector extraction to memory. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test v16i8 extraction from the first element. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vsteb %v24, 0(%r2), 0 9 ; CHECK: br %r14 15 ; Test v16i8 extraction from the last element. 17 ; CHECK-LABEL: f2: 18 ; CHECK: vsteb %v24, 0(%r2), 15 19 ; CHECK: br %r14 [all …]
|
| D | vec-const-10.ll | 1 ; Test vector replicates, v2i64 version. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test a byte-granularity replicate with the lowest useful value. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vrepib %v24, 1 9 ; CHECK: br %r14 13 ; Test a byte-granularity replicate with an arbitrary value. 15 ; CHECK-LABEL: f2: 16 ; CHECK: vrepib %v24, -55 17 ; CHECK: br %r14 [all …]
|
| D | vec-const-12.ll | 1 ; Test vector replicates, v2f64 version. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test a byte-granularity replicate with the lowest useful value. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vrepib %v24, 1 9 ; CHECK: br %r14 13 ; Test a byte-granularity replicate with an arbitrary value. 15 ; CHECK-LABEL: f2: 16 ; CHECK: vrepib %v24, -55 17 ; CHECK: br %r14 [all …]
|
| D | vec-const-09.ll | 1 ; Test vector replicates, v4i32 version. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test a byte-granularity replicate with the lowest useful value. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vrepib %v24, 1 9 ; CHECK: br %r14 13 ; Test a byte-granularity replicate with an arbitrary value. 15 ; CHECK-LABEL: f2: 16 ; CHECK: vrepib %v24, -55 17 ; CHECK: br %r14 [all …]
|
| D | vec-const-11.ll | 1 ; Test vector replicates, v4f32 version. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test a byte-granularity replicate with the lowest useful value. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vrepib %v24, 1 9 ; CHECK: br %r14 14 ; Test a byte-granularity replicate with an arbitrary value. 16 ; CHECK-LABEL: f2: 17 ; CHECK: vrepib %v24, -55 18 ; CHECK: br %r14 [all …]
|
| D | vec-move-08.ll | 1 ; Test vector insertion of memory values. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test v16i8 insertion into the first element. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vleb %v24, 0(%r2), 0 9 ; CHECK: br %r14 15 ; Test v16i8 insertion into the last element. 17 ; CHECK-LABEL: f2: 18 ; CHECK: vleb %v24, 0(%r2), 15 19 ; CHECK: br %r14 [all …]
|
| D | fp-round-01.ll | 1 ; Test rounding functions for z10. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s 5 ; Test rint for f32. 8 ; CHECK-LABEL: f1: 9 ; CHECK: fiebr %f0, 0, %f0 10 ; CHECK: br %r14 15 ; Test rint for f64. 18 ; CHECK-LABEL: f2: 19 ; CHECK: fidbr %f0, 0, %f0 20 ; CHECK: br %r14 [all …]
|
| D | vec-const-08.ll | 1 ; Test vector replicates, v8i16 version. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 | FileCheck %s 5 ; Test a byte-granularity replicate with the lowest useful value. 7 ; CHECK-LABEL: f1: 8 ; CHECK: vrepib %v24, 1 9 ; CHECK: br %r14 14 ; Test a byte-granularity replicate with an arbitrary value. 16 ; CHECK-LABEL: f2: 17 ; CHECK: vrepib %v24, -55 18 ; CHECK: br %r14 [all …]
|
| D | fp-round-02.ll | 1 ; Test rounding functions for z196 and above. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196 \ 4 ; RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SCALAR %s 5 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 \ 6 ; RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK-VECTOR %s 8 ; Test rint for f32. 11 ; CHECK-LABEL: f1: 12 ; CHECK: fiebr %f0, 0, %f0 13 ; CHECK: br %r14 18 ; Test rint for f64. [all …]
|
| D | selectcc-01.ll | 1 ; Test an i32 0/-1 SELECTCCC for every floating-point condition. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s 5 ; Test CC in { 0 } 7 ; CHECK-LABEL: f1: 8 ; CHECK: ipm %r2 9 ; CHECK-NEXT: afi %r2, -268435456 10 ; CHECK-NEXT: sra %r2, 31 11 ; CHECK: br %r14 13 %res = select i1 %cond, i32 -1, i32 0 17 ; Test CC in { 1 } [all …]
|
| D | selectcc-02.ll | 1 ; Test an i32 0/-1 SELECTCCC for every floating-point condition. 3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s 5 ; Test CC in { 1, 2, 3 } 7 ; CHECK-LABEL: f1: 8 ; CHECK: ipm %r2 9 ; CHECK-NEXT: afi %r2, 1879048192 10 ; CHECK-NEXT: sra %r2, 31 11 ; CHECK: br %r14 13 %res = select i1 %cond, i32 0, i32 -1 17 ; Test CC in { 0, 2, 3 } [all …]
|
| D | setcc-02.ll | 1 ; Test SETCC for every floating-point condition. The tests here assume that 4 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s 6 ; Test CC in { 0 } 8 ; CHECK-LABEL: f1: 9 ; CHECK: ipm %r2 10 ; CHECK-NEXT: afi %r2, -268435456 11 ; CHECK-NEXT: srl %r2, 31 12 ; CHECK: br %r14 18 ; Test CC in { 1 } 20 ; CHECK-LABEL: f2: [all …]
|
| /external/llvm/test/tools/llvm-symbolizer/pdb/ |
| D | pdb.test | 1 RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ 2 RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" \ 4 RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ 5 RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" -demangle=false \ 6 RUN: | FileCheck %s --check-prefix=CHECK-NO-DEMANGLE 8 Subtract ImageBase from all the offsets and run the test again with 9 --relative-address. 11 RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \ 12 RUN: | %python -c 'import sys;print("\n".join([hex(int(x, 16) - 0x400000) for x in sys.stdin]))' \ 13 RUN: | llvm-symbolizer -obj="%p/Inputs/test.exe" -demangle=false --relative-address \ [all …]
|