Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp632 {{{"fscanf"}}, TR::Prop({{0}}, {{}, 2})}, in initTaintRules()
634 {{{"sscanf"}}, TR::Prop({{0}}, {{}, 2})}, in initTaintRules()
638 {{{"getdelim"}}, TR::Prop({{3}}, {{0}})}, in initTaintRules()
639 {{{"getline"}}, TR::Prop({{2}}, {{0}})}, in initTaintRules()
686 {{{"qsort"}}, TR::Prop({{0}}, {{0}})}, in initTaintRules()
687 {{{"qsort_r"}}, TR::Prop({{0}}, {{0}})}, in initTaintRules()
724 TR::Prop({{1, 2}}, {{0}})}, in initTaintRules()
726 TR::Prop({{1, 2}}, {{0}})}, in initTaintRules()
732 TR::Prop({{1}}, {{0, ReturnValueIndex}})}, in initTaintRules()
734 TR::Prop({{1}}, {{0, ReturnValueIndex}})}, in initTaintRules()
[all …]
H A DIvarInvalidationChecker.cpp192 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 DCheckObjCDealloc.cpp936 const ObjCPropertyDecl *Prop = M.getAccessedProperty(); in getValueReleasedByNillingOut() local
937 if (!Prop) in getValueReleasedByNillingOut()
940 ObjCIvarDecl *PropIvarDecl = Prop->getPropertyIvarDecl(); in getValueReleasedByNillingOut()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp153 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in constructOverloadName()
228 auto ParamKinds = getOpCodeParameterKind(*Prop); in getDXILOpFunctionType()
230 for (unsigned I = 0; I < Prop->NumOfParameters; ++I) { in getDXILOpFunctionType()
240 const OpCodeProperty *Prop = getOpCodeProperty(DXILOp); in getOrCreateDXILOpFunction() local
245 if ((Prop->OverloadTys & (uint16_t)Kind) == 0) { in getOrCreateDXILOpFunction()
273 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in getOverloadTy() local
274 if (Prop->OverloadParamIndex < 0) { in getOverloadTy()
277 switch (Prop->OverloadTys) { in getOverloadTy()
304 if (Prop->OverloadParamIndex != 0) { in getOverloadTy()
310 auto ParamKinds = getOpCodeParameterKind(*Prop); in getOverloadTy()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp116 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol()
1763 PropMap[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = in CollectImmediateProperties()
1764 Prop; in CollectImmediateProperties()
1783 PropMap[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = in CollectImmediateProperties()
1784 Prop; in CollectImmediateProperties()
1808 PropEntry = Prop; in CollectImmediateProperties()
1905 Prop->getIdentifier(), Prop->getQueryKind())) in DefaultSynthesizeProperties()
1972 Prop->getLocation(), Prop->getQueryKind())); in DefaultSynthesizeProperties()
2128 PrimaryClass, Prop->getGetterName(), IMPDecl, CDecl, C, Prop, InsMap); in DiagnoseUnimplementedProperties()
2169 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in AtomicPropertySetterGetterRules()
[all …]
H A DScopeInfo.cpp134 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument
135 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy()
153 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument
154 assert(Msg && Prop); in recordUseOfWeak()
156 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak()
200 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local
203 Prop)); in markSafeWeakUse()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp747 const ObjCIvarDecl *IVar = Prop->getPropertyIvarDecl(); in findBackingIvar()
758 if (!Prop->isReadOnly()) 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()
809 IVar = Prop ? findBackingIvar(Prop) : nullptr; in createObjCPropertyGetter()
812 if (!IVar || !Prop) in createObjCPropertyGetter()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp240 return Prop; in getProperty()
407 for (auto *Prop : properties()) { in collectPropertiesToImplement() local
408 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
413 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement()
1462 return Prop; in findPropertyDecl()
2050 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local
2053 std::make_pair(Prop->getIdentifier(), Prop->isClassProperty()), in collectPropertiesToImplement()
2054 Prop)); in collectPropertiesToImplement()
2068 for (auto *Prop : PDecl->properties()) { in collectInheritedProtocolProperties() local
2069 if (Prop == Property) in collectInheritedProtocolProperties()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenIntrinsics.h139 bool hasProperty(enum SDNP Prop) const { in hasProperty()
140 return Properties & (1 << Prop); in hasProperty()
H A DCodeGenTarget.h234 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
H A DCodeGenDAGPatterns.h474 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h854 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument
856 if (const Value *E = O->get(Prop)) in map()
857 return fromJSON(*E, Out, P.field(Prop)); in map()
858 P.field(Prop).report("missing value"); in map()
865 template <typename T> bool map(StringLiteral Prop, std::optional<T> &Out) { in map() argument
867 if (const Value *E = O->get(Prop)) in map()
868 return fromJSON(*E, Out, P.field(Prop)); in map()
876 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument
878 if (const Value *E = O->get(Prop)) in mapOptional()
879 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp78 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 DObjCMT.cpp249 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-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h508 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop)
509 : OpCount(DbgOps.size()), BlockNo(0), Properties(Prop), Kind(Def) {
512 assert(DbgOps.size() == Prop.getLocationOpCount());
529 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind)
530 : OpCount(0), BlockNo(BlockNo), Properties(Prop), Kind(Kind) {
534 DbgValue(const DbgValueProperties &Prop, KindT Kind)
535 : OpCount(0), BlockNo(0), Properties(Prop), Kind(Kind) {
H A DInstrRefBasedImpl.cpp626 const DbgValueProperties &Prop, in recoverAsEntryValue() argument
633 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue()
636 if (Prop.IsVariadic) { in recoverAsEntryValue()
661 emitMOLoc(MO, Var, {NewExpr, Prop.Indirect, false})); in recoverAsEntryValue()
806 auto &Prop = ActiveVLocs.find(Var)->second.Properties; in clobberMloc() local
807 recoverAsEntryValue(Var, Prop, OldValue); in clobberMloc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp109 for (const auto& Prop : V.properties()) in dump() local
110 JOS.attributeObject(("p:" + Prop.first()).str(), in dump()
111 [&] { dump(*Prop.second); }); in dump()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp855 bool TargetExtType::hasProperty(Property Prop) const { in hasProperty()
857 return (Properties & Prop) == Prop; in hasProperty()
/freebsd-14.2/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DDwarf.cpp600 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument
601 switch (Prop) { in ApplePropertyString()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp592 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() argument
597 switch (Prop) { in printSymbolProperties()
H A DUSRGeneration.cpp1144 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForObjCProperty() argument
1146 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; in generateUSRForObjCProperty()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5354 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
5635 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
5637 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
5640 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl()
[all …]
H A DRewriteModernObjC.cpp7029 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local
7030 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData()
7032 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData()
7034 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData()
7037 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData()
7042 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData()
7279 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local
7282 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl()
7284 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl()
7287 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp803 auto *Prop = Env.getValue(locForHasValue(*OptionalLoc)); in diagnoseUnwrapCall() local
804 if (auto *HasValueVal = cast_or_null<BoolValue>(Prop)) { in diagnoseUnwrapCall()

12