Home
last modified time | relevance | path

Searched full:cp (Results 1 – 25 of 1130) sorted by relevance

12345678910>>...46

/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DMisleadingIdentifier.cpp17 static bool isUnassignedAL(llvm::UTF32 CP) { in isUnassignedAL() argument
18 return (0x0600 <= CP && CP <= 0x07BF) || (0x0860 <= CP && CP <= 0x08FF) || in isUnassignedAL()
19 (0xFB50 <= CP && CP <= 0xFDCF) || (0xFDF0 <= CP && CP <= 0xFDFF) || in isUnassignedAL()
20 (0xFE70 <= CP && CP <= 0xFEFF) || in isUnassignedAL()
21 (0x00010D00 <= CP && CP <= 0x00010D3F) || in isUnassignedAL()
22 (0x00010F30 <= CP && CP <= 0x00010F6F) || in isUnassignedAL()
23 (0x0001EC70 <= CP && CP <= 0x0001ECBF) || in isUnassignedAL()
24 (0x0001ED00 <= CP && CP <= 0x0001ED4F) || in isUnassignedAL()
25 (0x0001EE00 <= CP && CP <= 0x0001EEFF); in isUnassignedAL()
29 static bool isUnassignedR(llvm::UTF32 CP) { in isUnassignedR() argument
[all …]
/llvm-project/clang/test/CoverageMapping/
H A Dmcdc-error-conditions.cpp18 bool func_isR(unsigned CP) { in func_isR() argument
21 return (CP == 0x0590) || (CP == 0x05BE) || (CP == 0x05C0) || (CP == 0x05C3) || in func_isR()
22 (CP == 0x05C6) || (0x05C8 <= CP && CP <= 0x05CF) || in func_isR()
23 (0x05D0 <= CP && CP <= 0x05EA) || (0x05EB <= CP && CP <= 0x05EE) || in func_isR()
24 (0x05EF <= CP && CP <= 0x05F2) || (0x05F3 <= CP && CP <= 0x05F4) || in func_isR()
25 (0x05F5 <= CP && CP <= 0x05FF) || (0x07C0 <= CP && CP <= 0x07C9) || in func_isR()
26 (0x07CA <= CP && CP <= 0x07EA) || (0x07F4 <= CP && CP <= 0x07F5) || in func_isR()
27 (CP == 0x07FA) || (0x07FB <= CP && CP <= 0x07FC) || in func_isR()
28 (0x07FE <= CP && CP <= 0x07FF) || (0x0800 <= CP && CP <= 0x0815) || in func_isR()
29 (CP == 0x081A) || (CP == 0x0824) || (CP == 0x0828) || in func_isR()
[all …]
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dasync-copy.ll6 declare void @llvm.nvvm.cp.async.wait.group(i32)
10 ; CHECK: cp.async.wait_group 8;
11 tail call void @llvm.nvvm.cp.async.wait.group(i32 8)
12 ; CHECK: cp.async.wait_group 0;
13 tail call void @llvm.nvvm.cp.async.wait.group(i32 0)
14 ; CHECK: cp.async.wait_group 16;
15 tail call void @llvm.nvvm.cp.async.wait.group(i32 16)
19 declare void @llvm.nvvm.cp.async.wait.all()
23 ; CHECK: cp.async.wait_all
24 tail call void @llvm.nvvm.cp
[all...]
/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp149 // Take a CP and assign addresses and sizes to everything. Returns false if the
151 static bool layoutOptionalHeader(COFFParser &CP) {
152 if (!CP.isPE())
154 unsigned PEHeaderSize = CP.is64Bit() ? sizeof(object::pe32plus_header)
156 CP.Obj.Header.SizeOfOptionalHeader =
158 CP.Obj.OptionalHeader->Header.NumberOfRvaAndSize; in layoutOptionalHeader()
188 // Take a CP and assign addresses and sizes to everything. Returns false if the in toDebugS()
190 static bool layoutCOFF(COFFParser &CP) { in toDebugS()
193 CP.SectionTableStart =
194 CP
157 layoutOptionalHeader(COFFParser & CP) layoutOptionalHeader() argument
196 layoutCOFF(COFFParser & CP) layoutCOFF() argument
343 initializeOptionalHeader(COFFParser & CP,uint16_t Magic,T Header) initializeOptionalHeader() argument
397 writeCOFF(COFFParser & CP,raw_ostream & OS) writeCOFF() argument
626 COFFParser CP(Doc, ErrHandler); yaml2coff() local
[all...]
/llvm-project/clang/include/clang/Basic/
H A Darm_cde.td62 defvar cp = (args imm_coproc:$cp);
64 def "" : CDEIntrinsic<u32, !con(cp, argsReg, argsImm),
65 !con((CDEIRInt<NAME> $cp), cgArgs, (? $imm))>;
66 def a : CDEIntrinsic<u32, !con(cp, (args u32:$acc), argsReg, argsImm),
67 !con((CDEIRInt<NAME # "a"> $cp, $acc),
71 CDEIntrinsic<u64, !con(cp, argsReg, argsImm),
72 (seq !con((CDEIRInt<NAME # "d"> $cp), cgArgs, (? $imm)):$pair,
76 CDEIntrinsic<u64, !con(cp, (args u64:$acc), argsReg, argsImm),
79 !con((CDEIRInt<NAME # "da"> $cp, $acc_lo, $acc_hi), cgArgs,
92 defvar cp = (args imm_coproc:$cp);
[all …]
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Dprotoent.cpp14 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 Dnetent.cpp16 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/flang/lib/Parser/
H A Dcharacters.cpp148 const char *cp, std::size_t bytes) { in DecodeRawCharacter() argument
150 return {*reinterpret_cast<const std::uint8_t *>(cp), 1}; in DecodeRawCharacter()
158 const char *cp, std::size_t bytes) { in DecodeRawCharacter() argument
159 auto p{reinterpret_cast<const std::uint8_t *>(cp)}; in DecodeRawCharacter()
184 const char *cp, std::size_t bytes) { in DecodeEscapedCharacter() argument
185 if (cp[0] == '\\' && bytes >= 2) { in DecodeEscapedCharacter()
186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
188 } else if (IsOctalDigit(cp[1])) { in DecodeEscapedCharacter()
190 char32_t code{static_cast<char32_t>(DecimalDigitValue(cp[1]))}; in DecodeEscapedCharacter()
192 for (; code <= 037 && len < maxLen && IsOctalDigit(cp[len]); ++len) { in DecodeEscapedCharacter()
[all …]
/llvm-project/libcxx/test/std/localization/
H A Dcodecvt_unicode.pass.cpp52 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf32_in_ok()
116 // UTF-8 string of 1-byte CP, 2-byte CP, 3-byte CP and 4-byte CP in utf8_to_utf32_in_partial()
130 {1, 0, 0, 0}, // no space for first CP in utf8_to_utf32_in_partial()
132 {3, 1, 1, 1}, // no space for second CP in utf8_to_utf32_in_partial()
133 {2, 2, 1, 1}, // incomplete second CP in utf8_to_utf32_in_partial()
134 {2, 1, 1, 1}, // incomplete second CP, and no space for it in utf8_to_utf32_in_partial()
136 {6, 2, 3, 2}, // no space for third CP in utf8_to_utf32_in_partial()
137 {4, 3, 3, 2}, // incomplete third CP in utf8_to_utf32_in_partial()
138 {5, 3, 3, 2}, // incomplete third CP in utf8_to_utf32_in_partial()
139 {4, 2, 3, 2}, // incomplete third CP, and no space for it in utf8_to_utf32_in_partial()
[all …]
/llvm-project/llvm/test/MC/AVR/
H A Dinst-cp.s5 cp r12, r2
6 cp r19, r0
7 cp r15, r31
8 cp r0, r0
10 ; CHECK: cp r12, r2 ; encoding: [0xc2,0x14]
11 ; CHECK: cp r19, r0 ; encoding: [0x30,0x15]
12 ; CHECK: cp r15, r31 ; encoding: [0xff,0x16]
13 ; CHECK: cp r0, r0 ; encoding: [0x00,0x14]
15 ; CHECK-INST: cp r12, r2
16 ; CHECK-INST: cp r1
[all...]
H A Dinst-cpc.s5 cp r13, r12
6 cp r20, r0
7 cp r10, r31
8 cp r0, r0
10 ; CHECK: cp r13, r12 ; encoding: [0xdc,0x14]
11 ; CHECK: cp r20, r0 ; encoding: [0x40,0x15]
12 ; CHECK: cp r10, r31 ; encoding: [0xaf,0x16]
13 ; CHECK: cp r0, r0 ; encoding: [0x00,0x14]
15 ; CHECK-INST: cp r13, r12
16 ; CHECK-INST: cp r2
[all...]
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
H A Dremove_if.pass.cpp63 Predicate cp(g); in main() local
64 do_remove_if(c1, std::ref(cp), 4); in main()
66 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); in main()
75 Predicate cp(g); in main() local
76 do_remove_if(c1, std::ref(cp), 4); in main()
78 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); in main()
88 Predicate cp(g); in main() local
89 do_remove_if(c1, std::ref(cp), 0); in main()
91 assert(cp.count() == static_cast<std::size_t>(std::distance(std::begin(t1), std::end(t1)))); in main()
99 Predicate cp(g); in main() local
[all …]
/llvm-project/clang/test/Refactor/
H A Dtool-selection-option.c1 // RUN: rm -f %t.cp.c
2 // RUN: cp %s %t.cp.c
3 // RUN: clang-refactor local-rename -selection=%t.cp.c:6:5 -new-name=test -v %t.cp.c -- | FileCheck…
4 // RUN: clang-refactor local-rename -selection=%t.cp.c:6:5-6:9 -new-name=test -v %t.cp.c -- | FileC…
9 // CHECK1-NEXT: -selection={{.*}}.cp.c:6:5 -> {{.*}}.cp.c:6:5
12 // CHECK2-NEXT: -selection={{.*}}.cp.c:6:5 -> {{.*}}.cp.c:6:9
14 // RUN: not clang-refactor local-rename -selection=%s:6:5 -new-name=test -v %t.cp.c -- 2>&1 | FileC…
/llvm-project/flang/test/Semantics/
H A Dc_loc01.f9014 type(c_ptr) cp local
30 cp = c_loc(notATarget)
32 cp = c_loc(pptr)
34 cp = c_loc(arr(1:3:2))
36 cp = c_loc(arr(3:1))
38 cp = c_loc(poly)
39 cp = c_loc(clen) ! ok
41 cp = c_loc(nclen)
43 cp = c_loc(ch(2:1))
45 cp
[all...]
/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c623 char *cp = buffer; in _Block_dump() local
625 sprintf(cp, "NULL passed to _Block_dump\n"); in _Block_dump()
632 cp += sprintf(cp, "^%p (new layout) =\n", (void *)closure); in _Block_dump()
634 cp += sprintf(cp, "isa: NULL\n"); in _Block_dump()
637 cp += sprintf(cp, "isa: stack Block\n"); in _Block_dump()
640 cp += sprintf(cp, "isa: malloc heap 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()
649 cp += sprintf(cp, "isa: finalizing Block\n"); in _Block_dump()
652 cp += sprintf(cp, "isa?: %p\n", (void *)closure->isa); in _Block_dump()
[all …]
/llvm-project/llvm/test/CodeGen/PowerPC/
H A Dremove-redundant-moves.ll108 ; CHECK-BE: xxspltw [[CP:[0-9]+]], 34, 0
109 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]]
110 ; CHECK-BE: xscvspdpn 1, [[CP]]
123 ; CHECK-BE: xxspltw [[CP:[0-9]+]], 34, 1
124 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]]
125 ; CHECK-BE: xscvspdpn 1, [[CP]]
138 ; CHECK-BE: xxspltw [[CP:[0-9]+]], 34, 2
139 ; CHECK-BE: xvcvsxwsp [[CP]], [[CP]]
140 ; CHECK-BE: xscvspdpn 1, [[CP]]
153 ; CHECK-BE: xxspltw [[CP:[0-9]+]], 34, 3
[all …]
/llvm-project/libcxx/test/std/containers/sequences/list/list.ops/
H A Dremove_if.pass.cpp50 Predicate cp(g); in main() local
52 ASSERT_SAME_TYPE(L::size_type, decltype(c.remove_if(std::ref(cp)))); in main()
53 assert(c.remove_if(std::ref(cp)) == 2); in main()
55 ASSERT_SAME_TYPE(void, decltype(c.remove_if(std::ref(cp)))); 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()
[all …]
/llvm-project/llvm/test/CodeGen/XCore/
H A Dcodemodel.ll23 ; LARGE: ldaw r11, cp[.LCPI{{[0-9_]*}}]
25 ; LARGE: ldaw r11, cp[.LCPI{{[0-9_]*}}]
40 ; CHECK: .section .cp.rodata.cst4,"aMc",@progbits,4
47 ; CHECK: ldw r2, cp[.LCPI{{[0-9_]*}}]
65 ; LARGE: .section .cp.rodata.cst4,"aMc",@progbits,4
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_]*}}]
[all …]
/llvm-project/mlir/test/Conversion/NVVMToLLVM/
H A Dnvvm-to-llvm.mlir68 // CHECK: nvvm.cp.async.shared.global %{{.*}}, %{{.*}}, 16, cache = ca : !llvm.ptr<3>, !llvm.ptr<1>
69 nvvm.cp.async.shared.global %dst, %src, 16, cache = ca : !llvm.ptr<3>, !llvm.ptr<1>
70 // CHECK: nvvm.cp.async.shared.global %{{.*}}, %{{.*}}, 16, cache = cg : !llvm.ptr<3>, !llvm.ptr<1>
71 nvvm.cp.async.shared.global %dst, %src, 16, cache = cg : !llvm.ptr<3>, !llvm.ptr<1>
77 // CHECK: nvvm.cp.async.shared.global %{{.*}}, %{{.*}}, 16, cache = cg, %{{.*}} : !llvm.ptr<3>, !llvm.ptr<1>, i32
78 nvvm.cp.async.shared.global %dst, %src, 16, cache = cg, %cpSize : !llvm.ptr<3>, !llvm.ptr<1>, i32
79 // CHECK: nvvm.cp.async.shared.global %{{.*}}, %{{.*}}, 4, cache = ca, %{{.*}} : !llvm.ptr<3>, !llvm.ptr<1>, i32
80 nvvm.cp.async.shared.global %dst, %src, 4, cache = ca, %cpSize : !llvm.ptr<3>, !llvm.ptr<1>, i32
86 // CHECK: nvvm.cp.async.mbarrier.arrive %{{.*}}
87 nvvm.cp
[all...]
/llvm-project/llvm/lib/MC/
H A DConstantPools.cpp81 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section); in getConstantPool() local
82 if (CP == ConstantPools.end()) in getConstantPool()
85 return &CP->second; in getConstantPool()
94 ConstantPool &CP) { in emitConstantPool() argument
95 if (!CP.empty()) { in emitConstantPool()
97 CP.emitEntries(Streamer); in emitConstantPool()
105 ConstantPool &CP = CPI.second; in emitAll() local
107 emitConstantPool(Streamer, Section, CP); in emitAll()
113 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection() local
114 emitConstantPool(Streamer, Section, *CP); in emitForCurrentSection()
[all …]
/llvm-project/libcxxabi/src/
H A Dfallback_malloc.cpp191 struct heap_node* cp = ((struct heap_node*)ptr) - 1; // retrieve the chunk in fallback_free() local
197 std::printf("Freeing item at %d of size %d\n", offset_from_node(cp), cp->len); in fallback_free()
203 std::printf(" p=%d, cp=%d, after(p)=%d, after(cp)=%d\n", in fallback_free()
204 offset_from_node(p), offset_from_node(cp), in fallback_free()
205 offset_from_node(after(p)), offset_from_node(after(cp))); in fallback_free()
207 if (after(p) == cp) { in fallback_free()
212 p->len + cp->len); // make the free heap_node larger in fallback_free()
214 } else if (after(cp) in fallback_free()
[all...]
/llvm-project/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp242 bool joinIntervals(CoalescerPair &CP);
245 bool joinVirtRegs(CoalescerPair &CP);
253 bool joinReservedPhysReg(CoalescerPair &CP);
261 LaneBitmask LaneMask, CoalescerPair &CP,
267 LaneBitmask LaneMask, const CoalescerPair &CP);
273 bool adjustCopiesBackFrom(const CoalescerPair &CP, MachineInstr *CopyMI);
288 std::pair<bool, bool> removeCopyByCommutingDef(const CoalescerPair &CP,
292 bool removePartialRedundancy(const CoalescerPair &CP, MachineInstr &CopyMI);
296 bool reMaterializeTrivialDef(const CoalescerPair &CP, MachineInstr *CopyMI,
300 bool canJoinPhys(const CoalescerPair &CP);
615 adjustCopiesBackFrom(const CoalescerPair & CP,MachineInstr * CopyMI) adjustCopiesBackFrom() argument
805 removeCopyByCommutingDef(const CoalescerPair & CP,MachineInstr * CopyMI) removeCopyByCommutingDef() argument
1088 removePartialRedundancy(const CoalescerPair & CP,MachineInstr & CopyMI) removePartialRedundancy() argument
1287 reMaterializeTrivialDef(const CoalescerPair & CP,MachineInstr * CopyMI,bool & IsDefCopy) reMaterializeTrivialDef() argument
1907 canJoinPhys(const CoalescerPair & CP) canJoinPhys() argument
1974 CoalescerPair CP(*TRI); joinCopy() local
2219 joinReservedPhysReg(CoalescerPair & CP) joinReservedPhysReg() argument
2431 const CoalescerPair &CP; global() member in __anon87e9921d0311::JoinVals
2590 JoinVals(LiveRange & LR,Register Reg,unsigned SubIdx,LaneBitmask LaneMask,SmallVectorImpl<VNInfo * > & newVNInfo,const CoalescerPair & cp,LiveIntervals * lis,const TargetRegisterInfo * TRI,bool SubRangeJoin,bool TrackSubRegLiveness) JoinVals() argument
3516 joinSubRegRanges(LiveRange & LRange,LiveRange & RRange,LaneBitmask LaneMask,const CoalescerPair & CP) joinSubRegRanges() argument
3580 mergeSubRangeInto(LiveInterval & LI,const LiveRange & ToMerge,LaneBitmask LaneMask,CoalescerPair & CP,unsigned ComposeSubRegIdx) mergeSubRangeInto() argument
3608 joinVirtRegs(CoalescerPair & CP) joinVirtRegs() argument
3782 joinIntervals(CoalescerPair & CP) joinIntervals() argument
3831 checkMergingChangesDbgValues(CoalescerPair & CP,LiveRange & LHS,JoinVals & LHSVals,LiveRange & RHS,JoinVals & RHSVals) checkMergingChangesDbgValues() argument
[all...]
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
H A Dstrip-debug.test2 # RUN: cp %t %t3
16 # RUN: cp %t %t4
20 # RUN: cp %t %t5
24 # RUN: cp %t %t6
35 # RUN: cp %t %t.duplicate
36 # RUN: cp %t2 %t.duplicate.stripped
48 # RUN: cp %t %t1.o
49 # RUN: cp %s %t2.txt
50 # RUN: cp %t %t3.o
59 # RUN: cp %t.non-object.a %t.non-object.copy.a
[all …]
H A Dstrip-multiple-files.test5 # 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/clang/test/Modules/
H A Dfmodules-validate-once-per-build-session.c26 // RUN: cp %t/modules-cache/Foo.pcm %t/modules-to-compare/Foo-before.pcm
27 // RUN: cp %t/modules-cache/Bar.pcm %t/modules-to-compare/Bar-before.pcm
28 // RUN: cp %t/modules-cache-user/Foo.pcm %t/modules-to-compare/Foo-before-user.pcm
29 // RUN: cp %t/modules-cache-user/Bar.pcm %t/modules-to-compare/Bar-before-user.pcm
39 // RUN: cp %t/modules-cache/Foo.pcm %t/modules-to-compare/Foo-after.pcm
40 // RUN: cp %t/modules-cache/Bar.pcm %t/modules-to-compare/Bar-after.pcm
41 // RUN: cp %t/modules-cache-user/Foo.pcm %t/modules-to-compare/Foo-after-user.pcm
42 // RUN: cp %t/modules-cache-user/Bar.pcm %t/modules-to-compare/Bar-after-user.pcm
63 // RUN: cp %t/modules-cache/Foo.pcm %t/modules-to-compare/Foo-after.pcm
64 // RUN: cp %t/modules-cache/Bar.pcm %t/modules-to-compare/Bar-after.pcm
[all …]

12345678910>>...46