| /llvm-project/mlir/test/lib/IR/ |
| H A D | TestSideEffects.cpp | 42 for (MemoryEffects::EffectInstance instance : effects) { in runOnOperation() local 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() 61 } else if (SymbolRefAttr symbolRef = instance.getSymbolRef()) in runOnOperation() [all …]
|
| /llvm-project/clang/test/SemaObjC/ |
| H A D | flexible-array.m | 12 int last; // expected-note {{next instance variable declaration is here}} 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. 62 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}} 70 …e sized type 'char[]' is not visible to subclasses and can conflict with their instance variables}} [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/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/flang/test/Semantics/ |
| H A D | procinterface01.f90 | 168 type(derived1) :: instance variable 171 if (instance%p1(1.)/=2.) print *, "p1 failed" 174 if (instance%p2(1.)/=2.) print *, "p2 failed" 177 if (.not.instance%p3(1.)) print *, "p3 failed" 180 if (.not.instance%p4(1.)) print *, "p4 failed" 183 if (instance%p5(1.)/=(5.,6.)) print *, "p5 failed" 186 if (instance%p6(1.)/=2.) print *, "p6 failed" 189 if (instance%p7(0.)/=1.) print *, "p7 failed" 192 if (instance%p8(1.)/="a") print *, "p8 failed"
|
| /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/lib/Frontend/ |
| H A D | FrontendAction.cpp | 31 // Deallocate compiler instance, input and output descriptors 66 assert(!instance && "Already processing a source file!"); in beginSourceFile() 225 if (!instance->getParsing().messages().empty() && in reportFatalErrors() 226 (instance->getInvocation().getWarnAsErr() || in reportFatalErrors() 227 instance->getParsing().messages().AnyFatalError())) { in reportFatalErrors() 228 const unsigned diagID = instance->getDiagnostics().getCustomDiagID( in reportFatalErrors() 230 instance->getDiagnostics().Report(diagID) << getCurrentFileOrBufferName(); 231 instance->getParsing().messages().Emit(llvm::errs(), in reportFatalSemanticErrors() 232 instance->getAllCookedSources()); in reportFatalSemanticErrors() 235 if (instance in reportFatalSemanticErrors() [all...] |
| /llvm-project/clang/test/Index/skip-parsed-bodies/ |
| H A D | compile_commands.json | 23 // 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… 40 // CHECK-NEXT: [indexDeclaration]: kind: c++-instance-method | name: method_def1 | {{.*}} | 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… [all …]
|
| /llvm-project/clang/test/CodeGenCXX/ |
| H A D | microsoft-abi-methods.cpp | 17 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()
|
| /llvm-project/clang/test/Index/Core/ |
| 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 …]
|
| 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 | index-subkinds.m | 12 // 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/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 72 static DebugCounter &instance(); 83 return instance().addCounter(std::string(Name), std::string(Desc)); in registerCounter() 97 return instance().Counters[ID].IsSet; in isCounterSet() 107 auto &Us = instance(); in getCounterState() 115 auto &Us = instance(); in setCounterState() 151 static void enableAllCounters() { instance().Enabled = true; } in enableAllCounters() 158 return instance().Enabled || instance().ShouldPrintCounter; in isCountingEnabled()
|
| /llvm-project/lldb/source/Core/ |
| H A D | PluginManager.cpp | 119 // instance to invalidate it. in LoadPluginCallback() 229 if (Instance *instance = GetInstanceAtIndex(idx)) in GetCallbackAtIndex() local 230 return instance->create_callback; in GetCallbackAtIndex() 235 if (Instance *instance = GetInstanceAtIndex(idx)) in GetDescriptionAtIndex() local 236 return instance->description; in GetDescriptionAtIndex() 241 if (Instance *instance = GetInstanceAtIndex(idx)) in GetNameAtIndex() local 242 return instance->name; in GetNameAtIndex() 249 for (auto &instance : m_instances) { in GetCallbackForName() local 250 if (name == instance.name) in GetCallbackForName() 251 return instance in GetCallbackForName() 208 Instance instance = RegisterPlugin() 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/flang/runtime/ |
| H A D | derived.cpp | 21 // instance "derivedInstance". 32 RT_API_ATTRS int Initialize(const Descriptor &instance, 36 std::size_t elements{instance.Elements()}; in Initialize() 45 instance.GetLowerBounds(at); in Initialize() 48 for (std::size_t j{0}; j++ < elements; instance.IncrementSubscripts(at)) { in Initialize() 50 *instance.ElementComponent<Descriptor>(at, comp.offset())}; in Initialize() 51 comp.EstablishDescriptor(allocDesc, instance, terminator); in Initialize() 73 std::size_t bytes{comp.SizeInBytes(instance)}; in Initialize() 74 for (std::size_t j{0}; j++ < elements; instance.IncrementSubscripts(at)) { in Initialize() 75 char *ptr{instance in Initialize() 33 Initialize(const Descriptor & instance,const typeInfo::DerivedType & derived,Terminator & terminator,bool hasStat,const Descriptor * errMsg) Initialize() argument [all...] |
| /llvm-project/clang/test/ASTMerge/category/ |
| H A D | test.m | 5 // 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/mlir/test/IR/ |
| H A D | test-side-effects.mlir | 7 // expected-remark@+2 {{found an instance of 'read' on resource '<Default>'}} 8 // expected-remark@+1 {{found an instance of 'free' on resource '<Default>'}} 13 // expected-remark@+1 {{found an instance of 'write' on resource '<Test>'}} 18 // expected-remark@+1 {{found an instance of 'allocate' on a op result, on resource '<Test>'}} 23 // expected-remark@+1 {{found an instance of 'read' on a symbol '@foo_ref', on resource '<Test>'}} 41 // expected-remark@+1 {{found an instance of 'allocate' on a op operand, on resource '<Test>'}} 47 // expected-remark@+1 {{found an instance of 'allocate' on a op result, on resource '<Test>'}} 53 …// expected-remark@+1 {{found an instance of 'allocate' on a block argument, on resource '<Test>'}}
|
| /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/polly/lib/External/isl/interface/ |
| H A D | template_cpp.cc | 1273 virtual void print_class(const specialization &instance) const = 0; 1312 class_printer(const specialization &instance, 1346 const specialization &instance; member 1358 const specialization &instance, in class_printer() argument 1362 instance.template_class.clazz, instance_printer.generator, in class_printer() 1364 instance(instance), generator(instance_printer.generator) in class_printer() 1525 class_params = instance.kind.params(); in print_method_template_arguments() 1547 template_method_type_printer type_printer(sig, instance.kind); in print_method_header() 1582 method_decl_printer(const specialization &instance, in method_decl_printer() 1584 class_printer(instance, instance_printer, true) {} in method_decl_printer() [all …]
|
| /llvm-project/flang/include/flang/Frontend/ |
| H A D | FrontendAction.h | 30 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/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 911 static Allocator instance(LINKER_INITIALIZED); in IsAllocated() 914 return instance.allocator; in IsAllocated() 973 instance.InitLinkerInitialized(options); 977 instance.ReInitialize(options); in FindHeapChunkByAllocBeg() 981 instance.GetOptions(options); in CommitBack() 985 return instance.FindHeapChunkByAddress(addr); 988 return AsanChunkView(instance.GetAsanChunk(reinterpret_cast<void*>(addr))); in PrintInternalAllocatorStats() 993 instance.CommitBack(this, &stack); 997 instance.PrintStats(); in asan_delete() 1001 instance in asan_malloc() [all...] |
| /llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 641 static Allocator instance(LINKER_INITIALIZED); 643 static MemprofAllocator &get_allocator() { return instance.allocator; } 645 void InitializeAllocator() { instance.InitLinkerInitialized(); } 648 instance.CommitBack(this); in CommitBack() 651 void PrintInternalAllocatorStats() { instance.PrintStats(); } 654 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free() 659 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete() 663 return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC)); in memprof_malloc() 667 return SetErrnoOnNull(instance.Calloc(nmemb, size, stack)); in memprof_calloc() 683 return SetErrnoOnNull(instance in memprof_realloc() [all...] |
| /llvm-project/lld/Common/ |
| H A D | Memory.cpp | 19 auto &instance = instances[tag]; in getOrCreate() local 20 if (instance == nullptr) { in getOrCreate() 22 instance = creator(storage); in getOrCreate() 24 return instance; in getOrCreate()
|