| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 291 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { 543 P, GenericTaintRule::Prop(std::move(SrcDesc), std::move(DstDesc)), Rules); in parseConfig() 608 {{CDM::CLibrary, {"accept"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 609 {{CDM::CLibrary, {"atoi"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 610 {{CDM::CLibrary, {"atol"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 611 {{CDM::CLibrary, {"atoll"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 612 {{CDM::CLibrary, {"fgetc"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 613 {{CDM::CLibrary, {"fgetln"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 615 TR::Prop({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules() 617 TR::Prop({{ in initTaintRules() 297 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { Prop() function in __anonefbc91920111::GenericTaintRule [all...] |
| H A D | IvarInvalidationChecker.cpp | 192 const ObjCPropertyDecl *Prop, 300 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument 307 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar() 320 StringRef PropName = Prop->getIdentifier()->getName(); in findPropertyBackingIvar()
|
| H A D | CheckObjCDealloc.cpp | 936 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local 937 if (!Prop) in getValueReleasedByNillingOut() 940 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 149 const OpCodeProperty &Prop) { in constructOverloadName() argument 151 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop)).str(); in constructOverloadName() 153 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in constructOverloadName() 227 /// <param-types> are constructed from types in Prop. in getDXILOpFunctionType() 228 /// \param Prop Structure containing DXIL Operation properties based on in getDXILOpFunctionType() 231 static FunctionType *getDXILOpFunctionType(const OpCodeProperty *Prop, in getDXILOpFunctionType() 235 auto ParamKinds = getOpCodeParameterKind(*Prop); in getDXILOpFunctionType() 244 for (unsigned I = 0; I < Prop->NumOfParameters; ++I) { in getOrCreateDXILOpFunction() 258 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); 261 if ((Prop 224 getDXILOpFunctionType(const OpCodeProperty * Prop,Type * OverloadTy) getDXILOpFunctionType() argument 240 const OpCodeProperty *Prop = getOpCodeProperty(DXILOp); getOrCreateDXILOpFunction() local 273 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); getOverloadTy() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 108 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() 117 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol() 118 S.ObjC().DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), in CheckPropertyAgainstProtocol() 125 CheckPropertyAgainstProtocol(S, Prop, P, Known); 851 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() 853 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols() 854 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols() 855 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols() 875 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols() 107 CheckPropertyAgainstProtocol(Sema & S,ObjCPropertyDecl * Prop,ObjCProtocolDecl * Proto,llvm::SmallPtrSetImpl<ObjCProtocolDecl * > & Known) CheckPropertyAgainstProtocol() argument 866 for (const auto &Prop : llvm::enumerate(Properties)) { SelectPropertyForSynthesisFromProtocols() local 890 const ObjCPropertyDecl *Prop; SelectPropertyForSynthesisFromProtocols() member 1014 hasWrittenStorageAttribute(ObjCPropertyDecl * Prop,ObjCPropertyQueryKind QueryKind) hasWrittenStorageAttribute() argument 1760 for (auto *Prop : IDecl->properties()) { CollectImmediateProperties() local 1780 for (auto *Prop : CATDecl->properties()) { CollectImmediateProperties() local 1794 for (auto *Prop : PDecl->properties()) { CollectImmediateProperties() local 1864 SuperClassImplementsProperty(ObjCInterfaceDecl * IDecl,ObjCPropertyDecl * Prop) SuperClassImplementsProperty() argument 1897 ObjCPropertyDecl *Prop = PropEntry.second; DefaultSynthesizeProperties() local 1995 DiagnoseUnimplementedAccessor(Sema & S,ObjCInterfaceDecl * PrimaryClass,Selector Method,ObjCImplDecl * IMPDecl,ObjCContainerDecl * CDecl,ObjCCategoryDecl * C,ObjCPropertyDecl * Prop,llvm::SmallPtrSet<const ObjCMethodDecl *,8> & SMap) DiagnoseUnimplementedAccessor() argument 2118 ObjCPropertyDecl *Prop = P->second; DiagnoseUnimplementedProperties() local 2168 for (auto *Prop : IDecl->properties()) AtomicPropertySetterGetterRules() local 2171 for (auto *Prop : Ext->properties()) AtomicPropertySetterGetterRules() local [all...] |
| H A D | ScopeInfo.cpp | 135 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() 136 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy() 154 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() 155 assert(Msg && Prop); in recordUseOfWeak() 157 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak() 201 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() 204 Prop)); in markSafeWeakUse() 134 WeakObjectProfileTy(const Expr * BaseE,const ObjCPropertyDecl * Prop) WeakObjectProfileTy() argument 153 recordUseOfWeak(const ObjCMessageExpr * Msg,const ObjCPropertyDecl * Prop) recordUseOfWeak() argument 200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { markSafeWeakUse() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 746 static const ObjCIvarDecl *findBackingIvar(const ObjCPropertyDecl *Prop) { in findBackingIvar() argument 747 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar() 758 if (!Prop->isReadOnly()) in findBackingIvar() 761 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar() 777 Prop->getIdentifier(), Prop->getQueryKind()); in findBackingIvar() 778 if (ShadowingProp && ShadowingProp != Prop) { in findBackingIvar() 789 const ObjCPropertyDecl *Prop = nullptr; in createObjCPropertyGetter() local 800 Prop = Candidate; in createObjCPropertyGetter() 801 IVar = Prop->getPropertyIvarDecl(); in createObjCPropertyGetter() 808 Prop = MD->findPropertyDecl(); in createObjCPropertyGetter() [all …]
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 239 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() 240 if (Prop->isInstanceProperty() == IsInstance) { in getProperty() 241 return Prop; in getProperty() 406 for (auto *Prop : properties()) { in collectPropertiesToImplement() 407 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement() local 411 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() 412 PM[std::make_pair(Prop->getIdentifier(), Prop in collectPropertiesToImplement() local 238 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { getProperty() local 1461 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) findPropertyDecl() local 2050 for (auto *Prop : PDecl->properties()) { collectPropertiesToImplement() local 2068 for (auto *Prop : PDecl->properties()) { collectInheritedProtocolProperties() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CodeGenIntrinsics.h | |
| H A D | CodeGenTarget.h | |
| H A D | CodeGenDAGPatterns.h | |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | JSON.h | 856 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() 858 if (const Value *E = O->get(Prop)) in map() 859 return fromJSON(*E, Out, P.field(Prop)); in map() 860 P.field(Prop).report("missing value"); in map() 867 template <typename T> bool map(StringLiteral Prop, std::optional<T> &Out) { in map() 869 if (const Value *E = O->get(Prop)) in map() 870 return fromJSON(*E, Out, P.field(Prop)); in map() 878 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() 880 if (const Value *E = O->get(Prop)) in mapOptional() 881 return fromJSON(*E, Out, P.field(Prop)); in mapOptional() 854 map(StringLiteral Prop,T & Out) map() argument 865 map(StringLiteral Prop,std::optional<T> & Out) map() argument 876 mapOptional(StringLiteral Prop,T & Out) mapOptional() argument [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransProperties.cpp | 78 for (auto *Prop : D->instance_properties()) { in collectProperties() local 79 SourceLocation Loc = Prop->getAtLoc(); in collectProperties() 86 props.push_back(Prop); in collectProperties()
|
| H A D | ObjCMT.cpp | 249 const ObjCPropertyDecl *Prop = Method->findPropertyDecl(); in rewriteToPropertyDotSyntax() local 250 if (!Prop) in rewriteToPropertyDotSyntax() 277 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax() 287 PropertyDotString += Prop->getName(); in rewriteToPropertyDotSyntax() 590 for (auto *Prop : D->instance_properties()) { in migrateObjCContainerDecl() local 592 !Prop->isDeprecated()) in migrateObjCContainerDecl() 593 migratePropertyNsReturnsInnerPointer(Ctx, Prop); in migrateObjCContainerDecl()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 546 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop) 547 : OpCount(DbgOps.size()), BlockNo(0), Properties(Prop), Kind(Def) { 550 assert(DbgOps.size() == Prop.getLocationOpCount()); 567 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind) 568 : OpCount(0), BlockNo(BlockNo), Properties(Prop), Kind(Kind) { 572 DbgValue(const DbgValueProperties &Prop, KindT Kind) 573 : OpCount(0), BlockNo(0), Properties(Prop), Kind(Kind) {
|
| H A D | InstrRefBasedImpl.cpp | 652 const DbgValueProperties &Prop, in recoverAsEntryValue() 659 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() 662 if (Prop.IsVariadic) { in recoverAsEntryValue() 688 VarID, &*emitMOLoc(MO, Var, {NewExpr, Prop.Indirect, false}))); in redefVar() 835 auto &Prop = ActiveVLocs.find(VarID)->second.Properties; in clobberMloc() 836 recoverAsEntryValue(VarID, Prop, OldValue); in clobberMloc() 626 recoverAsEntryValue(const DebugVariable & Var,const DbgValueProperties & Prop,const ValueIDNum & Num) recoverAsEntryValue() argument 806 auto &Prop = ActiveVLocs.find(Var)->second.Properties; clobberMloc() local
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Index/ |
| H A D | USRGeneration.h | 54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
|
| /freebsd-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 108 for (const auto& Prop : V.properties()) in dump() 109 JOS.attributeObject(("p:" + Prop.first()).str(), in dump() local 110 [&] { dump(*Prop.second); }); in dump()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 855 bool TargetExtType::hasProperty(Property Prop) const { in hasProperty() 857 return (Properties & Prop) == Prop; in hasProperty()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 642 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in GDBIndexEntryKindString() 643 switch (Prop) { in GDBIndexEntryKindString() 600 ApplePropertyString(unsigned Prop) ApplePropertyString() argument
|
| /freebsd-src/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 591 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() 596 switch (Prop) { in printSymbolProperties() 592 __anonb0bcd6a10302(SymbolProperty Prop) printSymbolProperties() argument
|
| H A D | USRGeneration.cpp | 1160 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForGlobalEnum() 1162 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; 1144 generateUSRForObjCProperty(StringRef Prop,bool isClassProp,raw_ostream & OS) generateUSRForObjCProperty() argument
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 5354 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local 5355 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData() 5357 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData() 5359 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData() 5362 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData() 5367 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData() 5632 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local 5633 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl() 5635 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl() 5637 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl() [all …]
|
| H A D | RewriteModernObjC.cpp | 7027 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() 7028 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData() 7030 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData() 7032 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData() 7035 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData() 7040 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData() 7277 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() 7278 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl() 7280 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl() 7282 ObjCPropertyDecl *PD = Prop in RewriteObjCCategoryImplDecl() 7029 for (const auto *Prop : IDecl->property_impls()) { RewriteObjCClassMetaData() local 7279 for (const auto *Prop : IDecl->property_impls()) { RewriteObjCCategoryImplDecl() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 872 auto *Prop = Env.getValue(locForHasValue(*OptionalLoc)); in transfer() 873 if (auto *HasValueVal = cast_or_null<BoolValue>(Prop)) { 803 auto *Prop = Env.getValue(locForHasValue(*OptionalLoc)); diagnoseUnwrapCall() local
|