| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 289 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { in Prop() function in __anoncee4e0c00111::GenericTaintRule 541 P, GenericTaintRule::Prop(std::move(SrcDesc), std::move(DstDesc)), Rules); in parseConfig() 606 {{CDM::CLibrary, {"accept"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 607 {{CDM::CLibrary, {"atoi"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 608 {{CDM::CLibrary, {"atol"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 609 {{CDM::CLibrary, {"atoll"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 610 {{CDM::CLibrary, {"fgetc"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 611 {{CDM::CLibrary, {"fgetln"}}, TR::Prop({{0}}, {{ReturnValueIndex}})}, in initTaintRules() 613 TR::Prop({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules() 615 TR::Prop({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules() [all …]
|
| H A D | IvarInvalidationChecker.cpp | 191 const ObjCPropertyDecl *Prop, 299 const ObjCPropertyDecl *Prop, in findPropertyBackingIvar() argument 306 IvarD = Prop->getPropertyIvarDecl(); in findPropertyBackingIvar() 319 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/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 106 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument 115 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol() 116 S.ObjC().DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), in CheckPropertyAgainstProtocol() 123 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol() 852 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() local 854 if (Property->isReadOnly() && !Prop.value()->isReadOnly()) { in SelectPropertyForSynthesisFromProtocols() 855 Property = Prop.value(); in SelectPropertyForSynthesisFromProtocols() 856 SelectedIndex = Prop.index(); in SelectPropertyForSynthesisFromProtocols() 876 const ObjCPropertyDecl *Prop; in SelectPropertyForSynthesisFromProtocols() member 881 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols() [all …]
|
| H A D | ScopeInfo.cpp | 134 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/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 167 const OpCodeProperty &Prop) { in constructOverloadName() argument 169 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop)).str(); in constructOverloadName() 171 return (Twine(DXILOpNamePrefix) + getOpCodeClassName(Prop) + "." + in constructOverloadName() 404 const T &Prop = *Iter; in getPropIndex() local 405 if (VersionTuple(Prop.DXILVersion.Major, Prop.DXILVersion.Minor) <= in getPropIndex() 497 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in tryCreateOp() local 500 if (Prop->OverloadParamIndex == 0) { in tryCreateOp() 504 } else if (Prop->OverloadParamIndex > 0) { in tryCreateOp() 506 unsigned ArgIndex = Prop->OverloadParamIndex - 1; in tryCreateOp() 516 getPropIndex(ArrayRef(Prop->Overloads), DXILVersion); in tryCreateOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenTarget.cpp | 362 for (const Record *Prop : R->getValueAsListOfDefs("Properties")) { in ComplexPattern() local 363 if (Prop->getName() == "SDNPHasChain") { in ComplexPattern() 365 } else if (Prop->getName() == "SDNPOptInGlue") { in ComplexPattern() 367 } else if (Prop->getName() == "SDNPMayStore") { in ComplexPattern() 369 } else if (Prop->getName() == "SDNPMayLoad") { in ComplexPattern() 371 } else if (Prop->getName() == "SDNPSideEffect") { in ComplexPattern() 373 } else if (Prop->getName() == "SDNPMemOperand") { in ComplexPattern() 375 } else if (Prop->getName() == "SDNPVariadic") { in ComplexPattern() 379 "Unsupported SD Node property '" + Prop->getName() + in ComplexPattern()
|
| H A D | CodeGenTarget.h | 252 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
| H A D | CodeGenDAGPatterns.h | 461 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
| /freebsd/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/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 236 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() local 237 if (Prop->isInstanceProperty() == IsInstance) { in getProperty() 238 return Prop; in getProperty() 403 for (auto *Prop : properties()) { in collectPropertiesToImplement() local 404 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement() 408 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local 409 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement() 1458 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) in findPropertyDecl() local 1459 return Prop; in findPropertyDecl() 2041 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | JSON.h | 873 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument 875 if (const Value *E = O->get(Prop)) in map() 876 return fromJSON(*E, Out, P.field(Prop)); in map() 877 P.field(Prop).report("missing value"); in map() 884 template <typename T> bool map(StringLiteral Prop, std::optional<T> &Out) { in map() argument 886 if (const Value *E = O->get(Prop)) in map() 887 return fromJSON(*E, Out, P.field(Prop)); in map() 895 template <typename T> bool mapOptional(StringLiteral Prop, T &Out) { in mapOptional() argument 897 if (const Value *E = O->get(Prop)) in mapOptional() 898 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | CodeGenIntrinsics.h | 155 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.h | 541 DbgValue(ArrayRef<DbgOpID> DbgOps, const DbgValueProperties &Prop) 542 : OpCount(DbgOps.size()), BlockNo(0), Properties(Prop), Kind(Def) { 545 assert(DbgOps.size() == Prop.getLocationOpCount()); 562 DbgValue(unsigned BlockNo, const DbgValueProperties &Prop, KindT Kind) 563 : OpCount(0), BlockNo(BlockNo), Properties(Prop), Kind(Kind) { 567 DbgValue(const DbgValueProperties &Prop, KindT Kind) 568 : OpCount(0), BlockNo(0), Properties(Prop), Kind(Kind) {
|
| H A D | InstrRefBasedImpl.cpp | 658 const DbgValueProperties &Prop, in recoverAsEntryValue() argument 665 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() 668 if (Prop.IsVariadic) { in recoverAsEntryValue() 686 VarID, &*emitMOLoc(MO, Var, {DIExpr, Prop.Indirect, false}))); in recoverAsEntryValue() 704 VarID, &*emitMOLoc(MO, Var, {NewExpr, Prop.Indirect, false}))); in recoverAsEntryValue() 851 auto &Prop = ActiveVLocs.find(VarID)->second.Properties; in clobberMloc() local 852 recoverAsEntryValue(VarID, Prop, OldValue); in clobberMloc()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Index/ |
| H A D | USRGeneration.h | 57 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 108 for (const auto& Prop : V.properties()) in dump() local 109 JOS.attributeObject(("p:" + Prop.first()).str(), in dump() 110 [&] { dump(*Prop.second); }); in dump()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXUtilities.cpp | 171 static bool globalHasNVVMAnnotation(const Value &V, const std::string &Prop) { in globalHasNVVMAnnotation() argument 173 if (const auto Annot = findOneNVVMAnnotation(GV, Prop)) { in globalHasNVVMAnnotation()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/ |
| H A D | Protocol.cpp | 16 static bool mapRaw(const json::Value &Params, StringLiteral Prop, in mapRaw() argument 23 const json::Value *E = O->get(Prop); in mapRaw()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 781 AttributeProperty Prop) { in hasAttributeProperty() argument 782 return getAttributeProperties(Kind) & Prop; in hasAttributeProperty() 798 AttributeProperty Prop) { in hasIntersectProperty() argument 799 assert((Prop == AttributeProperty::IntersectPreserve || in hasIntersectProperty() 800 Prop == AttributeProperty::IntersectAnd || in hasIntersectProperty() 801 Prop == AttributeProperty::IntersectMin || in hasIntersectProperty() 802 Prop == AttributeProperty::IntersectCustom) && in hasIntersectProperty() 805 AttributeProperty::IntersectPropertyMask) == Prop; in hasIntersectProperty()
|
| H A D | Type.cpp | 1063 bool TargetExtType::hasProperty(Property Prop) const { in hasProperty() 1065 return (Properties & Prop) == Prop; in hasProperty()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 591 applyForEachSymbolProperty(Props, [&](SymbolProperty Prop) { in printSymbolProperties() argument 596 switch (Prop) { in printSymbolProperties()
|
| H A D | USRGeneration.cpp | 1158 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForObjCProperty() argument 1160 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; in generateUSRForObjCProperty()
|
| /freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
| H A D | Dwarf.cpp | 661 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument 662 switch (Prop) { in ApplePropertyString()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 5333 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local 5334 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCClassMetaData() 5336 if (!Prop->getPropertyIvarDecl()) in RewriteObjCClassMetaData() 5338 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCClassMetaData() 5341 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData() 5346 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl()) in RewriteObjCClassMetaData() 5611 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCCategoryImplDecl() local 5612 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl() 5614 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl() 5616 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl() [all …]
|