Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestSideEffects.cpp38 for (MemoryEffects::EffectInstance instance : effects) { in runOnOperation() local
41 if (isa<MemoryEffects::Allocate>(instance.getEffect())) in runOnOperation()
43 else if (isa<MemoryEffects::Free>(instance.getEffect())) in runOnOperation()
45 else if (isa<MemoryEffects::Read>(instance.getEffect())) in runOnOperation()
47 else if (isa<MemoryEffects::Write>(instance.getEffect())) in runOnOperation()
50 if (instance.getValue()) in runOnOperation()
52 else if (SymbolRefAttr symbolRef = instance.getSymbolRef()) in runOnOperation()
55 diag << " on resource '" << instance.getResource()->getName() << "'"; in runOnOperation()
67 for (const TestEffects::EffectInstance &instance : testEffects) { in runOnOperation() local
69 << instance.getParameters(); in runOnOperation()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dflexible-array.m12 int last; // expected-note {{next instance variable declaration is here}}
29 int last; // expected-note {{next instance variable declaration is here}}
36 int last; // expected-note {{next instance variable declaration is here}}
45 int last; // expected-note {{next instance variable declaration is here}}
49 // ## Non-instance variables in implementation.
71 int last; // expected-note {{next instance variable declaration is here}}
80 int last; // expected-note {{next instance variable declaration is here}}
87 int last; // expected-note {{next instance variable declaration is here}}
119 // ## Synthesized instance variable.
126 // ## Synthesize other instance variables.
[all …]
H A Divar-lookup.m47 // expected-error{{instance variable 'b' accessed in class method}}
60 int IVAR; // expected-error {{instance variable is already declared}}
67 int IVAR; // expected-error {{instance variable is already declared}}
73 int IVAR; // expected-error {{instance variable is already declared}}
74 int PIVAR; // expected-error {{instance variable is already declared}}
80 int IVAR; // expected-error {{instance variable is already declared}}
146 // expected-error {{instance variable is already declared}}
151 int d; // expected-error {{instance variable is already declared}}
152 NSString *e_strong; // expected-error {{instance variable is already declared}}
153 NSData *f_weak; // expected-error {{instance variable is already declared}}
[all …]
H A Divar-access-tests.m33 access = s->private; // expected-error {{instance variable 'private' is private}}
36 access = m->private; // expected-error {{instance variable 'private' is private}}
49 access = s->private; // expected-error {{instance variable 'private' is private}}
52 access = m->private; // expected-error {{instance variable 'private' is private}}
64 access = s->private; // expected-error {{instance variable 'private' is private}}
65 access = s->protected; // expected-error {{instance variable 'protected' is protected}}
67 access = m->private; // expected-error {{instance variable 'private' is private}}
68 access = m->protected; // expected-error {{instance variable 'protected' is protected}}
76 access = s->private; // expected-error {{instance variable 'private' is private}}
77 access = s->protected; // expected-error {{instance variable 'protected' is protected}}
H A Dwarn-direct-ivar-access.m7 …id _isTickledPink; // expected-error {{existing instance variable '_isTickledPink' for property 'i…
22 …_myLeader = _isTickledPink; // expected-warning {{instance variable '_myLeader' is being directly …
23 // expected-warning {{instance variable '_isTickledPink' is being directly accessed}}
37 …p->_isTickledPink = (*p)._myLeader; // expected-warning {{instance variable '_isTickledPink' is be…
38 // expected-warning {{instance variable '_myLeader' is being directly accessed}}
39 …if (p->_myIntProp) // expected-warning {{instance variable '_myIntProp' is being directly accessed…
40 …p->_myIntProp = 0; // expected-warning {{instance variable '_myIntProp' is being directly accessed…
41 …return p->_isTickledPink; // expected-warning {{instance variable '_isTickledPink' is being direct…
74 - (id) property_in_protocol { return _property_in_protocol; } // expected-warning {{instance variab…
H A Ddefault-synthesize-2.m44 id uid; // expected-note {{instance variable is declared here}}
50 …{autosynthesized property 'uid' will use synthesized instance variable '_uid', not existing instan…
54 uid = 0; // Use of the wrong instance variable
55 _uid = 0; // Use of the property instance variable
122 id y; // expected-note {{instance variable is declared here}}
128 …cted-warning {{autosynthesized property 'y' will use instance variable '_y', not existing instanc…
/llvm-project-15.0.7/flang/test/Semantics/
H A Dprocinterface01.f90169 type(derived1) :: instance variable
172 if (instance%p1(1.)/=2.) print *, "p1 failed"
175 if (instance%p2(1.)/=2.) print *, "p2 failed"
178 if (.not.instance%p3(1.)) print *, "p3 failed"
181 if (.not.instance%p4(1.)) print *, "p4 failed"
184 if (instance%p5(1.)/=(5.,6.)) print *, "p5 failed"
187 if (instance%p6(1.)/=2.) print *, "p6 failed"
190 if (instance%p7(0.)/=1.) print *, "p7 failed"
193 if (instance%p8(1.)/="a") print *, "p8 failed"
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVAvailability.td43 // and `$instance` for the current availability requirement instance.
47 // An availability instance's type.
50 // The following are fields for a concrete availability instance.
55 // The availability requirement carried by a concrete instance.
56 string instance = ?;
69 "std::max(*$overall, $instance)); "
70 "} else { $overall = $instance; }}";
74 let instance = scheme.cppNamespace # "::" # scheme.className # "::" #
88 "std::min(*$overall, $instance)); "
89 "} else { $overall = $instance; }}";
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-methods.cpp17 C instance; in call_simple_method() local
19 instance.simple_method(); in call_simple_method()
30 C instance; in call_cdecl_method() local
31 instance.cdecl_method(); in call_cdecl_method()
42 C instance; in call_vararg_method() local
43 instance.vararg_method("Hello"); in call_vararg_method()
H A Daix-static-init-temp-spec-and-inline-var.cpp32 static A instance; member
36 A<T> A<T>::instance; member in test2::A<T>
37 template A<> A<>::instance; member in test2::A<>
44 A<int> A<int>::instance = bar(); member in test2::A<int>
/llvm-project-15.0.7/flang/lib/Frontend/
H A DFrontendAction.cpp66 assert(!instance && "Already processing a source file!"); in beginSourceFile()
204 if (!instance->getParsing().messages().empty() && in reportFatalErrors()
205 (instance->getInvocation().getWarnAsErr() || in reportFatalErrors()
206 instance->getParsing().messages().AnyFatalError())) { in reportFatalErrors()
207 const unsigned diagID = instance->getDiagnostics().getCustomDiagID( in reportFatalErrors()
210 instance->getParsing().messages().Emit(llvm::errs(), in reportFatalErrors()
211 instance->getAllCookedSources()); in reportFatalErrors()
218 auto &diags = instance->getDiagnostics(); in reportFatalSemanticErrors()
219 auto &sema = instance->getSemantics(); in reportFatalSemanticErrors()
221 if (instance->getSemantics().AnyFatalError()) { in reportFatalSemanticErrors()
[all …]
/llvm-project-15.0.7/clang/test/Index/skip-parsed-bodies/
H A Dcompile_commands.json23 // CHECK: [indexDeclaration]: kind: c++-instance-method | name: method_decl | {{.*}} | isRedec…
24 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def1 | {{.*}} | isRedec…
26 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec…
27 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec…
39 // CHECK: [indexDeclaration]: kind: c++-instance-method | name: method_decl | {{.*}} | isRedec…
41 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec…
42 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isConta…
49 // CHECK: [indexDeclaration]: kind: c++-instance-method | name: tsmeth | {{.*}} | isRedecl: 0 …
59 // CHECK: [indexDeclaration]: kind: c++-instance-method | name: method_decl | {{.*}} | isRedec…
61 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def2 | {{.*}} | isRedec…
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DDebugCounter.h61 static DebugCounter &instance();
72 return instance().addCounter(std::string(Name), std::string(Desc)); in registerCounter()
78 auto &Us = instance(); in shouldExecute()
103 return instance().Counters[ID].IsSet; in isCounterSet()
108 auto &Us = instance(); in getCounterValue()
116 auto &Us = instance(); in setCounterValue()
150 static void enableAllCounters() { instance().Enabled = true; } in enableAllCounters()
158 return instance().Enabled; in isCountingEnabled()
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dexternal-source-symbol-attr.m25 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | prop | c:@M@some_module@objc(cs)I2(im)pr…
26 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setProp: | c:@M@some_module@objc(cs)I2(i…
27 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | prop | c:@M@some_module@objc(cs)I2(py)prop |
33 // CHECK: [[@LINE-1]]:6 | instance-method/Swift | method | c:@M@some_module@objc(cs)I1(im)method |
44 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | cat_method | c:@M@some_module@objc(cs)I1(im)cat_me…
51 // CHECK: [[@LINE-1]]:8 | instance-method/Swift | cat_method2 | c:@CM@cat_module@some_module@objc(c…
53 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | cat_prop2 | c:@CM@cat_module@some_module…
55 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | cat_prop2 | c:@CM@cat_module@some_module@objc(…
94 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth | c:@M@modname@objc(cs)I3(im)meth |
96 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth2 | c:@CM@modname@objc(cs)I3(im)meth2 |
[all …]
H A Dindex-source.m7 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | meth | c:objc(cs)Base(im)meth | -[Base meth] | Dec…
119 // CHECK: [[@LINE+1]]:8 | instance-method/ObjC | meth | c:objc(cs)I1(im)meth | -[I1 meth] | Decl,Dy…
129 // CHECK: [[@LINE-3]]:26 | instance-property/ObjC | prop | [[I2_prop_USR:.*]] | <no-cgname> | Decl,…
134 // CHECK: [[@LINE-3]]:63 | instance-property/ObjC | unrelated | {{.*}} | <no-cgname> | Decl,RelChil…
138 // CHECK: [[@LINE-1]]:30 | instance-method/acc-get/ObjC | declaredGet | {{.*}} | -[I2 declaredGet] …
150 // CHECK: [[@LINE+9]]:13 | instance-property/ObjC | prop | [[I2_prop_USR:.*]] | <no-cgname> | Def,R…
184 …// CHECK: [[@LINE-1]]:8 | instance-property/ObjC | prop | [[I2_prop_USR]] | <no-cgname> | Ref,RelC…
191 …// CHECK: [[@LINE-1]]:8 | instance-property/ObjC | prop | [[I2_prop_USR]] | <no-cgname> | Ref,Writ…
453 - (int):(int)_; // CHECK: [[@LINE]]:8 | instance-method/ObjC | : | c:objc(cs)EmptySelectors(im): | …
461 - (int):(int)_ { // CHECK: [[@LINE]]:8 | instance-method/ObjC | : | c:objc(cs)EmptySelectors(im): |…
[all …]
H A Dindex-subkinds.m12 // CHECK: [[@LINE+1]]:8 | instance-method(test)/ObjC | testMe | c:objc(cs)MyTestCase(im)testMe | -[…
14 // CHECK: [[@LINE+1]]:6 | instance-method/ObjC | testResult | c:objc(cs)MyTestCase(im)testResult | …
16 // CHECK: [[@LINE+1]]:8 | instance-method/ObjC | testWithInt: | c:objc(cs)MyTestCase(im)testWithInt…
25 // CHECK: [[@LINE+1]]:8 | instance-method(test)/ObjC | testIt2 | c:objc(cs)SubTestCase(im)testIt2 |…
37 // CHECK: [[@LINE+1]]:9 | instance-method(test)/ObjC | testInCat | c:objc(cs)MyTestCase(im)testInCa…
45 // CHECK: [[@LINE+2]]:34 | instance-method/acc-get/ObjC | prop | c:objc(cs)IBCls(im)prop | -[IBCls …
46 // CHECK: [[@LINE+1]]:34 | instance-property(IB)/ObjC | prop | c:objc(cs)IBCls(py)prop | <no-cgname…
48 // CHECK: [[@LINE+1]]:54 | instance-property(IB,IBColl)/ObjC | propColl | c:objc(cs)IBCls(py)propCo…
50 // CHECK: [[@LINE+1]]:12 | instance-method(IB)/ObjC | doIt | c:objc(cs)IBCls(im)doIt | -[IBCls doIt…
58 // CHECK: [[@LINE+1]]:40 | instance-property(GKI)/ObjC | gkIntProp | c:objc(cs)GKI(py)gkIntProp | <…
/llvm-project-15.0.7/clang/test/ASTMerge/category/
H A Dtest.m5 // CHECK: category2.m:18:1: warning: instance method 'method2' has incompatible result types in dif…
6 // CHECK: category1.m:16:1: note: instance method 'method2' also declared here
7 // CHECK: category2.m:26:1: warning: instance method 'method3' has incompatible result types in dif…
8 // CHECK: category1.m:24:1: note: instance method 'method3' also declared here
9 // CHECK: category2.m:48:1: warning: instance method 'blah' has incompatible result types in differ…
10 // CHECK: category1.m:46:1: note: instance method 'blah' also declared here
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DFrontendAction.h30 CompilerInstance *instance; variable
55 FrontendAction() : instance(nullptr) {} in FrontendAction()
62 assert(instance && "Compiler instance not registered!"); in getInstance()
63 return *instance; in getInstance()
66 void setInstance(CompilerInstance *value) { instance = value; } in setInstance()
/llvm-project-15.0.7/lld/Common/
H A DMemory.cpp19 auto &instance = instances[tag]; in getOrCreate() local
20 if (instance == nullptr) { in getOrCreate()
22 instance = creator(storage); in getOrCreate()
24 return instance; in getOrCreate()
/llvm-project-15.0.7/polly/lib/External/isl/interface/
H A Dtemplate_cpp.cc1301 const specialization &instance; member
1313 const specialization &instance, in class_printer() argument
1319 instance(instance), generator(instance_printer.generator) in class_printer()
1583 const specialization &instance) in instance_sig() argument
1587 args[0] = instance.kind; in instance_sig()
1588 return { instance.kind, args }; in instance_sig()
2651 const specialization &instance, in print_arg_subclass_constructor() argument
2700 const specialization &instance) const in print_super_constructor()
2713 os << " " << instance.class_name() in print_super_constructor()
2750 const specialization &instance) const in print_class()
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dsuperclass.m100 } // expected-warning {{The 'addChildViewController:' instance method in UIViewController subclass …
101 - (void)viewDidAppear:(BOOL)animated {} // expected-warning {{The 'viewDidAppear:' instance method …
103 - (void)viewDidUnload {} // expected-warning {{The 'viewDidUnload' instance method in UIViewControl…
104 - (void)viewDidLoad {} // expected-warning {{The 'viewDidLoad' instance method in UIViewController …
105 - (void)viewWillUnload {} // expected-warning {{The 'viewWillUnload' instance method in UIViewContr…
171 } // expected-warning {{The 'removeFromParentViewController' instance method in UIViewController su…
182 } // expected-warning {{The 'resignFirstResponder' instance method in UIResponder subclass 'TestD' …
201 } // expected-warning {{The 'restoreStateWithCoder:' instance method in NSResponder subclass 'TestF…
203 } // expected-warning {{The 'encodeRestorableStateWithCoder:' instance method in NSResponder subcla…
225 } // expected-warning {{The 'restoreStateWithCoder:' instance method in NSDocument subclass 'TestH'…
[all …]
/llvm-project-15.0.7/lldb/source/Core/
H A DPluginManager.cpp209 Instance instance = in RegisterPlugin() local
211 m_instances.push_back(instance); in RegisterPlugin()
237 return instance->description; in GetDescriptionAtIndex()
243 return instance->name; in GetNameAtIndex()
251 if (name == instance.name) in GetCallbackForName()
686 if (instance.name == name) in GetObjectFileCreateMemoryCallbackForPluginName()
710 if (instance.save_core && in SaveCore()
861 request.AddCompletion(instance.name, instance.description); in AutoCompleteProcessName()
1090 return instance.schema; in GetTraceSchema()
1095 if (TraceInstance *instance = in GetTraceSchema() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp854 static Allocator instance(LINKER_INITIALIZED);
857 return instance.allocator; in get_allocator()
916 instance.InitLinkerInitialized(options); in InitializeAllocator()
920 instance.ReInitialize(options); in ReInitializeAllocator()
924 instance.GetOptions(options); in GetAllocatorOptions()
936 instance.CommitBack(this, &stack); in CommitBack()
940 instance.PrintStats(); in PrintInternalAllocatorStats()
1058 instance.ForceLock(); in asan_mz_force_lock()
1062 instance.ForceUnlock(); in asan_mz_force_unlock()
1196 return instance.AllocationSize(ptr) > 0; in __sanitizer_get_ownership()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp574 static Allocator instance(LINKER_INITIALIZED);
578 void InitializeAllocator() { instance.InitLinkerInitialized(); } in InitializeAllocator()
582 instance.CommitBack(this, &stack); in CommitBack()
585 void PrintInternalAllocatorStats() { instance.PrintStats(); } in PrintInternalAllocatorStats()
588 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
593 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
601 return SetErrnoOnNull(instance.Calloc(nmemb, size, stack)); in memprof_calloc()
620 instance.Deallocate(p, 0, 0, stack, FROM_MALLOC); in memprof_realloc()
626 return SetErrnoOnNull(instance.Reallocate(p, size, stack)); in memprof_realloc()
676 void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC); in memprof_posix_memalign()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dderived.cpp17 int Initialize(const Descriptor &instance, const typeInfo::DerivedType &derived, in Initialize() argument
20 std::size_t elements{instance.Elements()}; in Initialize()
21 std::size_t byteStride{instance.ElementBytes()}; in Initialize()
32 Descriptor &allocDesc{*instance.OffsetElement<Descriptor>( in Initialize()
34 comp.EstablishDescriptor(allocDesc, instance, terminator); in Initialize()
49 std::size_t bytes{comp.SizeInBytes(instance)}; in Initialize()
51 char *ptr{instance.OffsetElement<char>(j * byteStride + comp.offset())}; in Initialize()
62 bounds[2 * dim].GetValue(&instance).value_or(0)}; in Initialize()
64 bounds[2 * dim + 1].GetValue(&instance).value_or(0)}; in Initialize()
72 instance.OffsetElement<char>(j * byteStride + comp.offset()), in Initialize()
[all …]

12345678910>>...19