| /llvm-project/lldb/test/API/python_api/default-constructor/ |
| H A D | TestDefaultConstructorForAPIObjects.py | 24 obj = lldb.SBAddress() 26 print(obj) 27 self.assertFalse(obj) 31 sb_address.fuzz_obj(obj) 34 obj = lldb.SBBlock() 36 print(obj) 37 self.assertFalse(obj) 41 sb_block.fuzz_obj(obj) 44 obj = lldb.SBBreakpoint() 46 print(obj) [all …]
|
| H A D | sb_value.py | 8 def fuzz_obj(obj): argument 9 obj.GetError() 10 obj.GetID() 11 obj.GetName() 12 obj.GetTypeName() 13 obj.GetByteSize() 14 obj.IsInScope() 15 obj.GetFormat() 16 obj.SetFormat(lldb.eFormatBoolean) 17 obj.GetValue() [all …]
|
| H A D | sb_debugger.py | 8 def fuzz_obj(obj): argument 9 obj.SetAsync(True) 10 obj.SetAsync(False) 11 obj.GetAsync() 12 obj.SkipLLDBInitFiles(True) 13 obj.SetInputFileHandle(None, True) 14 obj.SetOutputFileHandle(None, True) 15 obj.SetErrorFileHandle(None, True) 16 obj.SetInputString("") 17 obj.GetInputFileHandle() [all …]
|
| H A D | sb_target.py | 8 def fuzz_obj(obj): argument 9 obj.GetProcess() 12 obj.Launch(listener, None, None, None, None, None, None, 0, True, error) 13 obj.LaunchSimple(None, None, None) 14 obj.AttachToProcessWithID(listener, 123, error) 15 obj.AttachToProcessWithName(listener, "lldb", False, error) 16 obj.ConnectRemote(listener, "connect://to/here", None, error) 17 obj.GetExecutable() 18 obj.GetNumModules() 19 obj.GetModuleAtIndex(0xFFFFFFFF) [all …]
|
| H A D | sb_process.py | 8 def fuzz_obj(obj): argument 9 obj.GetTarget() 10 obj.GetByteOrder() 11 obj.PutSTDIN("my data") 12 obj.GetSTDOUT(6) 13 obj.GetSTDERR(6) 16 obj.ReportEventState(event, None) 19 obj.AppendEventStateReport(event, lldb.SBCommandReturnObject()) 21 obj.RemoteAttachToProcessWithID(123, error) 22 obj.RemoteLaunch(None, None, None, None, None, None, 0, False, error) [all …]
|
| H A D | sb_breakpointname.py | 8 def fuzz_obj(obj): argument 9 obj.IsValid() 10 obj.GetName() 11 obj.SetEnabled(True) 12 obj.IsEnabled() 13 obj.SetOneShot(True) 14 obj.IsOneShot() 15 obj.SetIgnoreCount(1) 16 obj.GetIgnoreCount() 17 obj.SetCondition("1 == 2") [all …]
|
| H A D | sb_frame.py | 8 def fuzz_obj(obj): argument 9 obj.GetFrameID() 10 obj.GetPC() 11 obj.SetPC(0xFFFFFFFF) 12 obj.GetSP() 13 obj.GetFP() 14 obj.GetPCAddress() 15 obj.GetSymbolContext(0) 16 obj.GetModule() 17 obj.GetCompileUnit() [all …]
|
| H A D | sb_breakpoint.py | 9 def fuzz_obj(obj): argument 10 obj.GetID() 11 obj.ClearAllBreakpointSites() 12 obj.FindLocationByAddress(sys.maxsize) 13 obj.FindLocationIDByAddress(sys.maxsize) 14 obj.FindLocationByID(0) 15 obj.GetLocationAtIndex(0) 16 obj.SetEnabled(True) 17 obj.IsEnabled() 18 obj.GetHitCount() [all …]
|
| H A D | sb_thread.py | 8 def fuzz_obj(obj): argument 9 obj.GetStopReason() 10 obj.GetStopReasonDataCount() 11 obj.GetStopReasonDataAtIndex(100) 12 obj.GetStopDescription(256) 13 obj.GetThreadID() 14 obj.GetIndexID() 15 obj.GetName() 16 obj.GetQueueName() 17 obj.StepOver(lldb.eOnlyDuringStepping) [all …]
|
| H A D | sb_error.py | 8 def fuzz_obj(obj): argument 9 obj.GetCString() 10 obj.Fail() 11 obj.Success() 12 obj.GetError() 13 obj.GetType() 14 obj.SetError(5, lldb.eErrorTypeGeneric) 15 obj.SetErrorToErrno() 16 obj.SetErrorToGenericError() 17 obj.SetErrorString("xyz") [all …]
|
| H A D | sb_breakpointlocation.py | 8 def fuzz_obj(obj): argument 9 obj.GetAddress() 10 obj.GetLoadAddress() 11 obj.SetEnabled(True) 12 obj.IsEnabled() 13 obj.SetCondition("i >= 10") 14 obj.GetCondition() 15 obj.SetThreadID(0) 16 obj.GetThreadID() 17 obj.SetThreadIndex(0) [all …]
|
| H A D | sb_module.py | 9 def fuzz_obj(obj): argument 10 obj.GetFileSpec() 11 obj.GetPlatformFileSpec() 12 obj.SetPlatformFileSpec(lldb.SBFileSpec()) 13 obj.GetUUIDString() 14 obj.ResolveFileAddress(sys.maxsize) 15 obj.ResolveSymbolContextForAddress(lldb.SBAddress(), 0) 16 obj.GetDescription(lldb.SBStream()) 17 obj.GetNumSymbols() 18 obj.GetSymbolAtIndex(sys.maxsize) [all …]
|
| /llvm-project/libcxx/test/std/atomics/atomics.types.generic/ |
| H A D | bool.pass.cpp | 62 volatile std::atomic<bool> obj(true); in main() local 63 assert(obj == true); in main() 65 bool lockfree = obj.is_lock_free(); in main() 72 obj.store(false); in main() 73 assert(obj == false); in main() 74 obj.store(true, std::memory_order_release); in main() 75 assert(obj == true); in main() 76 assert(obj.load() == true); in main() 77 assert(obj.load(std::memory_order_acquire) == true); in main() 78 assert(obj.exchange(false) == true); in main() [all …]
|
| H A D | integral.pass.cpp | 101 A obj(T(0)); in do_test() local 102 assert(obj == T(0)); in do_test() 104 bool lockfree = obj.is_lock_free(); in do_test() 111 obj.store(T(0)); in do_test() 112 assert(obj == T(0)); in do_test() 113 obj.store(T(1), std::memory_order_release); in do_test() 114 assert(obj == T(1)); in do_test() 115 assert(obj.load() == T(1)); in do_test() 116 assert(obj.load(std::memory_order_acquire) == T(1)); in do_test() 117 assert(obj.exchange(T(2)) == T(1)); in do_test() [all …]
|
| H A D | address.pass.cpp | 82 A obj(T(0)); in do_test() 83 assert(obj == T(0)); in do_test() 85 bool lockfree = obj.is_lock_free(); in do_test() 92 obj.store(T(0)); in do_test() 93 assert(obj == T(0)); in do_test() 94 obj.store(T(1), std::memory_order_release); in do_test() 95 assert(obj == T(1)); in do_test() 96 assert(obj.load() == T(1)); in do_test() 97 assert(obj.load(std::memory_order_acquire) == T(1)); in do_test() 98 assert(obj in do_test() 81 A obj(T(0)); do_test() local [all...] |
| /llvm-project/llvm/utils/mlgo-utils/tests/corpus/ |
| H A D | extract_ir_test.py | 16 obj = extract_ir_lib.convert_compile_command_to_objectfile( 24 print(obj.input_obj()) 26 print(obj.relative_output_path()) 28 print(obj.cmd_file()) 30 print(obj.bc_file()) 32 print(obj.thinlto_index_file()) 42 obj = extract_ir_lib.convert_compile_command_to_objectfile( 56 print(obj.input_obj()) 58 print(obj.relative_output_path()) 60 print(obj [all...] |
| /llvm-project/clang/test/Analysis/ |
| H A D | osobject-retain-release.cpp | 82 bool write_into_out_param_on_success(OS_RETURNS_RETAINED OSObject **obj); 85 OSObject *obj; in use_out_param() local 86 if (write_into_out_param_on_success(&obj)) { in use_out_param() 87 obj->release(); in use_out_param() 92 OSObject *obj; in use_out_param_leak() local 93 …write_into_out_param_on_success(&obj); // expected-note-re{{Call to function 'write_into_out_param… in use_out_param_leak() 97 bool write_into_out_param_on_failure(OS_RETURNS_RETAINED_ON_ZERO OSObject **obj); 100 OSObject *obj; in use_out_param_leak2() local 101 …write_into_out_param_on_failure(&obj); // expected-note-re{{Call to function 'write_into_out_param… in use_out_param_leak2() 106 OSObject *obj; in use_out_param_on_failure() local [all …]
|
| H A D | ivars.m | 13 void testInvalidation(Root *obj) { 14 int savedID = obj->uniqueID; 15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}} 17 [obj refreshID]; 18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}} 90 forObject:(ManyIvars *)obj { 92 if (obj->s.a != 1) return; 93 if (obj->s.b != 2) return; 94 if (obj->c != 3) return; 95 if (obj->d != 4) return; [all …]
|
| /llvm-project/polly/lib/External/isl/ |
| H A D | isl_bind_domain_templ.c | 20 static __isl_give TYPE *FN(TYPE,merge_param)(__isl_take TYPE *obj, int i, in FN() 28 space = FN(TYPE,get_domain_space)(obj); in FN() 34 obj = FN(TYPE,pullback_multi_aff)(obj, ma); in FN() 35 space = FN(TYPE,get_domain_space)(obj); in FN() 36 obj = FN(TYPE,drop_dims)(obj, isl_dim_in, i, 1); in FN() 37 obj = FN(TYPE,move_dims)(obj, isl_dim_in, i, isl_dim_param, param, 1); in FN() 39 obj = FN(TYPE,reset_domain_space)(obj, space); in FN() 41 return obj; in FN() 51 static __isl_give TYPE *FN(TYPE,equate_initial_params)(__isl_take TYPE *obj, in FN() 59 return FN(TYPE,free)(obj); in FN() [all …]
|
| /llvm-project/clang/test/CodeGenCXX/ |
| H A D | microsoft-abi-vtables-single-inheritance.cpp | 23 void use(A *obj) { obj->f(); } in use() argument 43 void use(B *obj) { obj->f(); } in use() argument 58 void use(C *obj) { obj->f(); } in use() argument 73 void use(D *obj) { obj->f(); } in use() argument 93 void use(E *obj) { obj->i(); } in use() argument 111 void use(F *obj) { obj->i(); } in use() argument 132 void use(G *obj) { obj->j(); } in use() argument 152 void use(I *obj) { obj->f(); } in use() argument 171 void use(J *obj) { obj->foo(42); } in use() argument 190 void use(K *obj) { obj->foo(42.0f); } in use() argument [all …]
|
| /llvm-project/llvm/test/Analysis/ScalarEvolution/ |
| H A D | pointer-select.ll | 17 define ptr @pointer_select_same_object_constant_offsets(i1 %cond, ptr %obj) { 20 ; CHECK-NEXT: %true_ptr = getelementptr i8, ptr %obj, i64 42 21 ; CHECK-NEXT: --> (42 + %obj) U: full-set S: full-set 22 ; CHECK-NEXT: %false_ptr = getelementptr i8, ptr %obj, i64 24 23 ; CHECK-NEXT: --> (24 + %obj) U: full-set S: full-set 28 %true_ptr = getelementptr i8, ptr %obj, i64 42 29 %false_ptr = getelementptr i8, ptr %obj, i64 24 34 define ptr @pointer_select_same_object_variable_offsets(i1 %cond, ptr %obj, i64 %true_off, i64 %fal… 37 ; CHECK-NEXT: %true_ptr = getelementptr i8, ptr %obj, i64 %true_off 38 ; CHECK-NEXT: --> (%true_off + %obj) U: full-set S: full-set [all …]
|
| /llvm-project/llvm/test/CodeGen/SPARC/ |
| H A D | tls.ll | 6 …ux -relocation-model=static -filetype=obj | llvm-readobj -r --symbols - | FileCheck %s --check-p… 7 …inux -relocation-model=static -filetype=obj | llvm-readobj -r --symbols - | FileCheck %s --check-p… 8 …nux -relocation-model=pic -filetype=obj | llvm-readobj -r --symbols - | FileCheck %s --check-… 9 …linux -relocation-model=pic -filetype=obj | llvm-readobj -r --symbols - | FileCheck %s --check-… 78 ; v8abs-obj: Relocations [ 79 ; v8abs-obj: 0x{{[0-9,A-F]+}} R_SPARC_TLS_LE_HIX22 local_symbol 0x0 80 ; v8abs-obj: 0x{{[0-9,A-F]+}} R_SPARC_TLS_LE_LOX10 local_symbol 0x0 81 ; v8abs-obj: 0x{{[0-9,A-F]+}} R_SPARC_HI22 _GLOBAL_OFFSET_TABLE_ 0x0 82 ; v8abs-obj: 0x{{[0-9,A-F]+}} R_SPARC_LO10 _GLOBAL_OFFSET_TABLE_ 0x0 83 ; v8abs-obj: 0x{{[0-9,A-F]+}} R_SPARC_TLS_IE_HI22 extern_symbol 0x0 [all …]
|
| /llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/ |
| H A D | intrinsics.ll | 37 %obj.x = select i1 %c, ptr addrspace(1) %obj1.12, ptr addrspace(1) %obj2.16 38 %obj.y = select i1 %c, ptr addrspace(1) %obj2.16, ptr addrspace(1) %obj1.12 39 %obj.x.base = call ptr addrspace(1) @llvm.experimental.gc.get.pointer.base.p1.p1(ptr addrspace(1) %obj.x) 40 %obj.x.offset = call i64 @llvm.experimental.gc.get.pointer.offset.p1(ptr addrspace(1) %obj.x) 41 %obj.x.base2 = call ptr addrspace(1) @llvm.experimental.gc.get.pointer.base.p1.p1(ptr addrspace(1) %obj.x) 42 %obj.x.offset2 = call i64 @llvm.experimental.gc.get.pointer.offset.p1(ptr addrspace(1) %obj [all...] |
| /llvm-project/openmp/runtime/src/ |
| H A D | kmp_itt.h | 93 #define KMP_ITT_TASKWAIT_STARTING(obj) \ argument 95 obj = __kmp_itt_taskwait_object(gtid); \ 96 if (obj != NULL) { \ 97 __kmp_itt_taskwait_starting(gtid, obj); \ 100 #define KMP_ITT_TASKWAIT_FINISHED(obj) \ argument 101 if (UNLIKELY(obj != NULL)) \ 102 __kmp_itt_taskwait_finished(gtid, obj); 223 #define KMP_FSYNC_PREPARE(obj) __itt_fsync_prepare((void *)(obj)) argument 224 #define KMP_FSYNC_CANCEL(obj) __itt_fsync_cancel((void *)(obj)) argument 225 #define KMP_FSYNC_ACQUIRED(obj) __itt_fsync_acquired((void *)(obj)) argument [all …]
|
| /llvm-project/lld/test/COFF/ |
| H A D | thinlto-index-file-object-prefix-replace.ll | 4 ; RUN: opt -module-summary %s -o %t/old/subdir/1.obj 5 ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t/old/subdir/2.obj 6 ; RUN: opt -module-summary %p/Inputs/thinlto-empty.ll -o %t/old/3.obj 9 …-entry:main -thinlto-index-only:%t/1.txt %t/old/subdir/1.obj %t/old/subdir/2.obj %t/old/3.obj -ou… 10 ; RUN: ls %t/old/subdir/1.obj.thinlto.bc 11 ; RUN: ls %t/old/subdir/2.obj.thinlto.bc 12 ; RUN: ls %t/old/3.obj.thinlto.bc 14 ; CHECK-NO-REPLACE: old/subdir/1.obj 15 ; CHECK-NO-REPLACE-NEXT: old/subdir/2.obj 16 ; CHECK-NO-REPLACE-NEXT: old/3.obj [all …]
|