Home
last modified time | relevance | path

Searched refs:Cls (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutids.c521 ACPI_PNP_DEVICE_ID *Cls; in AcpiUtExecute_CLS() local
561 Cls = ACPI_ALLOCATE_ZEROED ( in AcpiUtExecute_CLS()
563 if (!Cls) in AcpiUtExecute_CLS()
571 Cls->String = ACPI_ADD_PTR (char, Cls, sizeof (ACPI_PNP_DEVICE_ID)); in AcpiUtExecute_CLS()
575 AcpiExPciClsToString (Cls->String, ClassCode); in AcpiUtExecute_CLS()
576 Cls->Length = Length; in AcpiUtExecute_CLS()
577 *ReturnId = Cls; in AcpiUtExecute_CLS()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCombinerUtils.h35 inline const Record *getDefOfSubClass(const Init &N, StringRef Cls) { in getDefOfSubClass() argument
37 if (OpI->getDef()->isSubClassOf(Cls)) in getDefOfSubClass()
61 StringRef Cls) { in getDagWithOperatorOfSubClass() argument
64 if (OpI->getDef()->isSubClassOf(Cls)) in getDagWithOperatorOfSubClass()
/freebsd/sys/contrib/dev/acpica/components/namespace/
H A Dnsxfname.c404 ACPI_PNP_DEVICE_ID *Cls = NULL; in AcpiGetObjectInfo() local
495 Status = AcpiUtExecute_CLS (Node, &Cls); in AcpiGetObjectInfo()
498 InfoSize += Cls->Length; in AcpiGetObjectInfo()
612 if (Cls) in AcpiGetObjectInfo()
615 Cls, NextIdString); in AcpiGetObjectInfo()
643 if (Cls) in AcpiGetObjectInfo()
645 ACPI_FREE (Cls); in AcpiGetObjectInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h561 void addClassMethSummary(const char* Cls, const char* name,
563 IdentifierInfo* ClsII = &Ctx.Idents.get(Cls);
569 void addInstMethSummary(const char* Cls, const char* nullaryName,
571 IdentifierInfo* ClsII = &Ctx.Idents.get(Cls);
584 void addInstMethSummary(const char *Cls, const RetainSummary *Summ,
586 addMethodSummary(&Ctx.Idents.get(Cls), ObjCMethodSummaries, Summ, Kws...);
590 void addClsMethSummary(const char *Cls, const RetainSummary *Summ,
592 addMethodSummary(&Ctx.Idents.get(Cls), ObjCClassMethodSummaries, Summ,
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h38 void generateUSRForObjCClass(StringRef Cls, raw_ostream &OS,
43 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRetainPtrCtorAdoptChecker.cpp302 auto *Cls = Ctor->getParent(); in visitConstructExpr() local
303 if (!Cls) in visitConstructExpr()
306 if (!isRetainPtr(safeGetName(Cls)) || !CE->getNumArgs()) in visitConstructExpr()
528 auto *Cls = MD->getParent(); in isOwned() local
532 if (isRetainPtr(safeGetName(Cls)) && ResultType && in isOwned()
537 if (safeGetName(MD) == "leakRef" && isRetainPtr(safeGetName(Cls))) in isOwned()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp1132 void clang::index::generateUSRForObjCClass(StringRef Cls, raw_ostream &OS, in generateUSRForObjCClass() argument
1137 OS << "objc(cs)" << Cls; in generateUSRForObjCClass()
1140 void clang::index::generateUSRForObjCCategory(StringRef Cls, StringRef Cat, in generateUSRForObjCCategory() argument
1145 OS << "objc(cy)" << Cls << '@' << Cat; in generateUSRForObjCCategory()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp450 IdentifierInfo *Cls = nullptr; in getNSArrayObjects() local
451 if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts())) in getNSArrayObjects()
454 if (Cls != NS.getNSClassId(NSAPI::ClassId_NSArray)) in getNSArrayObjects()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2642 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in RewriteObjCBoxedExpr() local
2644 MsgExprs.push_back(Cls); in RewriteObjCBoxedExpr()
2765 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in RewriteObjCArrayLiteralExpr() local
2767 MsgExprs.push_back(Cls); in RewriteObjCArrayLiteralExpr()
2908 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in RewriteObjCDictionaryLiteralExpr() local
2910 MsgExprs.push_back(Cls); in RewriteObjCDictionaryLiteralExpr()
3254 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetMetaClassFunctionDecl, in SynthMessageExpr() local
3257 ClsExprs.push_back(Cls); in SynthMessageExpr()
3258 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
3266 CK_BitCast, Cls)); in SynthMessageExpr()
[all …]
H A DRewriteObjC.cpp2680 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetMetaClassFunctionDecl, in SynthMessageExpr() local
2685 CK_BitCast, Cls); in SynthMessageExpr()
2688 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
2695 CK_BitCast, Cls)); in SynthMessageExpr()
2748 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in SynthMessageExpr() local
2750 MsgExprs.push_back(Cls); in SynthMessageExpr()
2771 CallExpr *Cls = SynthesizeCallToFunctionDecl(GetClassFunctionDecl, ClsExprs, in SynthMessageExpr() local
2776 CK_BitCast, Cls); in SynthMessageExpr()
2779 Cls = SynthesizeCallToFunctionDecl(GetSuperClassFunctionDecl, ClsExprs, in SynthMessageExpr()
2787 CK_BitCast, Cls)); in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp898 ObjCInterfaceDecl *Cls = PT->getObjectType()->getInterface(); in isNSStringType() local
899 if (!Cls) in isNSStringType()
902 const IdentifierInfo *ClsName = Cls->getIdentifier(); in isNSStringType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1642 BlockPointerTypeInfo Cls; member
1651 case DeclaratorChunk::BlockPointer: return Cls.destroy(); in destroy()
1745 I.Cls.TypeQuals = TypeQuals; in getBlockPointer()
1755 I.Cls.TypeQuals = TypeQuals; in getPipe()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeProperties.td106 def : Property<"Cls", DeclRef> {
111 return ctx.getMemberPointerType(pointeeType, Qualifier, cast_or_null<CXXRecordDecl>(Cls));
H A DRecursiveASTVisitor.h1546 if (const CXXRecordDecl* Cls = dyn_cast<CXXRecordDecl>(Child))
1547 return Cls->isLambda();
H A DASTContext.h1615 const CXXRecordDecl *Cls) const;
H A DType.h3631 const CXXRecordDecl *Cls);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp1490 ObjCInterfaceDecl *Cls = PT->getObjectType()->getInterface(); in isNSStringType() local
1491 if (!Cls) in isNSStringType()
1494 IdentifierInfo *ClsName = Cls->getIdentifier(); in isNSStringType()
H A DSemaType.cpp2698 CXXRecordDecl *Cls, SourceLocation Loc, in BuildMemberPointerType() argument
2700 if (!Cls && !isDependentScopeSpecifier(SS)) { in BuildMemberPointerType()
2701 Cls = dyn_cast_or_null<CXXRecordDecl>(computeDeclContext(SS)); in BuildMemberPointerType()
2702 if (!Cls) { in BuildMemberPointerType()
2755 return Context.getMemberPointerType(T, SS.getScopeRep(), Cls); in BuildMemberPointerType()
4663 if (DeclType.Cls.TypeQuals || LangOpts.OpenCL) { in GetFullTypeForDeclarator()
4667 DeclType.Cls.TypeQuals |= DeclSpec::TQ_const; in GetFullTypeForDeclarator()
4668 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Cls.TypeQuals); in GetFullTypeForDeclarator()
H A DSemaExprCXX.cpp6350 CXXRecordDecl *Cls = nullptr, in FindCompositePointerType() local
6354 Cls = Cls1; in FindCompositePointerType()
6356 Cls = IsDerivedFrom(Loc, Cls1, Cls2) ? Cls1 in FindCompositePointerType()
6359 if (!Cls) in FindCompositePointerType()
6363 Context.getTypeDeclType(Cls).getTypePtr()); in FindCompositePointerType()
H A DSemaCodeComplete.cpp1765 if (auto *Cls = llvm::dyn_cast_or_null<CXXRecordDecl>(Ctx)) { in IsAccessible() local
1767 NamingClass = Cls; in IsAccessible()
1771 if (NamingClass->getCanonicalDecl() != Cls->getCanonicalDecl() && in IsAccessible()
1772 !NamingClass->isDerivedFrom(Cls)) { in IsAccessible()
1773 NamingClass = Cls; in IsAccessible()
H A DSemaOverload.cpp3640 const CXXRecordDecl *Cls) { in CheckMemberPointerConversion() argument
3641 if (declaresSameEntity(Qual->getAsRecordDecl(), Cls)) in CheckMemberPointerConversion()
3644 PD << QualType(Cls->getTypeForDecl(), 0); in CheckMemberPointerConversion()
9003 CXXRecordDecl *Cls = PointerTy->getMostRecentCXXRecordDecl(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
9013 Context.getMemberPointerType(QPointeeTy, /*Qualifier=*/nullptr, Cls)); in AddMemberPointerWithMoreQualifiedTypeVariants()
H A DTreeTransform.h868 const CXXScopeSpec &SS, CXXRecordDecl *Cls,
17127 QualType PointeeType, const CXXScopeSpec &SS, CXXRecordDecl *Cls, in RebuildMemberPointerType() argument
17129 return SemaRef.BuildMemberPointerType(PointeeType, SS, Cls, Sigil, in RebuildMemberPointerType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp4748 CachedProperties Cls = [&] { in computeCachedProperties() local
4756 return merge(Cls, Cache::get(MPT->getPointeeType())); in computeCachedProperties()
5331 const CXXRecordDecl *Cls) { in Profile() argument
5334 if (Cls) in Profile()
5335 ID.AddPointer(Cls->getCanonicalDecl()); in Profile()
H A DASTContext.cpp4165 const CXXRecordDecl *Cls) const { in getMemberPointerType()
4167 assert(Cls && "At least one of Qualifier or Cls must be provided"); in getMemberPointerType()
4169 getTypeDeclType(Cls).getTypePtr()); in getMemberPointerType()
4170 } else if (!Cls) { in getMemberPointerType()
4171 Cls = Qualifier->getAsRecordDecl(); in getMemberPointerType()
4176 MemberPointerType::Profile(ID, T, Qualifier, Cls); in getMemberPointerType()
4184 if (!Cls) in getMemberPointerType()
4187 *this, /*Prefix=*/nullptr, Cls->getCanonicalDecl()->getTypeForDecl()); in getMemberPointerType()
4196 getMemberPointerType(getCanonicalType(T), CanonicalQualifier, Cls); in getMemberPointerType()
14511 CXXRecordDecl *Cls = PX->getMostRecentCXXRecordDecl(); in getCommonSugarTypeNode() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp2022 llvm::Value *Cls = in EmitObjCForCollectionStmt() local
2024 IsKindOfClassArgs.add(RValue::get(Cls), C.getObjCClassType()); in EmitObjCForCollectionStmt()

12