/llvm-project/lld/test/wasm/ |
H A 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 …]
|
/llvm-project/clang/test/AST/ |
H A D | ast-dump-default-arg-json.cpp | 1 // RUN: %clang_cc1 -std=c++23 -triple x86_64-linux-gnu -fsyntax-only -ast-dump=json %s | FileCheck … 17 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 20 // CHECK-NOT: {{^}}Dumping 21 // CHECK: "kind": "TranslationUnitDecl", 22 // CHECK-NEXT: "loc": {}, 23 // CHECK-NEXT: "range": { 24 // CHECK-NEXT: "begin": {}, 25 // CHECK-NEXT: "end": {} 26 // CHECK-NEXT: }, 27 // CHECK-NEXT: "inner": [ [all …]
|
H A D | ast-dump-template-json-win32-mangler-crash.cpp | 1 // RUN: %clang_cc1 -triple x86_64-pc-win32 -ast-dump=json %s | FileCheck %s 74 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 77 // CHECK-NOT: {{^}}Dumping 78 // CHECK: "kind": "TranslationUnitDecl", 79 // CHECK-NEXT: "loc": {}, 80 // CHECK-NEXT: "range": { 81 // CHECK-NEXT: "begin": {}, 82 // CHECK-NEXT: "end": {} 83 // CHECK-NEXT: }, 84 // CHECK-NEXT: "inner": [ [all …]
|
H A 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-NOT: {{^}}Dumping 130 // CHECK: "kind": "FunctionDecl", 131 // CHECK-NEXT: "loc": { 132 // CHECK-NEXT: "offset": 125, 133 // CHECK-NEXT: "line": 4, 134 // CHECK-NEXT: "col": 6, [all …]
|
H A 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 130 // CHECK-NOT: {{^}}Dumping 131 // CHECK: "kind": "CXXRecordDecl", 132 // CHECK-NEXT: "name": "__NSConstantString_tag" 133 // CHECK-NEXT: } 135 // CHECK-NOT: {{^}}Dumping 136 // CHECK: "kind": "CXXRecordDecl", 137 // CHECK-NEXT: "name": "__va_list_tag" [all …]
|
H A 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-NOT: {{^}}Dumping 114 // CHECK: "kind": "FunctionDecl", [all …]
|
H A 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 …]
|
H A 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 90 // CHECK-NOT: {{^}}Dumping 91 // CHECK: "kind": "CXXRecordDecl", 92 // CHECK-NEXT: "name": "__NSConstantString_tag" 93 // CHECK-NEXT: } 95 // CHECK-NOT: {{^}}Dumping 96 // CHECK: "kind": "CXXRecordDecl", 97 // CHECK-NEXT: "name": "__va_list_tag" [all …]
|
H A 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-NOT: {{^}}Dumping [all …]
|
H A D | ast-dump-default-init-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fsyntax-only -ast-dump=json %s | FileCheck %s 15 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 18 // CHECK-NO [all...] |
H A 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() 154 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 155 // using --filters=VarDecl,CompoundStmt 158 // CHECK-NOT: {{^}}Dumping 159 // CHECK: "kind": "VarDecl", 160 // CHECK-NEXT: "loc": { 161 // CHECK-NEXT: "offset": {{[0-9]+}}, 162 // CHECK-NEXT: "file": "{{.*}}", [all …]
|
H A D | ast-dump-decl-json.c | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-strict-prototypes -ast-dump=json -ast-dump-f… 3 #include "Inputs/json-dump-include.h" 92 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 95 // CHECK-NOT: {{^}}Dumping 96 // CHECK: "kind": "TypedefDecl", 97 // CHECK-NEXT: "loc": { 98 // CHECK-NEXT: "offset": {{[0-9]+}}, 99 // CHECK-NEXT: "file": "{{.*}}", 100 // CHECK-NEXT: "line": 1, 101 // CHECK-NEXT: "col": 13, [all …]
|
H A 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-… 63 W(int)->W<1>; 65 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 68 // CHECK-NOT: {{^}}Dumping 69 // CHECK: "kind": "TranslationUnitDecl", 70 // CHECK-NEXT: "loc": {}, 71 // CHECK-NEXT: "range": { 72 // CHECK-NEXT: "begin": {}, 73 // CHECK-NEXT: "end": {} 74 // CHECK-NEXT: }, [all …]
|
H A 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 41 // CHECK-NOT: {{^}}Dumping 42 // CHECK: "kind": "FullComment", 43 // CHECK-NEXT: "loc": { 44 // CHECK-NEXT: "offset": {{[0-9]+}}, 45 // CHECK-NEXT: "line": 3, 46 // CHECK-NEXT: "col": 4, 47 // CHECK-NEXT: "tokLen": 0 [all …]
|
H A 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-NOT: {{^}}Dumping [all …]
|
H A D | ast-dump-if-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++23 -ast-dump=json %s | FileCheck %s 37 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 38 // using --filters=IfStmt 41 // CHECK-NOT: {{^}}Dumping 42 // CHECK: "kind": "IfStmt", 43 // CHECK-NEXT: "range": { 44 // CHECK-NEXT: "begin": { 45 // CHECK-NEXT: "offset": {{[0-9]+}}, 46 // CHECK-NEXT: "line": 4, 47 // CHECK-NEXT: "col": 3, [all …]
|
H A 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 81 // CHECK: "kind": "ImplicitCastExpr", 82 // CHECK-NEXT: "range": { 83 // CHECK-NEXT: "begin": { 84 // CHECK-NEXT: "offset": {{[0-9]+}}, [all …]
|
H A D | ast-dump-attr-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-pc-linux -Wdocumentation -ast-dump=json %s | FileCheck %s 22 __thread __attribute__ ((tls_model ("local-exec"))) int tls_model_var; 24 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 25 // using --filters=VarDecl 28 // CHECK-NOT: {{^}}Dumping 29 // CHECK: "kind": "VarDecl", 30 // CHECK-NEXT: "loc": { 31 // CHECK-NEXT: "offset": 97, 32 // CHECK-NEXT: "file": "{{.*}}", 33 // CHECK-NEXT: "line": 3, [all …]
|
H A D | ast-dump-pragma-json.c | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump=json %s | FileCheck %s 7 return x - y; in func_16() 12 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 13 // using --filters=CompoundStmt 16 // CHECK-NOT: {{^}}Dumping 17 // CHECK: "kind": "CompoundStmt", 18 // CHECK-NEXT: "range": { 19 // CHECK-NEXT: "begin": { 20 // CHECK-NEXT: "offset": 116, 21 // CHECK-NEXT: "col": 33, [all …]
|
H A D | ast-dump-funcs-json.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump=json -ast-dump-filter Test %s | FileCheck %s 49 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py 52 // CHECK [all...] |
H A 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 40 // CHECK: "kind": "ImplicitCastExpr", 41 // CHECK-NEXT: "range": { 42 // CHECK-NEXT: "begin": { 43 // CHECK-NEXT: "offset": {{[0-9]+}}, 44 // CHECK-NEXT: "col": 10, 45 // CHECK-NEXT: "tokLen": 1 [all …]
|
/llvm-project/llvm/test/tools/llvm-mca/JSON/X86/ |
H A D | views-multiple-anonymous-regions.s | 2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell --json -all-views < %s | FileCheck %s 3 # RUN: llvm-mc [all...] |
/llvm-project/llvm/test/CodeGen/Thumb2/ |
H A D | mve-fptosi-sat-vector.ll | 2 ; RUN: llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve,+fullfp16 -verify-machineinstrs %s -o - | FileCheck %s - [all...] |
/llvm-project/llvm/test/DebugInfo/PDB/Native/ |
H A D | pdb-native-pointers.test | 2 ; being checked against is golden output generated by llvm-pdbutil without 3 ; the -native flag. Then we check that we generate the same output. 5 ; RUN: llvm-pdbutil pretty -native -pointers \ 6 ; RUN: %p/../Inputs/every-pointer.pdb | FileCheck %s --check-prefix=PRETTY 7 ; RUN: llvm-pdbutil diadump -no-ids -native -pointers \ 8 ; RUN: %p/../Inputs/every-pointer.pdb | FileCheck %s 11 ; PRETTY-NEXT: char** 12 ; PRETTY-NEXT: struct Foo* 13 ; PRETTY-NEXT: int& 14 ; PRETTY-NEXT: const int* [all …]
|
/llvm-project/lld/test/ELF/ |
H A D | basic-mips.s | 2 # RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux %s -o %t.o 3 # RUN: ld.lld %t.o -o %t.exe 4 # RUN: llvm-readobj --file-headers --sections -l --symbols %t.exe \ 14 # CHECK: ElfHeader { 15 # CHECK-NEXT: Ident { 16 # CHECK-NEXT: Magic: (7F 45 4C 46) 17 # CHECK-NEXT: Class: 32-bit (0x1) 18 # CHECK-NEXT: DataEncoding: LittleEndian (0x1) 19 # CHECK-NEXT: FileVersion: 1 20 # CHECK-NEXT: OS/ABI: SystemV (0x0) [all …]
|