Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Method

1055 CGDebugInfo::getOrCreateMethodType(const CXXMethodDecl *Method,
1057 const FunctionProtoType *Func = Method->getType()->getAs<FunctionProtoType>();
1058 if (Method->isStatic())
1061 return getOrCreateInstanceMethodType(Method->getThisType(CGM.getContext()),
1129 const CXXMethodDecl *Method, llvm::DIFile *Unit, llvm::DIType *RecordTy) {
1131 isa<CXXConstructorDecl>(Method) || isa<CXXDestructorDecl>(Method);
1133 StringRef MethodName = getFunctionName(Method);
1134 llvm::DISubroutineType *MethodTy = getOrCreateMethodType(Method, Unit);
1139 if (!IsCtorOrDtor && !isFunctionLocalClass(Method->getParent()))
1140 MethodLinkageName = CGM.getMangledName(Method);
1142 // Get the location for the method.
1145 if (!Method->isImplicit()) {
1146 MethodDefUnit = getOrCreateFile(Method->getLocation());
1147 MethodLine = getLineNumber(Method->getLocation());
1150 // Collect virtual method info.
1155 if (Method->isVirtual()) {
1156 if (Method->isPure())
1166 if (!isa<CXXDestructorDecl>(Method) &&
1168 VIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(Method);
1173 if (Method->isImplicit())
1175 Flags |= getAccessFlag(Method->getAccess(), Method->getParent());
1176 if (const CXXConstructorDecl *CXXC = dyn_cast<CXXConstructorDecl>(Method)) {
1180 dyn_cast<CXXConversionDecl>(Method)) {
1184 if (Method->hasPrototype())
1186 if (Method->getRefQualifier() == RQ_LValue)
1188 if (Method->getRefQualifier() == RQ_RValue)
1191 llvm::DINodeArray TParamsArray = CollectFunctionTemplateParams(Method, Unit);
1198 SPCache[Method->getCanonicalDecl()].reset(SP);
1211 const auto *Method = dyn_cast<CXXMethodDecl>(I);
1222 if (!Method || Method->isImplicit() || Method->hasAttr<NoDebugAttr>())
1225 if (Method->getType()->getAs<FunctionProtoType>()->getContainedAutoType())
1234 auto MI = SPCache.find(Method->getCanonicalDecl());
1236 ? CreateCXXMemberFunction(Method, Unit, RecordTy)
2602 // getOrCreateFunctionType - Construct type. If it is a c++ method, include
2612 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
2613 return getOrCreateMethodType(Method, F);
2764 llvm_unreachable("not a function or ObjC method");
3230 const CXXMethodDecl *method =
3232 QualType type = method->getThisType(C);