| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
| H A D | protoent.cpp | 14 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test1() local 15 printf("%s ", STRING_OR_NULL(*cp)); in test1() 26 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test2() local 27 printf("%s ", STRING_OR_NULL(*cp)); in test2() 38 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test3() local 39 printf("%s ", STRING_OR_NULL(*cp)); in test3() 53 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test4() local 54 printf("%s ", STRING_OR_NULL(*cp)); in test4() 65 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test5() local 66 printf("%s ", STRING_OR_NULL(*cp)); in test5()
|
| H A D | netent.cpp | 16 for (char **cp = ntp->n_aliases; *cp != NULL; cp++) in test1() local 17 printf("%s ", STRING_OR_NULL(*cp)); in test1() 30 for (char **cp = ntp->n_aliases; *cp != NULL; cp++) in test2() local 31 printf("%s ", STRING_OR_NULL(*cp)); in test2() 44 for (char **cp = ntp->n_aliases; *cp != NULL; cp++) in test3() local 45 printf("%s ", STRING_OR_NULL(*cp)); in test3() 60 for (char **cp = ntp->n_aliases; *cp != NULL; cp++) in test4() local 61 printf("%s ", STRING_OR_NULL(*cp)); in test4()
|
| /llvm-project-15.0.7/compiler-rt/lib/BlocksRuntime/ |
| H A D | runtime.c | 634 cp += sprintf(cp, "isa: NULL\n"); in _Block_dump() 637 cp += sprintf(cp, "isa: stack Block\n"); in _Block_dump() 643 cp += sprintf(cp, "isa: GC heap Block\n"); in _Block_dump() 646 cp += sprintf(cp, "isa: global Block\n"); in _Block_dump() 654 cp += sprintf(cp, "flags:"); in _Block_dump() 656 cp += sprintf(cp, " HASDESCRIPTOR"); in _Block_dump() 659 cp += sprintf(cp, " FREEME"); in _Block_dump() 662 cp += sprintf(cp, " ISGC"); in _Block_dump() 665 cp += sprintf(cp, " HASHELP"); in _Block_dump() 668 cp += sprintf(cp, " HASCTOR"); in _Block_dump() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/ |
| H A D | async-copy.ll | 6 declare void @llvm.nvvm.cp.async.wait.group(i32) 10 ; ALL: cp.async.wait_group 8; 11 tail call void @llvm.nvvm.cp.async.wait.group(i32 8) 12 ; ALL: cp.async.wait_group 0; 14 ; ALL: cp.async.wait_group 16; 19 declare void @llvm.nvvm.cp.async.wait.all() 23 ; ALL: cp.async.wait_all 24 tail call void @llvm.nvvm.cp.async.wait.all() 28 declare void @llvm.nvvm.cp.async.commit.group() 32 ; ALL: cp.async.commit_group [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | arm_cde.td | 62 defvar cp = (args imm_coproc:$cp); 64 def "" : CDEIntrinsic<u32, !con(cp, argsReg, argsImm), 71 CDEIntrinsic<u64, !con(cp, argsReg, argsImm), 92 defvar cp = (args imm_coproc:$cp); 98 (bitcast !con((CDEIRInt<NAME # "a", [f32]> $cp, 106 (bitcast !con((CDEIRInt<NAME # "a", [f64]> $cp, 124 (CDEIRInt<"vcx1q"> $cp, $imm)>; 178 ["cp", "acc", "n", "imm"], 182 ["cp", "n", "m", "imm"], 185 ["cp", "n", "m", "imm"], [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
| H A D | remove_if.pass.cpp | 63 Predicate cp(g); in main() local 75 Predicate cp(g); in main() local 88 Predicate cp(g); in main() local 99 Predicate cp(g); in main() local 102 assert(cp.count() == 0); in main() 112 Predicate cp(g); in main() local 141 Predicate cp(g); in main() local 153 Predicate cp(g); in main() local 166 Predicate cp(g); in main() local 177 Predicate cp(g); in main() local [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/AVR/ |
| H A D | inst-cpc.s | 7 cp r13, r12 8 cp r20, r0 9 cp r10, r31 10 cp r0, r0 12 ; CHECK: cp r13, r12 ; encoding: [0xdc,0x14] 13 ; CHECK: cp r20, r0 ; encoding: [0x40,0x15] 14 ; CHECK: cp r10, r31 ; encoding: [0xaf,0x16] 17 ; CHECK-INST: cp r13, r12 18 ; CHECK-INST: cp r20, r0 19 ; CHECK-INST: cp r10, r31 [all …]
|
| H A D | inst-cp.s | 7 cp r12, r2 8 cp r19, r0 9 cp r15, r31 10 cp r0, r0 12 ; CHECK: cp r12, r2 ; encoding: [0xc2,0x14] 13 ; CHECK: cp r19, r0 ; encoding: [0x30,0x15] 14 ; CHECK: cp r15, r31 ; encoding: [0xff,0x16] 17 ; CHECK-INST: cp r12, r2 18 ; CHECK-INST: cp r19, r0 19 ; CHECK-INST: cp r15, r31 [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | characters.cpp | 148 const char *cp, std::size_t bytes) { in DecodeRawCharacter() argument 158 const char *cp, std::size_t bytes) { in DecodeRawCharacter() argument 184 const char *cp, std::size_t bytes) { in DecodeEscapedCharacter() argument 185 if (cp[0] == '\\' && bytes >= 2) { in DecodeEscapedCharacter() 188 } else if (IsOctalDigit(cp[1])) { in DecodeEscapedCharacter() 197 IsHexadecimalDigit(cp[2]) && IsHexadecimalDigit(cp[3])) { in DecodeEscapedCharacter() 199 HexadecimalDigitValue(cp[3])), in DecodeEscapedCharacter() 201 } else if (IsLetter(cp[1])) { in DecodeEscapedCharacter() 209 return {static_cast<unsigned char>(cp[0]), 1}; in DecodeEscapedCharacter() 214 const char *cp, std::size_t bytes) { in DecodeEscapedCharacters() argument [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.ops/ |
| H A D | remove_if.pass.cpp | 50 Predicate cp(g); in main() local 53 assert(c.remove_if(std::ref(cp)) == 2); in main() 56 c.remove_if(std::ref(cp)); in main() 59 assert(cp.count() == 4); in main() 65 Predicate cp(even); in main() local 67 assert(c.remove_if(std::ref(cp)) == 2); in main() 69 c.remove_if(std::ref(cp)); in main() 72 assert(cp.count() == 4); in main() 92 Predicate cp(g); in main() local 96 c.remove_if(std::ref(cp)); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/ |
| H A D | string_h.pass.cpp | 25 char* cp = 0; in main() local 29 ASSERT_SAME_TYPE(char*, decltype(strcpy(cp, cpc))); in main() 30 ASSERT_SAME_TYPE(char*, decltype(strncpy(cp, cpc, s))); in main() 31 ASSERT_SAME_TYPE(char*, decltype(strcat(cp, cpc))); in main() 32 ASSERT_SAME_TYPE(char*, decltype(strncat(cp, cpc, s))); in main() 37 ASSERT_SAME_TYPE(size_t, decltype(strxfrm(cp, cpc, s))); in main() 40 ASSERT_SAME_TYPE(char*, decltype(strchr(cp, 0))); in main() 43 ASSERT_SAME_TYPE(char*, decltype(strpbrk(cp, cpc))); in main() 45 ASSERT_SAME_TYPE(char*, decltype(strrchr(cp, 0))); in main() 48 ASSERT_SAME_TYPE(char*, decltype(strstr(cp, cpc))); in main() [all …]
|
| H A D | stdio_h.pass.cpp | 109 char* cp = 0; in main() local 115 ((void)cp); // Prevent unused warning in main() 124 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); in main() 130 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main() 136 static_assert((std::is_same<decltype(snprintf(cp,0,"p")), int>::value), ""); in main() 140 static_assert((std::is_same<decltype(sprintf(cp," ")), int>::value), ""); in main() 147 static_assert((std::is_same<decltype(vsnprintf(cp,0," ",va)), int>::value), ""); in main() 151 static_assert((std::is_same<decltype(vsprintf(cp," ",va)), int>::value), ""); in main() 155 static_assert((std::is_same<decltype(fgets(cp,0,fp)), char*>::value), ""); in main() 164 static_assert((std::is_same<decltype(gets(cp)), char*>::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/strings/c.strings/ |
| H A D | cstring.pass.cpp | 25 char* cp = 0; in main() local 30 ASSERT_SAME_TYPE(char*, decltype(std::strcpy(cp, cpc))); in main() 31 ASSERT_SAME_TYPE(char*, decltype(std::strncpy(cp, cpc, s))); in main() 32 ASSERT_SAME_TYPE(char*, decltype(std::strcat(cp, cpc))); in main() 33 ASSERT_SAME_TYPE(char*, decltype(std::strncat(cp, cpc, s))); in main() 38 ASSERT_SAME_TYPE(std::size_t, decltype(std::strxfrm(cp, cpc, s))); in main() 41 ASSERT_SAME_TYPE(char*, decltype(std::strchr(cp, 0))); in main() 44 ASSERT_SAME_TYPE(char*, decltype(std::strpbrk(cp, cpc))); in main() 46 ASSERT_SAME_TYPE(char*, decltype(std::strrchr(cp, 0))); in main() 49 ASSERT_SAME_TYPE(char*, decltype(std::strstr(cp, cpc))); in main() [all …]
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | fallback_malloc.cpp | 144 std::printf("Freeing item at %d of size %d\n", offset_from_node(cp), cp->len); in fallback_free() 151 offset_from_node(p), offset_from_node(cp), in fallback_free() 152 offset_from_node(after(p)), offset_from_node(after(cp))); in fallback_free() 154 if (after(p) == cp) { in fallback_free() 159 p->len + cp->len); // make the free heap_node larger in fallback_free() 165 cp->len = static_cast<heap_size>(cp->len + p->len); in fallback_free() 167 freelist = cp; in fallback_free() 168 cp->next_node = p->next_node; in fallback_free() 170 prev->next_node = offset_from_node(cp); in fallback_free() 178 cp->next_node = offset_from_node(freelist); in fallback_free() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ |
| H A D | ref_2.pass.cpp | 57 unary_counting_predicate<bool(*)(int), int> cp(is5); in main() local 58 assert(!cp(6)); in main() 59 assert(cp.count() == 1); in main() 60 assert(call_pred(cp)); in main() 61 assert(cp.count() == 1); in main() 62 assert(call_pred(std::ref(cp))); in main() 63 assert(cp.count() == 2); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
| H A D | get_deleter.pass.cpp | 43 const UPtr& cp = p; in test_basic() local 45 ASSERT_SAME_TYPE(decltype(cp.get_deleter()), const Deleter&); in test_basic() 47 assert(cp.get_deleter().test() == 6); in test_basic() 53 const UPtr& cp = p; in test_basic() local 55 ASSERT_SAME_TYPE(decltype(cp.get_deleter()), Deleter&); in test_basic() 57 assert(cp.get_deleter().test() == 5); in test_basic()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/XCore/ |
| H A D | codemodel.ll | 23 ; LARGE: ldaw r11, cp[.LCPI{{[0-9_]*}}] 25 ; LARGE: ldaw r11, cp[.LCPI{{[0-9_]*}}] 47 ; CHECK: ldw r2, cp[.LCPI{{[0-9_]*}}] 67 ; LARGE: .section .cp.rodata,"ac",@progbits 77 ; LARGE: ldw r2, cp[.LCPI{{[0-9_]*}}] 81 ; LARGE: ldw r1, cp[.LCPI{{[0-9_]*}}] 84 ; LARGE: ldw r1, cp[.LCPI{{[0-9_]*}}] 87 ; LARGE: ldw r1, cp[.LCPI{{[0-9_]*}}] 90 ; LARGE: ldw r1, cp[.LCPI{{[0-9_]*}}] 130 ; LARGE: ldw r0, cp[.LCPI{{[0-9_]*}}] [all …]
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | pointer_promotion.c | 6 char *cp; in test() local 11 …if (ip < cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}} in test() 12 …if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct f… in test() 16 …if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')… in test()
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/X86/ |
| H A D | merge-cleanuppads.ll | 17 %cp = cleanuppad within none [] 18 tail call void @may_throw(i32 2) #2 [ "funclet"(token %cp) ] 19 cleanupret from %cp unwind label %ehcleanup2 28 ; CHECK: %[[cp:.*]] = cleanuppad within none [] 29 ; CHECK: tail call void @may_throw(i32 2) #2 [ "funclet"(token %[[cp]]) ] 30 ; CHECK: tail call void @may_throw(i32 1) #2 [ "funclet"(token %[[cp]]) ] 31 ; CHECK: cleanupret from %[[cp]] unwind to caller
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | regex2.h | 122 #define MCadd(p, cs, cp) mcadd(p, cs, cp) /* llvm_regcomp() internal fns */ argument 123 #define MCsub(p, cs, cp) mcsub(p, cs, cp) argument 124 #define MCin(p, cs, cp) mcin(p, cs, cp) argument
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | strip-multiple-files.test | 5 # RUN: cp %t.o %t.1.o 10 # RUN: cp %t.o %t.1.o 11 # RUN: cp %t.o %t.2.o 17 # RUN: cp %t.o %t.1.o 18 # RUN: cp %t.o %t.2.o 19 # RUN: cp %t.o %t.3.o 26 # RUN: cp %t.o %t.1.o 27 # RUN: cp %t.o %t.2.o
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | err_reference_bind_drops_quals.cpp | 5 void test1(ptr p, const ptr cp, restrict ptr rp, const restrict ptr crp, in test1() argument 9 ptr& p2 = cp; // expected-error {{drops 'const' qualifier}} in test1() 18 const ptr& cp2 = cp; in test1() 27 const volatile ptr& cvp2 = cp; in test1() 36 const restrict volatile ptr& crvp2 = cp; in test1()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/file.streams/c.files/ |
| H A D | cstdio.pass.cpp | 89 char* cp = 0; in main() local 95 ((void)cp); // Prevent unused warning in main() 100 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main() 104 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); in main() 108 static_assert((std::is_same<decltype(std::sprintf(cp," ")), int>::value), ""); in main() 113 static_assert((std::is_same<decltype(std::vsnprintf(cp,0," ",va)), int>::value), ""); in main() 117 static_assert((std::is_same<decltype(std::vsprintf(cp," ",va)), int>::value), ""); in main() 121 static_assert((std::is_same<decltype(std::fgets(cp,0,fp)), char*>::value), ""); in main() 152 static_assert((std::is_same<decltype(std::tmpnam(cp)), char*>::value), ""); in main() 160 static_assert((std::is_same<decltype(std::gets(cp)), char*>::value), ""); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Util/ |
| H A D | simplify-dbg-declare-load.ll | 16 %cp = alloca %foo, align 8 18 call void @llvm.dbg.declare(metadata %foo* %cp, metadata !1, metadata !16), !dbg !17 25 ; CHECK-NOT: call void @llvm.dbg.value(metadata %foo* %cp, 26 %0 = load %foo, %foo* %cp, align 8 35 ; DECLARE: %cp = alloca %foo, align 8 36 ; DECLARE: call void @llvm.dbg.declare(metadata %foo* %cp, 45 !1 = !DILocalVariable(name: "cp", scope: !2, file: !3, line: 106, type: !12)
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | implicit-instantiation-1.cpp | 21 void test_add(char *cp, int i, int *ip) { in test_add() argument 22 char* cp2 = add(cp, i); in test_add() 23 add(cp, cp); // expected-note{{instantiation of}} in test_add()
|