| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/ |
| H A D | invoke_rvalue.pass.cpp | 52 std::bind(f_void_1, _1)(2); in test_void_1() 57 std::bind(f_void_1, 2)(); in test_void_1() 64 std::bind(fp, _1)(3); in test_void_1() 70 std::bind(fp, 3)(); in test_void_1() 77 std::bind(a0, _1)(4); in test_void_1() 83 std::bind(a0, 4)(); in test_void_1() 94 std::bind(fp, _1)(&a); in test_void_1() 104 std::bind(fp, &a)(); in test_void_1() 115 std::bind(fp, _1)(&a); in test_void_1() 125 std::bind(fp, &a)(); in test_void_1() [all …]
|
| H A D | invoke_lvalue.pass.cpp | 67 std::bind(fp, _1)(i); in test_void_1() 74 std::bind(fp, i)(); in test_void_1() 82 std::bind(a0, _1)(i); in test_void_1() 89 std::bind(a0, i)(); in test_void_1() 97 std::bind(fp, _1)(a); in test_void_1() 101 std::bind(fp, _1)(ap); in test_void_1() 108 std::bind(fp, a)(); in test_void_1() 112 std::bind(fp, ap)(); in test_void_1() 120 std::bind(fp, _1)(a); in test_void_1() 131 std::bind(fp, a)(); in test_void_1() [all …]
|
| H A D | invoke_void_0.pass.cpp | 61 test(std::bind(f)); in main() 62 test(std::bind(&f)); in main() 63 test(std::bind(A_void_0())); in main() 64 test_const(std::bind(A_void_0())); in main() 66 test(std::bind<void>(f)); in main() 67 test(std::bind<void>(&f)); in main() 68 test(std::bind<void>(A_void_0())); in main() 71 test(std::bind<void>(g)); in main() 72 test(std::bind<void>(&g)); in main() 73 test(std::bind<void>(A_int_0())); in main() [all …]
|
| H A D | invoke_int_0.pass.cpp | 47 test(std::bind(f), 1); in main() 48 test(std::bind(&f), 1); in main() 49 test(std::bind(A_int_0()), 4); in main() 50 test_const(std::bind(A_int_0()), 5); in main() 52 test(std::bind<int>(f), 1); in main() 53 test(std::bind<int>(&f), 1); in main() 54 test(std::bind<int>(A_int_0()), 4); in main() 55 test_const(std::bind<int>(A_int_0()), 5); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | avoid-bind.cpp | 136 auto AAA = std::bind(add, x, y); in testCaptureByValue() 141 auto BBB = std::bind(add, x, x); in testCaptureByValue() 163 auto FFF = boost::bind(UseF, f); in testCaptureByValue() 179 auto AAA = std::bind(add, 2, 2); in testLiteralParameters() 228 auto AAA = std::bind(d, 1, 2); in testFunctionObjects() 232 auto BBB = std::bind(*e, 1, 2); in testFunctionObjects() 236 auto CCC = std::bind(D{}, 1, 2); in testFunctionObjects() 240 auto DDD = std::bind(D(), 1, 2); in testFunctionObjects() 248 auto FFF = std::bind(G(), 1); in testFunctionObjects() 262 auto HHH = std::bind(H<T>(), 42); in testMemberFnOfClassTemplate() [all …]
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | declarations03.f90 | 15 bind(c, name="bb") :: /blk3/, t 24 bind(c, name="dd") :: /blk5/ 25 bind(c, name="ee") :: /blk5/ 29 bind(c, name="ff") :: /blk6/ 30 bind(c, name="ff") :: /blk7/ 34 bind(c, name="gg") :: s1 35 bind(c, name="hh") :: s1 39 bind(c, name="ii") :: s2 40 bind(c, name="ii") :: s3 44 bind(c, name="jj") :: s4 [all …]
|
| H A D | bind-c02.f90 | 9 subroutine proc() bind(c) 12 procedure(proc), bind(c) :: pc1 14 bind(c) :: proc 16 bind(c) :: pc1 19 bind(c) :: sub 21 bind(c) :: m ! no error for implicit type variable 27 bind(c) :: my_type 29 enum, bind(c) ! no error 37 bind(c) :: implicit_i ! no error for implicit type variable 40 bind(c) :: /implicit_blk/ [all …]
|
| H A D | bind-c04.f90 | 10 subroutine proc() bind(c) 15 procedure(proc), bind(c, name="aaa") :: pc1, pc2 18 procedure(proc), bind(c, name="bbb"), pointer :: pc3 21 procedure(proc), bind(c, name="ccc") :: x 23 procedure(proc), bind(c) :: pc4, pc5 26 procedure(proc), bind(c, name="pc6"), pointer :: pc6 28 procedure(proc), bind(c), pointer :: pc7 30 procedure(proc), bind(c) :: y 34 procedure(proc), bind(c, name="pc8"), bind(c), pointer :: pc8
|
| H A D | resolve113.f90 | 8 integer, bind(c, name="a") :: x1 9 integer, bind(c) :: x2 14 integer, bind(c, name="b") :: x3 16 integer, bind(c) :: x4 21 integer, bind(c, name="c") :: x5 23 integer, bind(c) :: x6 28 integer, bind(c, name="d") :: x7 30 integer, bind(c) :: x8
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | DeclPrinterTest.cpp | 980 classTemplateDecl(hasName("A")).bind("id"), in TEST() 988 classTemplateDecl(hasName("A")).bind("id"), in TEST() 996 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1004 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1012 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1020 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1029 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1036 classTemplateDecl(hasName("A")).bind("id"), in TEST() 1393 namedDecl(hasName("P1")).bind("id"), in TEST() 1397 namedDecl(hasName("P2")).bind("id"), in TEST() [all …]
|
| H A D | DataCollectionTest.cpp | 107 ASSERT_TRUE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST() 109 ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST() 111 ASSERT_FALSE(isStmtHashEqual(declRefExpr().bind("id"), "int x, r = x;", in TEST() 116 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 119 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 122 ASSERT_TRUE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 125 ASSERT_FALSE(isStmtHashEqual(memberExpr().bind("id"), in TEST() 140 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .0;", in TEST() 142 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .10;", in TEST() 144 ASSERT_TRUE(isStmtHashEqual(floatLiteral().bind("id"), "double x = .1;", in TEST() [all …]
|
| H A D | StmtPrinterTest.cpp | 38 has(compoundStmt(has(stmt().bind("id"))))); in FunctionBodyMatcher() 204 cxxMemberCallExpr(anything()).bind("id"), in TEST() 214 lambdaExpr(anything()).bind("id"), in TEST() 223 lambdaExpr(anything()).bind("id"), in TEST() 231 lambdaExpr(anything()).bind("id"), in TEST() 242 lambdaExpr(anything()).bind("id"), in TEST() 262 CPPSource, memberExpr(anything()).bind("id"), "this->field")); in TEST() 277 ObjCSource, returnStmt().bind("id"), "return ivar;\n", in TEST() 281 ASSERT_TRUE(PrintedStmtObjCMatches(ObjCSource, returnStmt().bind("id"), in TEST() 290 lambdaExpr(anything()).bind("id"), in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | bad-bind.test | 1 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-dylib-ordinal-uleb 2>&1 | FileCheck --che… 10 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-dylib-special-imm 2>&1 | FileCheck --chec… 13 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-set-symbol 2>&1 | FileCheck --check-prefi… 16 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-set-type-imm 2>&1 | FileCheck --check-pre… 19 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-set-addend-sleb 2>&1 | FileCheck --check-… 22 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-seg-too-big 2>&1 | FileCheck --check-pref… 25 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-segoff-too-big 2>&1 | FileCheck --check-p… 28 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-add_addr_uleb 2>&1 | FileCheck --check-pr… 31 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-do-bind-no-segIndex 2>&1 | FileCheck --ch… 34 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-bind-add-addr-uleb 2>&1 | FileCheck --che… [all …]
|
| /llvm-project-15.0.7/flang/module/ |
| H A D | omp_lib.h | 133 function omp_get_thread_num() bind(c) 138 function omp_get_num_procs() bind(c) 143 function omp_in_parallel() bind(c) 153 function omp_get_dynamic() bind(c) 168 function omp_get_nested() bind(c) 203 function omp_get_level() bind(c) 225 function omp_in_final() bind(c) 230 function omp_get_proc_bind() bind(c) 315 function omp_get_team_num() bind(c) 414 function omp_get_wtime() bind(c) [all …]
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | generic_loop_messages.cpp | 10 #pragma omp loop bind(thread) in foo() 19 #pragma omp loop bind(thread) in foo() 28 #pragma omp loop bind(thread) in foo() 39 #pragma omp loop bind(thread) in foo() 46 #pragma omp loop bind(thread) in foo() 53 #pragma omp loop bind(thread) in foo() 61 #pragma omp loop bind(thread) bind(thread) in foo() 67 #pragma omp loop bind(other) in foo() 74 #pragma omp loop bind(teams) in foo() 83 #pragma omp loop collapse(2) bind(thread) in foo() [all …]
|
| H A D | teams_generic_loop_messages.cpp | 10 #pragma omp teams loop bind(thread) in foo() 19 #pragma omp teams loop bind(thread) in foo() 28 #pragma omp teams loop bind(thread) in foo() 39 #pragma omp teams loop bind(thread) in foo() 46 #pragma omp teams loop bind(thread) in foo() 53 #pragma omp teams loop bind(thread) in foo() 61 #pragma omp teams loop bind(thread) bind(thread) in foo() 67 #pragma omp teams loop bind(other) in foo() 75 #pragma omp teams loop collapse(2) bind(thread) in foo() 88 #pragma omp teams loop order(foo) bind(thread) in foo() [all …]
|
| H A D | parallel_generic_loop_messages.cpp | 10 #pragma omp parallel loop bind(thread) in foo() 19 #pragma omp parallel loop bind(thread) in foo() 28 #pragma omp parallel loop bind(thread) in foo() 39 #pragma omp parallel loop bind(thread) in foo() 46 #pragma omp parallel loop bind(thread) in foo() 53 #pragma omp parallel loop bind(thread) in foo() 61 #pragma omp parallel loop bind(thread) bind(thread) in foo() 66 #pragma omp parallel loop bind(other) in foo() 74 #pragma omp parallel loop collapse(2) bind(thread) in foo() 87 #pragma omp parallel loop order(foo) bind(thread) in foo() [all …]
|
| H A D | target_teams_generic_loop_messages.cpp | 10 #pragma omp target teams loop bind(thread) in foo() 19 #pragma omp target teams loop bind(thread) in foo() 28 #pragma omp target teams loop bind(thread) in foo() 39 #pragma omp target teams loop bind(thread) in foo() 46 #pragma omp target teams loop bind(thread) in foo() 53 #pragma omp target teams loop bind(thread) in foo() 61 #pragma omp target teams loop bind(thread) bind(thread) in foo() 66 #pragma omp target teams loop bind(other) in foo() 74 #pragma omp target teams loop collapse(2) bind(thread) in foo() 87 #pragma omp target teams loop order(foo) bind(thread) in foo() [all …]
|
| H A D | target_parallel_generic_loop_messages.cpp | 10 #pragma omp target parallel loop bind(thread) in foo() 19 #pragma omp target parallel loop bind(thread) in foo() 28 #pragma omp target parallel loop bind(thread) in foo() 39 #pragma omp target parallel loop bind(thread) in foo() 46 #pragma omp target parallel loop bind(thread) in foo() 53 #pragma omp target parallel loop bind(thread) in foo() 61 #pragma omp target parallel loop bind(thread) bind(thread) in foo() 66 #pragma omp target parallel loop bind(other) in foo() 74 #pragma omp target parallel loop collapse(2) bind(thread) in foo() 87 #pragma omp target parallel loop order(foo) bind(thread) in foo() [all …]
|
| /llvm-project-15.0.7/openmp/runtime/src/include/ |
| H A D | omp_lib.f90.var | 210 function omp_in_parallel() bind(c) 215 function omp_in_final() bind(c) 220 function omp_get_dynamic() bind(c) 225 function omp_get_nested() bind(c) 245 function omp_get_level() bind(c) 316 function omp_get_wtime() bind(c) 321 function omp_get_wtick() bind(c) 613 depobj_list) bind(c) 626 depobj_list) bind(c) 835 function kmp_malloc(size) bind(c) [all …]
|
| H A D | omp_lib.h.var | 311 function omp_in_parallel() bind(c) 316 function omp_in_final() bind(c) 321 function omp_get_dynamic() bind(c) 326 function omp_get_nested() bind(c) 346 function omp_get_level() bind(c) 417 function omp_get_wtime() bind(c) 421 function omp_get_wtick() bind(c) 708 & depobj_list) bind(c) 791 & allocator) bind(c) 800 & free_allocator) bind(c) [all …]
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RangeSelectorTest.cpp | 104 .bind("init"))) in selectFromAssorted() 105 .bind("decl"))) in selectFromAssorted() 106 .bind("expr"))) in selectFromAssorted() 107 .bind("stmt"); in selectFromAssorted() 176 TestMatch Match = matchCode(Code, callExpr().bind(Call)); in TEST() 339 TestMatch Match = matchCode(Code, expr().bind("id")); in TEST() 345 TestMatch Match = matchCode(Code, expr().bind("id")); in TEST() 352 TestMatch Match = matchCode(Code, expr().bind("id")); in TEST() 708 TestMatch Match = matchCode(Code, ifStmt().bind(ID)); in TEST() 722 TestMatch Match = matchCode(Code, ifStmt().bind(ID)); in TEST() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ContainerContainsCheck.cpp | 31 .bind("call"); in registerMatchers() 37 .bind("call"); in registerMatchers() 58 .bind("positiveComparison")); in registerMatchers() 61 .bind("positiveComparison")); in registerMatchers() 64 .bind("positiveComparison")); in registerMatchers() 67 .bind("positiveComparison")); in registerMatchers() 70 .bind("positiveComparison")); in registerMatchers() 73 .bind("positiveComparison")); in registerMatchers() 78 .bind("negativeComparison")); in registerMatchers() 81 .bind("negativeComparison")); in registerMatchers() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | member-pointer.cpp | 213 bind(&mixed); // expected-error {{no matching function for call}} in test() 216 bind(&stat); // expected-error {{no matching function for call}} in test() 261 bind(&nonstat); in test0a() 262 bind(&B::nonstat); in test0a() 264 bind(&mixed); in test0a() 265 bind(&B::mixed); in test0a() 267 bind(&stat); in test0a() 268 bind(&B::stat); in test0a() 272 bind(&nonstat); // expected-error {{no matching function for call}} in test0b() 275 bind(&mixed); // expected-error {{no matching function for call}} in test0b() [all …]
|
| /llvm-project-15.0.7/flang/test/Lower/ |
| H A D | program-units-fir-mangling.f90 | 181 entry some_entry() bind(c, name="bar") 185 entry some_other_entry() bind(c) 193 real function f1() bind(c,name=ok//'1') 196 subroutine s1() bind(c,name=ok//'2') 202 real function f2() bind(c,name=foo//'3') 206 entry f3() bind(c,name=foo//'4') 211 subroutine s2() bind(c,name=foo//'5') 215 entry s3() bind(c,name=foo//'6') 219 entry s4() bind(c,name=foo//'7')
|