/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | GenericTaintChecker.cpp | 291 static GenericTaintRule Prop(ArgSet &&SrcArgs, ArgSet &&DstArgs) { in Prop() function in __anoncee4e0c00111::GenericTaintRule 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({{2}}, {{0, ReturnValueIndex}})}, in initTaintRules() [all …]
|
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/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() 231 static FunctionType *getDXILOpFunctionType(const OpCodeProperty *Prop, in getDXILOpFunctionType() argument 235 auto ParamKinds = getOpCodeParameterKind(*Prop); in getDXILOpFunctionType() 244 for (unsigned I = 0; I < Prop->NumOfParameters; ++I) { in getDXILOpFunctionType() 258 const OpCodeProperty *Prop = getOpCodeProperty(OpCode); in createDXILOpCall() local 261 if ((Prop->OverloadTys & (uint16_t)Kind) == 0) { in createDXILOpCall() 265 std::string DXILFnName = constructOverloadName(Kind, OverloadTy, *Prop); in createDXILOpCall() 272 FunctionType *DXILOpFT = getDXILOpFunctionType(Prop, ReturnTy, OverloadTy); in createDXILOpCall() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 108 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, in CheckPropertyAgainstProtocol() argument 117 Prop->getIdentifier(), Prop->isInstanceProperty())) { in CheckPropertyAgainstProtocol() 118 S.ObjC().DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), in CheckPropertyAgainstProtocol() 125 CheckPropertyAgainstProtocol(S, Prop, P, Known); in CheckPropertyAgainstProtocol() 851 for (const auto &Prop : llvm::enumerate(Properties)) { in SelectPropertyForSynthesisFromProtocols() local 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() member 880 for (ObjCPropertyDecl *Prop : Properties) { in SelectPropertyForSynthesisFromProtocols() [all …]
|
H A D | ScopeInfo.cpp | 135 const ObjCPropertyDecl *Prop) in WeakObjectProfileTy() argument 136 : Base(nullptr, true), Property(Prop) { in WeakObjectProfileTy() 154 const ObjCPropertyDecl *Prop) { in recordUseOfWeak() argument 155 assert(Msg && Prop); in recordUseOfWeak() 157 WeakObjectUses[WeakObjectProfileTy(Msg->getInstanceReceiver(), Prop)]; in recordUseOfWeak() 201 if (const ObjCPropertyDecl *Prop = MD->findPropertyDecl()) { in markSafeWeakUse() local 204 Prop)); in markSafeWeakUse()
|
H A D | SemaPseudoObject.cpp | 592 const ObjCPropertyDecl *Prop = RefExpr->getExplicitProperty(); in isWeakProperty() local 593 if (Prop->getPropertyAttributes() & ObjCPropertyAttribute::kind_weak) in isWeakProperty() 596 T = Prop->getType(); in isWeakProperty()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 239 if (auto *Prop = dyn_cast<ObjCPropertyDecl>(LookupResult)) { in getProperty() local 240 if (Prop->isInstanceProperty() == IsInstance) { in getProperty() 241 return Prop; in getProperty() 406 for (auto *Prop : properties()) { in collectPropertiesToImplement() local 407 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement() 411 for (auto *Prop : ClassExt->properties()) { in collectPropertiesToImplement() local 412 PM[std::make_pair(Prop->getIdentifier(), Prop->isClassProperty())] = Prop; in collectPropertiesToImplement() 1461 if (const ObjCPropertyDecl *Prop = Override->findPropertyDecl(false)) in findPropertyDecl() local 1462 return Prop; in findPropertyDecl() 2044 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() local [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
H A D | CodeGenIntrinsics.h | 140 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | JSON.h | 856 template <typename T> bool map(StringLiteral Prop, T &Out) { in map() argument 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() argument 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() argument 880 if (const Value *E = O->get(Prop)) in mapOptional() 881 return fromJSON(*E, Out, P.field(Prop)); in mapOptional()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenTarget.h | 249 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
H A D | CodeGenDAGPatterns.h | 471 bool hasProperty(enum SDNP Prop) const { return Properties & (1 << Prop); } in hasProperty() argument
|
/freebsd/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/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() argument 659 const DIExpression *DIExpr = Prop.DIExpr; in recoverAsEntryValue() 662 if (Prop.IsVariadic) { in recoverAsEntryValue() 688 VarID, &*emitMOLoc(MO, Var, {NewExpr, Prop.Indirect, false}))); in recoverAsEntryValue() 835 auto &Prop = ActiveVLocs.find(VarID)->second.Properties; in clobberMloc() local 836 recoverAsEntryValue(VarID, Prop, OldValue); in clobberMloc()
|
/freebsd/contrib/llvm-project/clang/include/clang/Index/ |
H A D | USRGeneration.h | 54 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/IR/ |
H A D | Type.cpp | 855 bool TargetExtType::hasProperty(Property Prop) const { in hasProperty() 857 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 | 1160 void clang::index::generateUSRForObjCProperty(StringRef Prop, bool isClassProp, in generateUSRForObjCProperty() argument 1162 OS << (isClassProp ? "(cpy)" : "(py)") << Prop; in generateUSRForObjCProperty()
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | Dwarf.cpp | 642 StringRef llvm::dwarf::ApplePropertyString(unsigned Prop) { in ApplePropertyString() argument 643 switch (Prop) { in ApplePropertyString()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
H A D | UncheckedOptionalAccessModel.cpp | 872 auto *Prop = Env.getValue(locForHasValue(*OptionalLoc)); in diagnoseUnwrapCall() local 873 if (auto *HasValueVal = cast_or_null<BoolValue>(Prop)) { in diagnoseUnwrapCall()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 7027 for (const auto *Prop : IDecl->property_impls()) { in RewriteObjCClassMetaData() local 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() local 7278 if (Prop->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic) in RewriteObjCCategoryImplDecl() 7280 if (!Prop->getPropertyIvarDecl()) in RewriteObjCCategoryImplDecl() 7282 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); in RewriteObjCCategoryImplDecl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFunction.cpp | 91 static const char *getPropertyName(MachineFunctionProperties::Property Prop) { in getPropertyName() argument 95 switch(Prop) { in getPropertyName()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 423 const ObjCPropertyDecl *Prop);
|