/external/llvm-project/lld/test/wasm/ |
D | many-functions.ll | 1 ; RUN: llc -filetype=obj %p/Inputs/many-funcs.ll -o %t.many.o 2 ; RUN: llc -filetype=obj %s -o %t.o 3 ; RUN: wasm-ld -r -o %t.wasm %t.many.o %t.o 7 ; linking object with different header sizes. many-funcs.ll has 8 ; 128 function and so the final output requires a 2-byte LEB in 11 target triple = "wasm32-unknown-unknown" 19 ; CHECK: - Type: CODE 20 ; CHECK-NEXT: Relocations: 21 ; CHECK-NEXT: - Type: R_WASM_MEMORY_ADDR_LEB 22 ; CHECK-NEXT: Index: 1 [all …]
|
/external/llvm-project/clang/test/AST/ |
D | ast-dump-stmt-json.c | 1 // RUN: %clang_cc1 -std=gnu11 -triple x86_64-unknown-unknown -ast-dump=json %s | FileCheck %s 20 -T1; in TestUnaryOperatorExpr() 21 -T2; in TestUnaryOperatorExpr() 150 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 151 // using --filters=VarDecl,CompoundStmt 154 // CHECK: "kind": "VarDecl", 155 // CHECK-NEXT: "loc": { 156 // CHECK-NEXT: "offset": 99, 157 // CHECK-NEXT: "file": "{{.*}}", 158 // CHECK-NEXT: "line": 3, [all …]
|
D | ast-dump-record-definition-data-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fclang-abi-compat=7.0 -std=c++17 -ast-dump=json … 127 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 128 // using --filters=CXXRecordDecl 131 // CHECK: "kind": "CXXRecordDecl", 132 // CHECK-NEXT: "name": "__NSConstantString_tag" 133 // CHECK-NEXT: } 136 // CHECK: "kind": "CXXRecordDecl", 137 // CHECK-NEXT: "name": "__va_list_tag" 138 // CHECK-NEXT: } 141 // CHECK: "kind": "CXXRecordDecl", [all …]
|
D | ast-dump-stmt-json.cpp | 1 // RUN: %clang_cc1 -std=c++2a -triple x86_64-linux-gnu -fcxx-exceptions -ast-dump=json %s | FileChe… 55 (&obj)->member = T(); in TestDependentScopeMemberExpr() 125 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 126 // using --filters=FunctionDecl,FunctionTemplateDecl,UsingDecl,UsingShadowDecl 129 // CHECK: "kind": "FunctionDecl", 130 // CHECK-NEXT: "loc": { 131 // CHECK-NEXT: "offset": 125, 132 // CHECK-NEXT: "line": 4, 133 // CHECK-NEXT: "col": 6, 134 // CHECK-NEXT: "tokLen": 8 [all …]
|
D | ast-dump-expr-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -fcxx-exceptions -std=gnu++17 -… 48 obj2->*data; in TestPointerToMember() 50 (obj2->*call)(12); in TestPointerToMember() 63 noexcept(p - p); in TestUnaryExpressions() 79 p->func(0); in TestPostfixExpressions() 80 p->template foo<int>(); in TestPostfixExpressions() 82 p->~S(); in TestPostfixExpressions() 85 p->::S::~S(); in TestPostfixExpressions() 86 r->template U<int>::~U(); in TestPostfixExpressions() 117 []() -> int { return 0; }; in TestPrimaryExpressions() [all …]
|
D | ast-dump-records-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -ast-dump=json %s | FileCheck %s 87 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 88 // using --filters=CXXRecordDecl 91 // CHECK: "kind": "CXXRecordDecl", 92 // CHECK-NEXT: "name": "__NSConstantString_tag" 93 // CHECK-NEXT: } 96 // CHECK: "kind": "CXXRecordDecl", 97 // CHECK-NEXT: "name": "__va_list_tag" 98 // CHECK-NEXT: } 101 // CHECK: "kind": "CXXRecordDecl", [all …]
|
D | ast-dump-expr-json.c | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -ast-dump=json %s | … 43 a - b; in BinaryOperators() 55 // ++, --, and ~ are covered elsewhere. in UnaryOperators() 57 -a; in UnaryOperators() 77 c->a; in PostfixOperators() 79 // Postfix ++ and -- are covered elsewhere. in PostfixOperators() 109 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 110 // using --filters=FunctionDecl 113 // CHECK: "kind": "FunctionDecl", 114 // CHECK-NEXT: "loc": { [all …]
|
D | ast-dump-expr-json.m | 1 // RUN: %clang_cc1 -triple x86_64-pc-win32 -Wno-unused -fblocks -ast-dump=json -ast-dump-filter Tes… 32 - (int) conformsToProtocol : (Protocol *)protocl; 33 - (void)method1; 45 - (id)objectForKeyedSubscript:(id)key; 46 - (void)setObject:(id)object forKeyedSubscript:(id)key; 50 - (id)objectAtIndexedSubscript:(int)index; 51 - (void)setObject:(id)object atIndexedSubscript:(int)index; 90 Ptr->public = 0; 98 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 101 // CHECK: "kind": "FunctionDecl", [all …]
|
D | ast-dump-decl-json.m | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -Wno-unused -fblocks -ast-dump=json -ast-dump-filter… 23 - (int) TestObjCMethodDecl: (int)i, ...; 27 - (int) TestObjCMethodDecl: (int)i, ... { 33 - (void) foo; 37 - (void) foo; 43 - (void) foo { 48 - (void) bar; 56 - (void) bar { 86 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 89 // CHECK: "kind": "ObjCInterfaceDecl", [all …]
|
D | ast-dump-template-decls-json.cpp | 1 // RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-unknown -ast-dump=json %s | FileCheck -strict-… 58 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 61 // CHECK: "kind": "TranslationUnitDecl", 62 // CHECK-NEXT: "loc": {}, 63 // CHECK-NEXT: "range": { 64 // CHECK-NEXT: "begin": {}, 65 // CHECK-NEXT: "end": {} 66 // CHECK-NEXT: }, 67 // CHECK-NEXT: "inner": [ 68 // CHECK-NEXT: { [all …]
|
D | ast-dump-if-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++17 -ast-dump=json %s | FileCheck %s 29 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 30 // using --filters=IfStmt 33 // CHECK: "kind": "IfStmt", 34 // CHECK-NEXT: "range": { 35 // CHECK-NEXT: "begin": { 36 // CHECK-NEXT: "offset": 111, 37 // CHECK-NEXT: "line": 4, 38 // CHECK-NEXT: "col": 3, 39 // CHECK-NEXT: "tokLen": 2 [all …]
|
D | ast-dump-decl-json.c | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump=json -ast-dump-filter Test %s | FileChe… 3 #include "Inputs/json-dump-include.h" 92 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 95 // CHECK: "kind": "TypedefDecl", 96 // CHECK-NEXT: "loc": { 97 // CHECK-NEXT: "offset": 12, 98 // CHECK-NEXT: "file": "{{.*}}", 99 // CHECK-NEXT: "line": 1, 100 // CHECK-NEXT: "col": 13, 101 // CHECK-NEXT: "tokLen": 22, [all …]
|
D | ast-dump-comment-json.cpp | 1 // RUN: %clang_cc1 -Wdocumentation -ast-dump=json %s | FileCheck %s 38 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 39 // using --filters=FullComment 42 // CHECK: "kind": "FullComment", 43 // CHECK-NEXT: "loc": { 44 // CHECK-NEXT: "offset": 72, 45 // CHECK-NEXT: "line": 3, 46 // CHECK-NEXT: "col": 4, 47 // CHECK-NEXT: "tokLen": 0 48 // CHECK-NEXT: }, [all …]
|
D | multistep-explicit-cast-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -ast-dump=json %s | FileCheck %s 19 //----------------------------------------------------------------------------// 37 //----------------------------------------------------------------------------// 55 //----------------------------------------------------------------------------// 78 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 79 // using --filters=ImplicitCastExpr,CStyleCastExpr,CXXStaticCastExpr,CXXFunctionalCastExpr 82 // CHECK: "kind": "ImplicitCastExpr", 83 // CHECK-NEXT: "range": { 84 // CHECK-NEXT: "begin": { 85 // CHECK-NEXT: "offset": 148, [all …]
|
D | ast-dump-funcs-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump=json -ast-dump-filter Test %s | FileChe… 44 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 47 // CHECK: "kind": "CXXMethodDecl", 48 // CHECK-NEXT: "loc": { 49 // CHECK-NEXT: "offset": 124, 50 // CHECK-NEXT: "file": "{{.*}}", 51 // CHECK-NEXT: "line": 4, 52 // CHECK-NEXT: "col": 8, 53 // CHECK-NEXT: "tokLen": 5 54 // CHECK-NEXT: }, [all …]
|
D | ast-dump-stmt-json.m | 1 // RUN: %clang_cc1 -triple x86_64-pc-win32 -Wno-unused -fblocks -fobjc-exceptions -ast-dump=json -a… 22 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 25 // CHECK: "kind": "FunctionDecl", 26 // CHECK-NEXT: "loc": { 27 // CHECK-NEXT: "offset": 143, 28 // CHECK-NEXT: "file": "{{.*}}", 29 // CHECK-NEXT: "line": 3, 30 // CHECK-NEXT: "col": 6, 31 // CHECK-NEXT: "tokLen": 13 32 // CHECK-NEXT: }, [all …]
|
D | multistep-explicit-cast-json.c | 1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -ast-dump=json %s | FileCheck %s 19 //----------------------------------------------------------------------------// 37 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 38 // using --filters=ImplicitCastExpr,CStyleCastExpr 41 // CHECK: "kind": "ImplicitCastExpr", 42 // CHECK-NEXT: "range": { 43 // CHECK-NEXT: "begin": { 44 // CHECK-NEXT: "offset": 148, 45 // CHECK-NEXT: "col": 10, 46 // CHECK-NEXT: "tokLen": 1 [all …]
|
D | ast-dump-types-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -ast-dump=json -ast-dump-filter Tes… 28 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 31 // CHECK: "kind": "TypedefDecl", 32 // CHECK-NEXT: "loc": { 33 // CHECK-NEXT: "offset": 204, 34 // CHECK-NEXT: "file": "{{.*}}", 35 // CHECK-NEXT: "line": 12, 36 // CHECK-NEXT: "col": 18, 37 // CHECK-NEXT: "tokLen": 19 38 // CHECK-NEXT: }, [all …]
|
D | ast-dump-enum-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++17 -ast-dump=json %s | FileCheck %s 33 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 34 // using --filters=EnumDecl 37 // CHECK: "kind": "EnumDecl", 38 // CHECK-NEXT: "loc": { 39 // CHECK-NEXT: "offset": 88, 40 // CHECK-NEXT: "file": "{{.*}}", 41 // CHECK-NEXT: "line": 3, 42 // CHECK-NEXT: "col": 1, 43 // CHECK-NEXT: "tokLen": 4 [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | hsa-metadata-from-llvm-ir-full-v3.ll | 1 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -filetype=obj -o - < %s | llvm-readelf --notes - | FileChe… 2 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -o - < %s | llvm-readelf --notes - | FileChe… 3 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=obj -o - < %s | llvm-readelf --notes - | FileChe… 4 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata… 5 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata… 6 … llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-dump-hsa-metadata -amdgpu-verify-hsa-metadata… 19 ; CHECK: --- 20 ; CHECK-NEXT: amdhsa.kernels: 21 ; CHECK-NEXT: - .args: 22 ; CHECK-NEXT: - .name: a [all …]
|
D | hsa-metadata-from-llvm-ir-full.ll | 1 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 --amdhsa-code-object-version=2 -filetype=obj -o - < %s | l… 2 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 --amdhsa-code-object-version=2 -filetype=obj -o - < %s | l… 3 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 --amdhsa-code-object-version=2 -filetype=obj -o - < %s | l… 4 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 --amdhsa-code-object-version=2 -amdgpu-dump-hsa-metadata -… 5 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 --amdhsa-code-object-version=2 -amdgpu-dump-hsa-metadata -… 6 …-mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 --amdhsa-code-object-version=2 -amdgpu-dump-hsa-metadata -… 19 ; CHECK: --- 20 ; CHECK: Version: [ 1, 0 ] 21 ; CHECK: Printf: 22 ; CHECK: - '1:1:4:%d\n' [all …]
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | vec_conv_fp32_to_i8_elts.ll | 2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ 3 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 4 ; RUN: FileCheck %s --check-prefix=CHECK-P8 5 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ 6 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 7 ; RUN: FileCheck %s --check-prefix=CHECK-P9 8 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \ 9 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 10 ; RUN: FileCheck %s --check-prefix=CHECK-BE 13 ; CHECK-P8-LABEL: test2elt: [all …]
|
D | vec_conv_fp64_to_i8_elts.ll | 2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ 3 ; RUN: -mcpu=pwr8 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 4 ; RUN: FileCheck %s --check-prefix=CHECK-P8 5 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \ 6 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 7 ; RUN: FileCheck %s --check-prefix=CHECK-P9 8 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \ 9 ; RUN: -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr < %s | \ 10 ; RUN: FileCheck %s --check-prefix=CHECK-BE 13 ; CHECK-P8-LABEL: test2elt: [all …]
|
/external/llvm-project/llvm/test/Other/ |
D | opt-O3-pipeline-enable-matrix.ll | 1 ; RUN: opt -enable-new-pm=0 -O3 -enable-matrix -debug-pass=Structure < %s -o /dev/null 2>&1 | FileC… 5 ; CHECK-LABEL: Pass Arguments: 6 ; CHECK-NEXT: Target Transform Information 7 ; CHECK-NEXT: Type-Based Alias Analysis 8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis 9 ; CHECK-NEXT: Assumption Cache Tracker 10 ; CHECK-NEXT: Target Library Information 11 ; CHECK-NEXT: FunctionPass Manager 12 ; CHECK-NEXT: Module Verifier 13 ; CHECK-EXT: Good Bye World Pass [all …]
|
D | opt-Os-pipeline.ll | 1 ; RUN: opt -enable-new-pm=0 -mtriple=x86_64-- -Os -debug-pass=Structure < %s -o /dev/null 2>&1 | Fi… 5 ; CHECK-LABEL: Pass Arguments: 6 ; CHECK-NEXT: Target Transform Information 7 ; CHECK-NEXT: Type-Based Alias Analysis 8 ; CHECK-NEXT: Scoped NoAlias Alias Analysis 9 ; CHECK-NEXT: Assumption Cache Tracker 10 ; CHECK-NEXT: Target Library Information 11 ; CHECK-NEXT: FunctionPass Manager 12 ; CHECK-NEXT: Module Verifier 13 ; CHECK-EXT: Good Bye World Pass [all …]
|