| /llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unhandled-self-assignment.cpp | 40 PtrField &operator=(const PtrField &object); 46 PtrField &PtrField::operator=(const PtrField &object) { in operator =() 55 InlineDefinition &operator=(const InlineDefinition &object) { in operator =() 67 UniquePtrField &operator=(const UniquePtrField &object) { in operator =() 79 SharedPtrField &operator=(const SharedPtrField &object) { in operator =() 91 WeakPtrField &operator=(const WeakPtrField &object) { in operator =() 103 AutoPtrField &operator=(const AutoPtrField &object) { in operator =() 116 CArrayField &operator=(const CArrayField &object) { in operator =() 130 CopyConstruct &operator=(const CopyConstruct &object) { in operator =() 146 AssignOperator &operator=(const AssignOperator &object) { in operator =() 44 operator =(const PtrField & object) operator =() argument 53 operator =(const InlineDefinition & object) operator =() argument 65 operator =(const UniquePtrField & object) operator =() argument 77 operator =(const SharedPtrField & object) operator =() argument 89 operator =(const WeakPtrField & object) operator =() argument 101 operator =(const AutoPtrField & object) operator =() argument 114 operator =(const CArrayField & object) operator =() argument 128 operator =(const CopyConstruct & object) operator =() argument 144 operator =(const AssignOperator & object) operator =() argument 158 operator =(const NotSelfCheck & object) operator =() argument 177 operator =(const TemplatePtrField<T> & object) operator =() argument 190 operator =(const TemplateCArrayField<T> & object) operator =() argument 204 operator =(const WrongTemplateCopyAndMove<T> & object) operator =() argument 236 operator =(const SelfCheck1 & object) operator =() argument 249 operator =(const SelfCheck2 & object) operator =() argument 263 operator =(const SelfCheck3 & object) operator =() argument 276 operator =(const SelfCheck4 & object) operator =() argument 290 operator =(const TemplateSelfCheck<T> & object) operator =() argument 319 operator =(PassedByValue object) operator =() argument 331 operator =(const CopyAndSwap1 & object) operator =() argument 340 doSwap(CopyAndSwap1 & object) doSwap() argument 349 operator =(CopyAndSwap2 object) operator =() argument 357 doSwap(CopyAndSwap2 & object) doSwap() argument 366 operator =(const CopyAndSwap3 & object) operator =() argument 379 operator =(const TemplateCopyAndSwap<T> & object) operator =() argument 392 operator =(const CopyAndMove1 & object) operator =() argument 405 operator =(const CopyAndMove2 & object) operator =() argument 417 operator =(const TemplateCopyAndMove<T> & object) operator =() argument 431 operator =(const TemplateCopyAndMove2<T> & object) operator =() argument 443 operator =(MoveAssignOperator && object) operator =() argument 477 operator =(const TrivialFields & object) operator =() argument 493 operator =(const AssignIsForwarded & object) operator =() argument 513 operator =(const AssertGuard & object) operator =() argument 551 operator =(const CustomPtrField & object) operator =() argument 565 operator =(const ArrayCopy & object) operator =() argument 578 operator =(const GetterSetter & object) operator =() argument 598 operator =(const CustomSelfCheck & object) operator =() argument [all...] |
| /llvm-project/llvm/test/CodeGen/AArch64/ |
| H A D | sve-ld1r.mir | 9 %object = alloca i64, align 8 10 ; Reads from %object at offset 63 * readsize 15 %object = alloca i64, align 8 16 ; Reads from %object at offset 64 * readsize 21 %object = alloca i64, align 8 22 ; Reads from %object at offset -1 * readsize 31 - { id: 1, name: object, type: default, offset: 0, size: 8, alignment: 8 } 40 … ; CHECK: renamable $z0 = LD1RB_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2) 41 …; CHECK: renamable $z0 = LD1RB_H_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2) 42 …; CHECK: renamable $z0 = LD1RB_S_IMM renamable $p0, $sp, 63 :: (load (s8) from %ir.object, align 2) [all …]
|
| H A D | sve-ldstnt1.mir | 9 %object = alloca <vscale x 2 x i64>, align 8 10 ; Reads from %object at offset 7 * readsize 15 %object = alloca <vscale x 2 x i64>, align 8 16 ; Reads from %object at offset -8 * readsize 22 %object = alloca <vscale x 2 x i64>, align 8 23 ; Reads from %object at offset 8 * readsize 28 %object = alloca <vscale x 2 x i64>, align 8 29 ; Reads from %object at offset -9 * readsize 38 …- { id: 1, name: object, type: default, offset: 0, size: 32, alignment: 16, stack-id: scalable-vec… 51 …; CHECK-NEXT: renamable $z0 = LDNT1B_ZRI renamable $p0, $sp, 7 :: (load (s8) from %ir.object, alig… [all …]
|
| H A D | sve-ldnf1.mir | 9 %object = alloca <vscale x 2 x i64>, align 8 10 ; Reads from %object at offset 63 * readsize 15 %object = alloca <vscale x 2 x i64>, align 8 16 ; Reads from %object at offset 63 * readsize 22 %object = alloca <vscale x 2 x i64>, align 8 23 ; Reads from %object at offset 64 * readsize 28 %object = alloca <vscale x 2 x i64>, align 8 29 ; Reads from %object at offset -1 * readsize 38 …- { id: 1, name: object, type: default, offset: 0, size: 32, alignment: 16, stack-id: scalable-vec… 51 …IMM renamable $p0, $sp, 7, implicit $ffr, implicit-def $ffr :: (load (s8) from %ir.object, align 2) [all …]
|
| /llvm-project/llvm/test/ExecutionEngine/RuntimeDyld/X86/ |
| H A D | CommonSymbols_allocation.s | 17 .type o1,@object # 19 .type o2,@object # 21 .type o3,@object # 23 .type o4,@object # 25 .type o5,@object # 27 .type o6,@object # 29 .type o7,@object # 31 .type o8,@object # 33 .type o9,@object # 35 .type o10,@object # [all …]
|
| /llvm-project/llvm/test/Bitcode/ |
| H A D | metadata-2.ll | 2 …%0 = type { %object.ModuleInfo.__vtbl*, i8*, %"byte[]", %1, %"ClassInfo[]", i32, void ()*, void ()… 3 %1 = type { i64, %object.ModuleInfo* } ; type %1 5 %"ClassInfo[]" = type { i64, %object.ClassInfo** } 6 %"Interface[]" = type { i64, %object.Interface* } 7 %"ModuleInfo[]" = type { i64, %object.ModuleInfo** } 8 %ModuleReference = type { %ModuleReference*, %object.ModuleInfo* } 9 %"OffsetTypeInfo[]" = type { i64, %object.OffsetTypeInfo* } 11 …object.ClassInfo = type { %object.ClassInfo.__vtbl*, i8*, %"byte[]", %"byte[]", %"void*[]", %"Inte… 12 …object.ClassInfo.__vtbl = type { %object.ClassInfo*, %"byte[]" (%object.Object*)*, i64 (%object.Ob… 13 %object.Interface = type { %object.ClassInfo*, %"void*[]", i64 } [all …]
|
| /llvm-project/libcxx/test/libcxx/utilities/function.objects/func.require/ |
| H A D | bullet_4_5_6.pass.cpp | 24 // Bullets 4, 5 and 6 handle the case where 'f' is a pointer to member object. 25 // Bullet 4 only handles the cases where t1 is an object of type T or a 31 // 2) The return type is not less cv-qualified that the object that contains it. 32 // 3) The return type is not less cv-qualified than object type. 33 // 4) The call object is perfectly forwarded. 34 // 5) Classes that are publicly derived from 'T' are accepted as the call object 36 // as the call object. 37 // 7) Pointers to T or a type derived from T can be used as the call object. 50 TestMemberObject() : object() {} member 51 Tp object; [all...] |
| H A D | invoke_helpers.h | 145 To object; member 150 explicit DerefToType(Up const& val) : object(val) {} in DerefToType() 152 To& operator*() const volatile { return const_cast<To&>(object); } 161 To object; member 166 explicit DerefPropType(Up const& val) : object(val) {} in DerefPropType() 169 To& operator*() { return object; } 170 To const& operator*() const { return object; } 171 To volatile& operator*() volatile { return object; } 172 To const volatile& operator*() const volatile { return object; } 174 To& operator*() & { return object; } [all …]
|
| /llvm-project/mlir/lib/Bindings/Python/ |
| H A D | IRModule.h | 48 /// reference to its underlying python object. 52 PyObjectRef(T *referrent, nanobind::object object) in PyObjectRef() argument 53 : referrent(referrent), object(std::move(object)) { in PyObjectRef() 56 assert(this->object && "cannot construct PyObjectRef with null object"); in PyObjectRef() 59 : referrent(other.referrent), object(std::move(other.object)) { in PyObjectRef() 61 assert(!other.object); in PyObjectRef() 96 pybind11::object object; global() variable [all...] |
| /llvm-project/clang/test/Modules/ |
| H A D | method_pool.m | 14 void testMethod1(id object) { 15 [object method1]; 18 void testMethod2(id object) { 19 [object method2:1]; 22 void testMethod4(id object) { 23 …[object method4]; // expected-warning{{instance method '-method4' not found (return type defaults … 26 void testMethod5(id object, D* d) { 27 [object method5:d]; 34 void testMethod1Again(id object) { 35 [object method1]; [all …]
|
| /llvm-project/llvm/test/tools/llvm-nm/X86/ |
| H A D | radix.s | 10 .type i0,@object # @i0 18 .type i1,@object # @i1 26 .type i2,@object # @i2 33 .type i3,@object # @i3 40 .type i4,@object # @i4 47 .type i5,@object # @i5 54 .type i6,@object # @i6 61 .type i7,@object # @i7 68 .type i8,@object # @i8 75 .type i9,@object # @i9 [all …]
|
| /llvm-project/clang/lib/Headers/ |
| H A D | stdatomic.h | 141 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) argument 144 #define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST) argument 147 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) argument 150 #define atomic_compare_exchange_strong(object, expected, desired) __c11_atomic_compare_exchange_strong(object, expected, desired, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) argument 153 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(object, expecte argument 135 atomic_store(object,desired) global() argument 138 atomic_load(object) global() argument 156 atomic_fetch_or(object,operand) global() argument 159 atomic_fetch_xor(object,operand) global() argument 162 atomic_fetch_and(object,operand) global() argument 182 atomic_flag_test_and_set(object) global() argument 183 atomic_flag_test_and_set_explicit(object,order) global() argument 185 atomic_flag_clear(object) global() argument 186 atomic_flag_clear_explicit(object,order) global() argument [all...] |
| /llvm-project/clang/test/Driver/ |
| H A D | hip-code-object-version.hip | 1 // Check bundle ID for code object version 4. 4 // RUN: -mcode-object-version=4 \ 8 // V4: "-mcode-object-version=4" 9 // V4: "-mllvm" "--amdhsa-code-object-version=4" 12 // Check bundle ID for code object version 5. 15 // RUN: -mcode-object-version=5 \ 19 // V5: "-mcode-object-version=5" 20 // V5: "-mllvm" "--amdhsa-code-object-version=5" 23 // Check bundle ID for code object version 6. 26 // RUN: -mcode-object [all...] |
| /llvm-project/mlir/include/mlir/Bindings/Python/ |
| H A D | PybindAdaptors.h | 41 /// Helper to convert a presumed MLIR API object to a capsule, accepting either 45 /// contained API pointer as a capsule). Throws a type error if the object is 47 /// with a raw handle (unowned). The returned object's lifetime may not extend 50 static py::object mlirApiObjectToCapsule(py::handle apiObject) { in mlirApiObjectToCapsule() 52 return py::reinterpret_borrow<py::object>(apiObject); in mlirApiObjectToCapsule() 56 (llvm::Twine("Expected an MLIR object (got ") + repr + ").").str()); in mlirApiObjectToCapsule() 61 // Note: Currently all of the following support cast from py::object to the 66 /// Casts object <-> MlirAffineMap. 71 py::object capsule = mlirApiObjectToCapsule(src); 79 py::object capsul [all...] |
| /llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.h | 21 namespace object { 64 Error getMachORelocationValueString(const object::MachOObjectFile *Obj, 65 const object::RelocationRef &RelRef, 68 const object::MachOObjectFile * 69 getMachODSymObject(const object::MachOObjectFile *O, StringRef Filename, 70 std::unique_ptr<object::Binary> &DSYMBinary, 74 void parseInputMachO(object::MachOUniversalBinary *UB); 76 void printMachOUnwindInfo(const object::MachOObjectFile *O); 77 void printMachOFileHeader(const object::ObjectFile *O); 78 void printMachOLoadCommands(const object::ObjectFile *O); [all …]
|
| H A D | llvm-objdump.h | 30 namespace object { 39 } // namespace object 76 const object::ObjectFile &O; 83 Dumper(const object::ObjectFile &O); 94 void printSymbol(const object::SymbolRef &Symbol, 95 ArrayRef<object::VersionEntry> SymbolVersions, 101 std::unique_ptr<Dumper> createCOFFDumper(const object::COFFObjectFile &Obj); 102 std::unique_ptr<Dumper> createELFDumper(const object::ELFObjectFileBase &Obj); 103 std::unique_ptr<Dumper> createMachODumper(const object::MachOObjectFile &Obj); 104 std::unique_ptr<Dumper> createWasmDumper(const object [all...] |
| /llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.h | 40 COFFLinkGraphBuilder(const object::COFFObjectFile &Obj, 47 const object::COFFObjectFile &getObject() const { return Obj; } 88 object::COFFObjectFile::section_iterator_range sections() const { 94 /// Error(const object::RelocationRef&, 95 /// const object::SectionRef&, Section &) 98 Error forEachRelocation(const object::SectionRef &RelSec, 106 Error forEachRelocation(const object::SectionRef &RelSec, ClassT *Instance, 146 object::COFFSymbolRef Symbol, 147 const object::coff_section *Section); 152 object [all...] |
| /llvm-project/clang/test/SemaObjC/ |
| H A D | method-prototype-scope.m | 3 int object; 8 - Func:(int)XXXX, id object; // expected-warning {{use of C-style parameters in Objective-C method … 10 - doSomethingElseWith:(id)object; 12 …*)doSomethingWith:(NSString *)object and:(NSArray *)object; // expected-warning {{redeclaration of… 18 … *)doSomethingWith:(NSString *)object and:(NSArray *)object // expected-warning {{redefinition of … 21 …return object; // expected-warning {{incompatible pointer types returning 'NSArray *' from a funct… 24 - Func:(int)XXXX, id object { return object; } // expected-warning {{use of C-style parameters in O… 26 - doSomethingElseWith:(id)object { return object; } 33 - doSomethingWith:(struct S *)object and:(struct P *)obj; // expected-warning {{declaration of 'str…
|
| /llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.h | 145 ErrorOr<object::SectionRef> 146 getSectionContaining(const object::COFFObjectFile &COFF, uint64_t Address); 148 ErrorOr<object::SymbolRef> 149 getSymbol(const object::COFFObjectFile &COFF, uint64_t Address, 152 ErrorOr<object::SymbolRef> 153 getRelocatedSymbol(const object::COFFObjectFile &COFF, 154 const object::SectionRef &Section, uint64_t Offset); 156 ErrorOr<object::SymbolRef> 157 getSymbolForLocation(const object::COFFObjectFile &COFF, 158 const object::SectionRef &Section, [all …]
|
| /llvm-project/mlir/include/mlir/Dialect/GPU/IR/ |
| H A D | CompilationAttrs.td | 169 // GPU object attribute. 185 def GPU_ObjectAttr : GPU_Attr<"Object", "object"> { 187 A GPU object attribute glues together a GPU target, the object kind, a 188 binary string with the object, the object properties, and kernel metadata, 189 encapsulating how the object was generated and its properties with the 190 object itself. 192 There are four object formats: 216 #gpu.object<#rocd [all...] |
| /llvm-project/lld/test/ELF/Inputs/ |
| H A D | aarch64-memtag-globals.s | 105 .type global,@object 113 .type global_untagged,@object // @global_untagged 120 .type const_global,@object // @const_global 130 .type hidden_attr_global,@object 139 .type hidden_attr_const_global,@object 148 .type pointer_to_global,@object 158 .type pointer_inside_global,@object 167 .type pointer_to_global_end,@object 176 .type pointer_past_global_end,@object 185 .type pointer_to_global_untagged,@object [all …]
|
| /llvm-project/clang/test/Analysis/ |
| H A D | retain-release-path-notes.m | 48 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into… 52 …ted-note{{Call to function 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef… 53 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into… 57 …id leaked = [foo methodWithValue]; // expected-note{{Method returns an Objective-C object with a +… 58 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou… 59 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +2 retain cou… 60 …[leaked release]; // expected-note{{Reference count decremented. The object now has a +1 retain co… 61 …return; // expected-warning{{leak}} expected-note{{Object leaked: object allocated and stored into… 65 …id leaked = foo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 … 66 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou… [all …]
|
| /llvm-project/clang/test/Index/Core/ |
| H A D | index-dependent-source.cpp | 48 void indexSimpleDependentDeclarations(const TemplateClass<T, S> &object) { in indexSimpleDependentDeclarations() argument 50 object.function(); in indexSimpleDependentDeclarations() 52 object.field; in indexSimpleDependentDeclarations() 54 object.baseFunction(); in indexSimpleDependentDeclarations() 56 object.baseField; in indexSimpleDependentDeclarations() 58 object.baseTemplateFunction(); in indexSimpleDependentDeclarations() 60 object.baseTemplateField; in indexSimpleDependentDeclarations() 64 object.variable; in indexSimpleDependentDeclarations() 66 object.staticFunction(); in indexSimpleDependentDeclarations() 68 object.Struct; in indexSimpleDependentDeclarations() [all …]
|
| /llvm-project/llvm/test/CodeGen/AMDGPU/ |
| H A D | generic-targets-require-v6.ll | 1 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX9-V5 %s 2 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx9-4-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX9-4-V5 %s 3 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx10-1-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX101-V5 %s 4 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx10-3-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX103-V5 %s 5 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx11-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX11-V5 %s 6 ; RUN: not llc -mtriple=amdgcn -mcpu=gfx12-generic --amdhsa-code-object-version=5 -o - %s 2>&1 | FileCheck --check-prefix=GFX12-V5 %s 8 ; RUN: llc -mtriple=amdgcn -mcpu=gfx9-generic --amdhsa-code-object-version=6 -o - %s 9 ; RUN: llc -mtriple=amdgcn -mcpu=gfx9-4-generic --amdhsa-code-object-version=6 -o - %s 10 ; RUN: llc -mtriple=amdgcn -mcpu=gfx10-1-generic --amdhsa-code-object-version=6 -o - %s 11 ; RUN: llc -mtriple=amdgcn -mcpu=gfx10-3-generic --amdhsa-code-object [all...] |
| /llvm-project/lldb/tools/lldb-dap/ |
| H A D | JSONUtils.cpp | 73 // Gets a string from a JSON object using the key, or returns an empty string. 88 // Gets an unsigned integer from a JSON object using the key, or returns the in GetBoolean() 290 // "type": "object", 357 llvm::json::Object object; 358 EmplaceSafeString(object, "name", name.str()); 363 object.try_emplace("presentationHint", "locals"); 365 object.try_emplace("presentationHint", "registers"); 368 object.try_emplace("variablesReference", variablesReference); in CreateBreakpoint() 369 object.try_emplace("expensive", expensive); in CreateBreakpoint() 370 object in CreateBreakpoint() 302 llvm::json::Object object; CreateScope() local 371 llvm::json::Object object; CreateBreakpoint() local 425 llvm::json::Object object; CreateModule() local 545 llvm::json::Object object; CreateExceptionBreakpointFilter() local 618 llvm::json::Object object; CreateSource() local 714 llvm::json::Object object; CreateStackFrame() local 785 llvm::json::Object object; CreateThread() local 1204 llvm::json::Object object; CreateVariable() local 1258 llvm::json::Object object; CreateCompileUnit() local [all...] |