Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 246) sorted by relevance

12345678910

/llvm-project-15.0.7/clang/test/Sema/
H A Dblock-misc.c163 void (^bp)(int); in test17() local
166 void *vp = bp; in test17()
168 f(1 ? bp : vp); in test17()
169 f(1 ? vp : bp); in test17()
170 f(1 ? bp : bp1); in test17()
171 (void)(bp > rp); // expected-error {{invalid operands}} in test17()
172 (void)(bp > 0); // expected-error {{invalid operands}} in test17()
173 (void)(bp > bp); // expected-error {{invalid operands}} in test17()
174 (void)(bp > vp); // expected-error {{invalid operands}} in test17()
177 (void)(bp == 0); in test17()
[all …]
H A Dobjc-bool-constant-conversion-fixit.m45 void f(BoolProp *bp) {
46 bp.b = 43;
47 // CHECK: bp.b = 43 ? YES : NO;
49 [bp setB:43];
50 // CHECK: [bp setB:43 ? YES : NO];
54 bp.b = i;
55 // CHECK: bp.b = i ? YES : NO;
57 bp.b = i + 1;
58 // CHECK: bp.b = (i + 1) ? YES : NO;
/llvm-project-15.0.7/llvm/test/CodeGen/ARC/
H A Dldst.ll6 define i32 @load32(i32* %bp) nounwind {
16 define i16 @load16(i16* %bp) nounwind {
26 define i8 @load8(i8* %bp) nounwind {
207 %bp = bitcast i8* %p to i32*
221 %bp = bitcast i8* %p to i32*
232 %bp = bitcast i8* %p to i16*
243 %bp = bitcast i8* %p to i32*
244 store i32 %v, i32* %bp, align 2
254 %bp = bitcast i8* %p to i16*
255 store i16 %v, i16* %bp, align 1
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_sparc.cpp28 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument
55 while (next_bp != bp && IsAligned(next_bp, sizeof(uhwptr)) && i++ < 8) { in UnwindFast()
59 if (next_bp == bp) in UnwindFast()
60 bp = prev_bp; in UnwindFast()
65 while (IsValidFrame(bp, stack_top, bottom) && IsAligned(bp, sizeof(uhwptr)) && in UnwindFast()
67 uhwptr pc1 = ((uhwptr *)bp)[15]; in UnwindFast()
78 bottom = bp; in UnwindFast()
79 bp = (uptr)((uhwptr *)bp)[14] + STACK_BIAS; in UnwindFast()
H A Dsanitizer_stacktrace.h120 void Unwind(uptr pc, uptr bp, void *context, bool request_fast,
122 top_frame_bp = (max_depth > 0) ? bp : 0;
130 UnwindImpl(pc, bp, context, request_fast, max_depth);
133 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
143 void UnwindImpl(uptr pc, uptr bp, void *context, bool request_fast,
147 void UnwindFast(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
179 uptr bp = GET_CURRENT_FRAME(); \
190 uptr bp = GET_CURRENT_FRAME(); \
H A Dsanitizer_stacktrace.cpp75 static inline uhwptr *GetCanonicFrame(uptr bp, in GetCanonicFrame() argument
80 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; in GetCanonicFrame()
81 uhwptr *bp_prev = (uhwptr *)bp; in GetCanonicFrame()
93 return (uhwptr*)bp; in GetCanonicFrame()
97 void BufferedStackTrace::UnwindFast(uptr pc, uptr bp, uptr stack_top, in UnwindFast() argument
105 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom); in UnwindFast()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
H A Duninitialized_fill.pass.cpp55 B* bp = (B*)pool; in main() local
60 std::uninitialized_fill(bp, bp+N, B()); in main()
69 std::uninitialized_fill(bp, bp+2, B()); in main()
71 assert(bp[i].data_ == 1); in main()
77 Nasty* bp = (Nasty*)pool; in main() local
80 std::uninitialized_fill(bp, bp+N, Nasty()); in main()
82 assert(bp[i].i_ == 23); in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Daddress-space-conversion.cpp52 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_static_cast() argument
54 (void)static_cast<A_ptr>(bp); in test_static_cast()
74 (void)static_cast<A_ptr_1>(bp); // expected-error{{is not allowed}} in test_static_cast()
103 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_dynamic_cast() argument
105 (void)dynamic_cast<A_ptr>(bp); in test_dynamic_cast()
133 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_reinterpret_cast() argument
138 (void)reinterpret_cast<A_ptr>(bp); in test_reinterpret_cast()
159 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_cstyle_cast() argument
164 (void)(A_ptr)(bp); in test_cstyle_cast()
172 (void)(A_ptr_1)(bp); in test_cstyle_cast()
[all …]
/llvm-project-15.0.7/lldb/utils/lui/
H A Dbreakwin.py49 bp = target.GetBreakpointAtIndex(self.getSelected())
50 bp.SetEnabled(not bp.IsEnabled())
58 bp = target.GetBreakpointAtIndex(self.getSelected())
59 target.BreakpointDelete(bp.id)
70 bp = target.GetBreakpointAtIndex(i)
71 if bp.IsInternal():
73 text = lldbutil.get_description(bp)
79 if bp.IsEnabled():
87 if self.showDetails.setdefault(bp.id, False):
88 for location in bp:
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
H A Duninitialized_fill_n.pass.cpp54 B* bp = (B*)pool; in main() local
59 std::uninitialized_fill_n(bp, 5, B()); in main()
68 B* r = std::uninitialized_fill_n(bp, 2, B()); in main()
69 assert(r == bp + 2); in main()
71 assert(bp[i].data_ == 1); in main()
78 Nasty* bp = (Nasty*)pool; in main() local
81 std::uninitialized_fill_n(bp, N, Nasty()); in main()
83 assert(bp[i].i_ == 23); in main()
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DExceptionBreakpoint.cpp16 if (bp.IsValid()) in SetBreakpoint()
20 bp = g_vsc.target.BreakpointCreateForException(language, catch_value, in SetBreakpoint()
24 bp.AddName(BreakpointBase::GetBreakpointLabel()); in SetBreakpoint()
28 if (!bp.IsValid()) in ClearBreakpoint()
30 g_vsc.target.BreakpointDelete(bp.GetID()); in ClearBreakpoint()
31 bp = lldb::SBBreakpoint(); in ClearBreakpoint()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/
H A DVisualStudio.py124 bp = self._debugger.BreakpointLastHit
147 for bp in self._debugger.Breakpoints:
148 bp.Delete()
193 for bp in bps_hit:
196 assert bp.Parent
197 vsbp = VSBreakpoint(PurePath(bp.Parent.File), bp.Parent.FileLine,
198 bp.Parent.FileColumn, bp.Parent.Condition)
231 assert bp.Parent == None
232 this_vsbp = VSBreakpoint(PurePath(bp.File), bp.FileLine,
233 bp.FileColumn, bp.Condition)
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsigned-char-bool-conversion.m34 void t2(BoolProp *bp) {
35 bp.p = YES;
36 bp.p = NO;
37 bp.p = boolean;
38 bp.p = fl; // expected-warning {{implicit conversion from floating-point type 'float' to 'BOOL'}}
39 bp.p = i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
40 bp.p = b;
41 bp.p = bp.p;
43 bp.p = 1;
68 void t4(BoolProp *bp) {
[all …]
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointList.cpp18 static void NotifyChange(const BreakpointSP &bp, BreakpointEventType event) { in NotifyChange() argument
19 Target &target = bp->GetTarget(); in NotifyChange()
22 new Breakpoint::BreakpointEventData(event, bp)); in NotifyChange()
49 [&](const BreakpointSP &bp) { return bp->GetID() == break_id; }); in Remove() argument
104 [&](const BreakpointSP &bp) { return bp->AllowDelete(); }); in RemoveAllowed() argument
111 [&](const BreakpointSP &bp) { return bp->GetID() == break_id; }); in GetBreakpointIDIterator() argument
118 [&](const BreakpointSP &bp) { return bp->GetID() == break_id; }); in GetBreakpointIDConstIterator() argument
/llvm-project-15.0.7/clang/utils/
H A Dclangdiag.py114 bp = target.BreakpointCreateBySourceRegex(name, lldb.SBFileSpec())
115 bp.AddName("clang::Diagnostic")
131 bp = target.BreakpointCreateBySourceRegex(args.id, lldb.SBFileSpec())
132 bp.AddName("clang::Diagnostic")
140 bp = target.BreakpointCreateBySourceRegex(m.group(1), lldb.SBFileSpec())
141 bp.AddName("clang::Diagnostic")
144 bp = target.BreakpointCreateByName('DiagnosticsEngine::Report')
145 bp.SetScriptCallbackFunction('clangdiag.setDiagBreakpoint')
146 bp.AddName("clang::Diagnostic")
/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestWriteMemory.py19 bp = target.BreakpointCreateByAddress(0x1000)
20 self.assertTrue(bp.IsValid())
21 self.assertEqual(bp.GetNumLocations(), 1)
22 bp.SetEnabled(True)
23 self.assertTrue(bp.IsEnabled())
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/cpp/
H A DTestCPPBreakpointLocations.py25 bp = target.BreakpointCreateByName(name)
27 bp.GetNumLocations(),
32 for bp_loc in bp:
86 bp = target.BreakpointCreateByName(name)
89 for bp_loc in bp}
95 bp_addresses = {bp_loc.GetLoadAddress() for bp_loc in bp}
/llvm-project-15.0.7/libcxxabi/test/
H A Dtest_aux_runtime.pass.cpp28 B *bp = NULL; in bad_typeid_test() local
29 try {bool b = typeid(*bp) == typeid (A); ((void)b); } in bad_typeid_test()
44 B *bp = (B*)&d; // cast needed to break protection in bad_cast_test() local
45 try { D &dr = dynamic_cast<D&> (*bp); ((void)dr); } in bad_cast_test()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan.cpp228 void PrintWarning(uptr pc, uptr bp) { in PrintWarning() argument
229 PrintWarningWithOrigin(pc, bp, __msan_origin_tls); in PrintWarning()
242 GET_FATAL_STACK_TRACE_PC_BP(pc, bp); in PrintWarningWithOrigin()
333 PrintWarningWithOrigin(pc, bp, o); \
367 PrintWarning(pc, bp); in __msan_warning()
379 PrintWarning(pc, bp); in __msan_warning_noreturn()
389 PrintWarningWithOrigin(pc, bp, origin); in __msan_warning_with_origin()
401 PrintWarningWithOrigin(pc, bp, origin); in __msan_warning_with_origin_noreturn()
500 GET_FATAL_STACK_TRACE_PC_BP(pc, bp); in __msan_set_expect_umr()
550 __msan::PrintWarningWithOrigin(pc, bp, in __msan_check_mem_is_initialized()
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dbsearch.cpp24 const int *bp = in cmp_pos() local
26 if (!bp) in cmp_pos()
27 bp = arr1 + array_size(arr1); in cmp_pos()
28 return bp - ap; in cmp_pos()
/llvm-project-15.0.7/llvm/test/MC/X86/
H A Dx86_errors.s33 movl %eax,(%bp,%si)
36 movl %eax,(%bp,%si,2)
42 movl %eax,(%bp,%bx)
95 lea (%si,%bp), %ax
98 lea (%di,%bp), %ax
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dsse-regcall.ll88 ; WIN32: pushl {{%e(si|di|bx|bp)}}
89 ; WIN32: pushl {{%e(si|di|bx|bp)}}
90 ; WIN32: popl {{%e(si|di|bx|bp)}}
91 ; WIN32: popl {{%e(si|di|bx|bp)}}
95 ; WIN64: pushq {{%r(bp|bx|1[0-5])}}
96 ; WIN64: pushq {{%r(bp|bx|1[0-5])}}
97 ; WIN64: pushq {{%r(bp|bx|1[0-5])}}
98 ; WIN64: popq {{%r(bp|bx|1[0-5])}}
99 ; WIN64: popq {{%r(bp|bx|1[0-5])}}
100 ; WIN64: popq {{%r(bp|bx|1[0-5])}}
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_rtl.cpp91 ReportGenericError(pc, bp, sp, addr, is_write, size, exp_arg, fatal); in ReportGenericErrorWrapper()
105 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \
110 ReportGenericError(pc, bp, sp, addr, is_write, size, exp, true); \
115 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, false); \
133 ReportGenericError(pc, bp, sp, addr, is_write, size, 0, true); \
191 ReportGenericError(pc, bp, sp, addr, false, size, 0, true);
200 ReportGenericError(pc, bp, sp, addr, false, size, exp, true); in __asan_exp_loadN()
209 ReportGenericError(pc, bp, sp, addr, false, size, 0, false); in __asan_loadN_noabort()
218 ReportGenericError(pc, bp, sp, addr, true, size, 0, true); in __asan_storeN()
227 ReportGenericError(pc, bp, sp, addr, true, size, exp, true); in __asan_exp_storeN()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dext-vector.c76 void test6(float4 *ap, float4 *bp, float c) { in test6() argument
78 float4 b = *bp; in test6()
130 void test7(int4 *ap, int4 *bp, int c) { in test7() argument
132 int4 b = *bp; in test7()
196 void test8(float4 *ap, float4 *bp, int c) { in test8() argument
198 float4 b = *bp; in test8()
252 void test14(uint4 *ap, uint4 *bp, unsigned c) { in test14() argument
254 uint4 b = *bp; in test14()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dearly-if-spare.ll9 define void @fred(i32 %n, i32* %bp) #0 {
20 %call = tail call i32 @foo(i32* %bp) nounwind
21 %call1 = tail call i32 @bar(i32* %bp) nounwind
25 %arrayidx = getelementptr inbounds i32, i32* %bp, i32 %i.017
28 %arrayidx3 = getelementptr inbounds i32, i32* %bp, i32 %add
34 %arrayidx4 = getelementptr inbounds i32, i32* %bp, i32 %i.017

12345678910