Lines Matching refs:Method
832 /// MethodVarNames - uniqued method variable names.
838 /// MethodVarTypes - uniqued method type signatures. We have to use
846 /// PropertyNames - uniqued method variable names.
879 /// GetNameForMethod - Return a name for the given method.
891 /// method's type encoding string. The return value has type char *.
972 /// EmitProtocolMethodTypes - Generate the array of extended method type
1120 /// EmitMethodList - Emit the method list for the given
1126 /// EmitMethodDescList - Emit a method description list for a list of
1127 /// method declarations.
1134 /// - begin, end: The method list to output.
1184 const ObjCMethodDecl *Method) override;
1192 const ObjCMethodDecl *Method) override;
1203 const ObjCMethodDecl *Method) override;
1315 /// EmitMethodList - Emit the method list for the given
1356 const ObjCMethodDecl *Method);
1430 // Annotate the load as an invariant load iff inside an instance method
1431 // and ivar belongs to instance method's class and one of its super class.
1437 // base of the ivar access is a parameter to an Objective C method.
1459 const ObjCMethodDecl *Method) override;
1467 const ObjCMethodDecl *Method) override;
1480 const ObjCMethodDecl *Method) override
1481 { return EmitSelector(CGF, Method->getSelector()); }
1579 const ObjCMethodDecl *Method) {
1584 // IP, which can happen if the method we're calling is marked noreturn.
1598 if (Method) {
1600 for (ObjCMethodDecl::param_const_iterator i = Method->param_begin(),
1601 e = Method->param_end(); i != e; ++i, ++I) {
1717 *Method) {
1718 return EmitSelector(CGF, Method->getSelector());
1770 /// which class's method should be called.
1781 const ObjCMethodDecl *Method) {
1797 // Message sent to 'super' in a class method defined in a category
1799 // If we are in a class method, we must retrieve the
1831 true, CallArgs, Method, Class, ObjCTypes);
1842 const ObjCMethodDecl *Method) {
1846 false, CallArgs, Method, Class, ObjCTypes);
1867 const ObjCMethodDecl *Method,
1877 // If we're calling a method, use the formal signature.
1878 MessageSendInfo MSI = getMessageSendInfo(Method, ResultType, ActualArgs);
1880 if (Method)
1881 assert(CGM.getContext().getCanonicalType(Method->getReturnType()) ==
1892 // If this is a direct dispatch of a class method, check whether the class,
1894 } else if (ClassReceiver && Method && Method->isClassMethod()) {
1897 // If we're emitting a method, and self is const (meaning just ARC, for now),
1936 if (ReceiverCanBeNull && CGM.getLangOpts().ObjCAutoRefCount && Method) {
1937 for (const auto *ParamDecl : Method->params()) {
1952 // Mark the call as noreturn if the method is marked noreturn and the
1954 if (Method && Method->hasAttr<NoReturnAttr>() && !ReceiverCanBeNull) {
1959 RequiresNullCheck ? Method : nullptr);
2707 // Construct method lists.
3094 // method definition entries must be clear for next implementation.
3135 /// (Obsolete) ARC-specific: this class has a .release_ivars method
3296 // method definition entries must be clear for next implementation.
3506 void *method;
3517 /// given method if it has been defined. The result is null if the
3518 /// method has not been defined. The return value has type MethodPtrTy.
3524 llvm::Constant *Method[] = {
3530 return llvm::ConstantStruct::get(ObjCTypes.MethodTy, Method);
3561 llvm::Function *Method =
3566 MethodDefinitions.insert(std::make_pair(OMD, Method));
3568 return Method;
6049 // Make sure method definition entries are all clear for next implementation.
6187 // method definition entries must be clear for next implementation.
6192 /// given method if it has been defined. The result is null if the
6193 /// method has not been defined. The return value has type MethodPtrTy.
6200 llvm::Constant *Method[] = {
6206 return llvm::ConstantStruct::get(ObjCTypes.MethodTy, Method);
6209 /// EmitMethodList - Build meta-data for method declarations
6414 // Construct method lists.
6666 const ObjCMethodDecl *method) {
6681 MessageSendInfo MSI = getMessageSendInfo(method, resultType, args);
6740 if (CGM.getLangOpts().ObjCAutoRefCount && method)
6741 for (const auto *ParamDecl : method->params()) {
6766 requiresnullCheck ? method : nullptr);
6778 const ObjCMethodDecl *Method) {
6782 false, CallArgs, Method)
6786 false, CallArgs, Method, Class, ObjCTypes);
6902 /// which class's method should be called.
6913 const ObjCMethodDecl *Method) {
6945 true, CallArgs, Method)
6949 true, CallArgs, Method, Class, ObjCTypes);