/llvm-project/clang/test/SemaObjC/ |
H A D | flexible-array.m | 4 // ## Instance variables only in interface. 12 int last; // expected-note {{next instance variable declaration is here}} 16 // ## Instance variables in implementation. 20 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}} 28 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}} 29 int last; // expected-note {{next instance variable declaration is here}} 35 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}} 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. [all …]
|
H A D | ivar-lookup.m | 46 return a + b; // expected-error{{instance variable 'a' accessed in class method}} \ 47 // expected-error{{instance variable 'b' accessed in class method}} 59 int IVAR; // expected-error {{instance variable is already declared}} 66 int IVAR; // expected-error {{instance variable is already declared}} 72 int IVAR; // expected-error {{instance variable is already declared}} 73 int PIVAR; // expected-error {{instance variable is already declared}} 79 int IVAR; // expected-error {{instance variable is already declared}} 143 // expected-error {{instance variable is already declared}} 148 int d; // expected-error {{instance variable is already declared}} 149 NSString *e_strong; // expected-error {{instance variable is already declared}} [all …]
|
H A D | ivar-access-tests.m | 37 access = s->private; // expected-error {{instance variable 'private' is private}} 41 access = m->private; // expected-error {{instance variable 'private' is private}} 55 access = s->private; // expected-error {{instance variable 'private' is private}} 59 access = m->private; // expected-error {{instance variable 'private' is private}} 71 access = s->unmarked; // expected-error {{instance variable 'unmarked' is protected}} 72 access = s->private; // expected-error {{instance variable 'private' is private}} 73 access = s->protected; // expected-error {{instance variable 'protected' is protected}} 75 access = m->unmarked; // expected-error {{instance variable 'unmarked' is protected}} 76 access = m->private; // expected-error {{instance variable 'private' is private}} 77 access = m->protected; // expected-error {{instance variabl [all...] |
H A D | warn-direct-ivar-access.m | 6 …id _isTickledPink; // expected-error {{existing instance variable '_isTickledPink' for property 'i… 21 …_myLeader = _isTickledPink; // expected-warning {{instance variable '_myLeader' is being directly … 22 // expected-warning {{instance variable '_isTickledPink' is being directly accessed}} 36 …p->_isTickledPink = (*p)._myLeader; // expected-warning {{instance variable '_isTickledPink' is be… 37 // expected-warning {{instance variable '_myLeader' is being directly accessed}} 38 …if (p->_myIntProp) // expected-warning {{instance variable '_myIntProp' is being directly accessed… 39 …p->_myIntProp = 0; // expected-warning {{instance variable '_myIntProp' is being directly accessed… 40 …return p->_isTickledPink; // expected-warning {{instance variable '_isTickledPink' is being direct… 72 - (id) property_in_protocol { return _property_in_protocol; } // expected-warning {{instance variab…
|
/llvm-project/llvm/include/llvm-c/ |
H A D | LLJIT.h | 42 * A function for constructing an ObjectLinkingLayer instance to be used 43 * by an LLJIT instance. 46 * set the creator function to use when constructing an LLJIT instance. 51 * LLJIT instance. The client is not responsible for managing their lifetimes 59 * A reference to an orc::LLJITBuilder instance. 64 * A reference to an orc::LLJIT instance. 85 * instance. Calling this function is optional: if it is not called then the 96 * Set an ObjectLinkingLayer creator function for this LLJIT instance. 103 * Create an LLJIT instance from an LLJITBuilder. 110 * On success the resulting LLJIT instance is uniquely owned by the client and [all …]
|
/llvm-project/flang/test/HLFIR/ |
H A D | memory-effects.fir | 6 // expected-remark@+2 {{found an instance of 'allocate' on a op result, on resource '<Default>'}} 7 // expected-remark@+1 {{found an instance of 'read' on a op operand, on resource '<Default>'}} 19 // expected-remark@+2 {{found an instance of 'allocate' on a op result, on resource '<Default>'}} 20 // expected-remark@+1 {{found an instance of 'read' on a op operand, on resource '<Default>'}} 32 // expected-remark@+2 {{found an instance of 'allocate' on a op result, on resource '<Default>'}} 33 // expected-remark@+1 {{found an instance of 'read' on a op operand, on resource '<Default>'}} 45 // expected-remark@+1 {{found an instance of 'read' on a op operand, on resource '<Default>'}} 57 // expected-remark@+2 {{found an instance of 'allocate' on a op result, on resource '<Default>'}} 58 // expected-remark@+1 {{found an instance of 'read' on a op operand, on resource '<Default>'}} 64 // expected-remark@+2 {{found an instance of 'allocate' on a op result, on resource '<Default>'}} [all …]
|
/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | tsd_exclusive.h | 55 void init(Allocator *Instance) REQUIRES(Mutex) { in init() 57 Instance->init(); in init() 59 FallbackTSD.init(Instance); in init() 63 void initOnceMaybe(Allocator *Instance) EXCLUDES(Mutex) { in initOnceMaybe() 67 init(Instance); // Sets Initialized. in initOnceMaybe() 70 void unmapTestOnly(Allocator *Instance) EXCLUDES(Mutex) { in unmapTestOnly() 71 DCHECK(Instance); in unmapTestOnly() 74 Instance); in unmapTestOnly() 75 ThreadTSD.commitBack(Instance); in unmapTestOnly() 80 FallbackTSD.commitBack(Instance); in unmapTestOnly() [all …]
|
/llvm-project/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/ |
H A D | SomeKit.apinotes | 6 MethodKind: Instance 10 MethodKind: Instance 14 MethodKind: Instance 22 MethodKind: Instance 30 MethodKind: Instance 39 PropertyKind: Instance 43 PropertyKind: Instance 56 MethodKind: Instance 61 MethodKind: Instance 70 PropertyKind: Instance [all …]
|
/llvm-project/third-party/benchmark/tools/gbench/Inputs/ |
H A D | test4_run.json | 4 "name": "99 family 0 instance 0 repetition 0", 11 "name": "98 family 0 instance 0 repetition 1", 18 "name": "97 family 0 instance 0 aggregate", 27 "name": "96 family 0 instance 1 repetition 0", 34 "name": "95 family 0 instance 1 repetition 1", 41 "name": "94 family 0 instance 1 aggregate", 52 "name": "93 family 1 instance 0 repetition 0", 59 "name": "92 family 1 instance 0 repetition 1", 66 "name": "91 family 1 instance 0 aggregate", 75 "name": "90 family 1 instance 1 repetition 0", [all …]
|
/llvm-project/llvm/include/llvm/WindowsDriver/ |
H A D | MSVCSetupApi.h | 49 /// The state of an instance. 53 /// The instance state has not been determined. 58 /// The instance installation path exists. 63 /// A product is registered to the instance. 68 /// No reboot is required for the instance. 73 /// The instance represents a complete install. 136 /// Information about an instance of a product. 141 /// Gets the instance identifier (should match the name of the parent instance 144 /// <param name="pbstrInstanceId">The instance identifier.</param> 146 /// E_FILENOTFOUND if the instance state does not exist.</returns> [all …]
|
/llvm-project/mlir/test/lib/IR/ |
H A D | TestSideEffects.cpp | 42 for (MemoryEffects::EffectInstance instance : effects) { in runOnOperation() local 43 auto diag = op.emitRemark() << "found an instance of "; in runOnOperation() 45 if (isa<MemoryEffects::Allocate>(instance.getEffect())) in runOnOperation() 47 else if (isa<MemoryEffects::Free>(instance.getEffect())) in runOnOperation() 49 else if (isa<MemoryEffects::Read>(instance.getEffect())) in runOnOperation() 51 else if (isa<MemoryEffects::Write>(instance.getEffect())) in runOnOperation() 54 if (instance.getValue()) { in runOnOperation() 55 if (instance.getEffectValue<OpOperand *>()) in runOnOperation() 57 else if (instance.getEffectValue<OpResult>()) in runOnOperation() 59 else if (instance.getEffectValue<BlockArgument>()) in runOnOperation() [all …]
|
/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | ModelInjector.cpp | 78 CompilerInstance Instance(CI.getPCHContainerOperations()); in onBodySynthesis() local 79 Instance.setInvocation(std::move(Invocation)); in onBodySynthesis() 80 Instance.createDiagnostics( in onBodySynthesis() 85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis() 87 // The instance wants to take ownership, however DisableFree frontend option in onBodySynthesis() 89 Instance.setFileManager(&CI.getFileManager()); in onBodySynthesis() 90 Instance.setSourceManager(&SM); in onBodySynthesis() 91 Instance.setPreprocessor(CI.getPreprocessorPtr()); in onBodySynthesis() 92 Instance.setASTContext(&CI.getASTContext()); in onBodySynthesis() 94 Instance in onBodySynthesis() [all...] |
/llvm-project/lldb/source/Core/ |
H A D | PluginManager.cpp | 92 FileSystem::Instance().Resolve(plugin_file_spec); in LoadPluginCallback() 119 // instance to invalidate it. in LoadPluginCallback() 150 if (FileSystem::Instance().Exists(dir_spec) && in Initialize() 152 FileSystem::Instance().EnumerateDirectory(dir_path, find_directories, in Initialize() 159 if (FileSystem::Instance().Exists(dir_spec) && in Initialize() 161 FileSystem::Instance().EnumerateDirectory(dir_path, find_directories, in Initialize() 200 template <typename Instance> class PluginInstances { 204 typename Instance::CallbackType callback, in RegisterPlugin() 214 bool UnregisterPlugin(typename Instance::CallbackType callback) { in UnregisterPlugin() 228 typename Instance 208 Instance instance = RegisterPlugin() local 229 if (Instance *instance = GetInstanceAtIndex(idx)) GetCallbackAtIndex() local 235 if (Instance *instance = GetInstanceAtIndex(idx)) GetDescriptionAtIndex() local 241 if (Instance *instance = GetInstanceAtIndex(idx)) GetNameAtIndex() local 249 for (auto &instance : m_instances) { GetCallbackForName() local 257 for (auto &instance : m_instances) { PerformDebuggerCallback() local 684 for (auto &instance : instances) { GetObjectFileCreateMemoryCallbackForPluginName() local 707 for (auto &instance : instances) { SaveCore() local 823 for (const auto &instance : GetPlatformInstances().GetInstances()) { AutoCompletePlatformName() local 871 for (const auto &instance : GetProcessInstances().GetInstances()) { AutoCompleteProcessName() local 960 for (const auto &instance : instances) { GetScriptInterpreterForLanguage() local 1142 for (auto &instance : instances) { LocateExecutableObjectFile() local 1156 for (auto &instance : instances) { LocateExecutableSymbolFile() local 1172 for (auto &instance : instances) { DownloadObjectAndSymbolFile() local 1186 for (auto &instance : instances) { FindSymbolFileInBundle() local 1246 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) GetTraceCreateCallbackForLiveProcess() local 1253 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) GetTraceSchema() local 1260 if (TraceInstance *instance = GetTraceSchema() local 1309 if (TraceExporterInstance *instance = GetThreadTraceExportCommandCreatorAtIndex() local [all...] |
/llvm-project/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/APINotes/ |
H A D | SomeKit.apinotes | 6 MethodKind: Instance 10 MethodKind: Instance 15 PropertyKind: Instance 19 PropertyKind: Instance 32 MethodKind: Instance 37 MethodKind: Instance 46 PropertyKind: Instance 65 MethodKind: Instance 70 PropertyKind: Instance 73 PropertyKind: Instance
|
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/ |
H A D | SPIRVAvailability.td | 43 // and `$instance` for the current availability requirement instance. 47 // An availability instance's type. 50 // The following are fields for a concrete availability instance. 52 // The code for preparing a concrete instance. This should be C++ statements 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.enum.className # "::" # 88 "std::min(*$overall, $instance)); " [all …]
|
/llvm-project/flang/test/Semantics/ |
H A D | procinterface01.f90 | 167 !DEF: /main/instance ObjectEntity TYPE(derived1) 168 type(derived1) :: instance variable 169 !REF: /main/instance 171 if (instance%p1(1.)/=2.) print *, "p1 failed" 172 !REF: /main/instance 174 if (instance%p2(1.)/=2.) print *, "p2 failed" 175 !REF: /main/instance 177 if (.not.instance%p3(1.)) print *, "p3 failed" 178 !REF: /main/instance 180 if (.not.instance%p4(1.)) print *, "p4 failed" [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/ |
H A D | misched-detail-resource-booking-02.mir | 77 # CHECK-NEXT: Instance 0 available @0c 78 # CHECK-NEXT: Instance 1 available @0c 94 # CHECK-NEXT: Instance 0 available @0c 95 # CHECK-NEXT: Instance 1 available @0c 111 # CHECK-NEXT: Instance 0 available @0c 112 # CHECK-NEXT: Instance 1 available @0c 128 # CHECK-NEXT: Instance 0 available @0c 129 # CHECK-NEXT: Instance 1 available @0c 145 # CHECK-NEXT: Instance 0 available @0c 146 # CHECK-NEXT: Instance [all...] |
H A D | misched-detail-resource-booking-01.mir | 289 # CHECK-NEXT: Instance 0 available @0c 290 # CHECK-NEXT: Instance 1 available @0c 306 # CHECK-NEXT: Instance 0 available @0c 307 # CHECK-NEXT: Instance 1 available @0c 323 # CHECK-NEXT: Instance 0 available @0c 324 # CHECK-NEXT: Instance 1 available @0c 340 # CHECK-NEXT: Instance 0 available @0c 341 # CHECK-NEXT: Instance 1 available @0c 360 # CHECK-NEXT: Instance 0 available @3c 361 # CHECK-NEXT: Instance [all...] |
/llvm-project/mlir/include/mlir/Support/ |
H A D | StorageUniquer.h | 43 /// instance of the storage class. 51 /// compare the storage instance against an instance of the key type. 55 /// that builds a unique instance of the derived storage. The arguments to 61 /// that is called when erasing a storage instance. This should cleanup any 70 /// that is called when mutating a storage instance. The first argument is 118 /// Allocate an instance of the provided type. 164 /// singletone instance. `id` is the type identifier that will be used to 165 /// access the singleton instance via 'get'. An optional initialization 167 /// instance, and used when the singleton instance is created. 189 /// Gets a uniqued instance of 'Storage'. 'id' is the type id used when [all …]
|
H A D | ThreadLocalCache.h | 32 /// The "observer" is owned by a thread-local cache instance. It is 33 /// constructed the first time a `ThreadLocalCache` instance is accessed by a 35 /// address as a previous one. A `thread_local` instance of this class is 48 /// Because the `Owner` instance that lives inside `PerInstanceState` 87 // where the instance shared_ptr is locked() successfully, and then the 98 auto it = llvm::find_if(instances, [&](Owner &instance) { 99 return instance.value.get() == value; 109 /// A mutex used when a new thread instance has been added to the cache for 115 /// instance of the non-static cache and a weak reference to an instance o in ~CacheType() [all...] |
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCLabel.h | 24 // The instance number of this Directional Local Label. 25 unsigned Instance; variable 30 MCLabel(unsigned instance) : Instance(instance) {} in MCLabel() argument 36 /// Get the current instance of this Directional Local Label. 37 unsigned getInstance() const { return Instance; } in getInstance() 39 /// Increment the current instance of this Directional Local Label. 40 unsigned incInstance() { return ++Instance; } in incInstance()
|
/llvm-project/clang/test/Index/Core/ |
H A D | index-source.m | 7 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | meth | c:objc(cs)Base(im)meth | -[Base meth] | Dec… 47 …// CHECK: [[@LINE+3]]:6 | instance-method/ObjC | meth | c:objc(cs)Base(im)meth | -[Base meth] | Re… 119 // CHECK: [[@LINE+1]]:8 | instance-method/ObjC | meth | c:objc(cs)I1(im)meth | -[I1 meth] | Decl,Dy… 127 // CHECK: [[@LINE-1]]:26 | instance-method/acc-get/ObjC | prop | [[I2_prop_getter_USR:.*]] | -[I2 p… 128 // CHECK: [[@LINE-2]]:26 | instance-method/acc-set/ObjC | setProp: | [[I2_prop_setter_USR:.*]] | -[… 129 // CHECK: [[@LINE-3]]:26 | instance-property/ObjC | prop | [[I2_prop_USR:.*]] | <no-cgname> | Decl,… 132 // CHECK: [[@LINE-1]]:30 | instance-method/acc-get/ObjC | customGet | {{.*}} | -[I2 customGet] | De… 133 // CHECK: [[@LINE-2]]:48 | instance-method/acc-set/ObjC | customSet: | {{.*}} | -[I2 customSet:] | … 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] … [all …]
|
H A D | external-source-symbol-attr.m | 25 // CHECK: [[@LINE-1]]:8 | instance-method/Swift | method | c:@M@some_module@objc(cs)I2(im)method | … 27 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | prop | c:@M@some_module@objc(cs)I2(im)pr… 28 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setProp: | c:@M@some_module@objc(cs)I2(i… 29 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | prop | c:@M@some_module@objc(cs)I2(py)prop | 35 // CHECK: [[@LINE-1]]:6 | instance-method/Swift | method | c:@M@some_module@objc(cs)I1(im)method | 46 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | cat_method | c:@M@some_module@objc(cs)I1(im)cat_me… 53 // CHECK: [[@LINE-1]]:8 | instance-method/Swift | cat_method2 | c:@CM@cat_module@some_module@objc(c… 55 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | cat_prop2 | c:@CM@cat_module@some_module… 56 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setCat_prop2: | c:@CM@cat_module@some_mo… 57 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | cat_prop2 | c:@CM@cat_module@some_module@objc(… [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | superclass.m | 100 } // expected-warning {{The 'addChildViewController:' instance method in UIViewController subclass … 101 - (void)viewDidAppear:(BOOL)animated {} // expected-warning {{The 'viewDidAppear:' instance method … 102 - (void)viewDidDisappear:(BOOL)animated {} // expected-warning {{The 'viewDidDisappear:' instance m… 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… 106 - (void)viewWillAppear:(BOOL)animated {} // expected-warning {{The 'viewWillAppear:' instance metho… 107 - (void)viewWillDisappear:(BOOL)animated {} // expected-warning {{The 'viewWillDisappear:' instance… 108 - (void)didReceiveMemoryWarning {} // expected-warning {{The 'didReceiveMemoryWarning' instance met… 109 …ontroller {} // expected-warning {{The 'removeFromParentViewController' instance method in UIViewC… [all …]
|
/llvm-project/mlir/lib/Support/ |
H A D | StorageUniquer.cpp | 35 /// An equality function for comparing with an existing storage instance. 91 /// Get or create an instance of a param derived type in an thread-unsafe 106 for (HashedStorage &instance : shard.instances) in destroyShardInstances() 107 destructorFn(instance.storage); in destroyShardInstances() 133 /// Get or create an instance of a parametric type. 142 // Check for a instance of this object in the local cache. in getOrCreate() 148 // Check for an existing instance in read-only mode. in getOrCreate() 157 // instance. in getOrCreate() 169 // Get a shard to use for mutating this storage instance. It doesn't need to in mutate() 222 /// Get or create an instance of a parametric type. [all …]
|