/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | NSAPI.h | 56 Selector getNSStringSelector(NSStringMethodKind MK) const; 89 Selector getNSArraySelector(NSArrayMethodKind MK) const; 92 std::optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel); 114 Selector getNSDictionarySelector(NSDictionaryMethodKind MK) const; 117 std::optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel); 131 Selector getNSSetSelector(NSSetMethodKind MK) const; 134 std::optional<NSSetMethodKind> getNSSetMethodKind(Selector Sel); 137 Selector getObjectForKeyedSubscriptSelector() const { in getObjectForKeyedSubscriptSelector() 143 Selector getObjectAtIndexedSubscriptSelector() const { in getObjectAtIndexedSubscriptSelector() 149 Selector getSetObjectForKeyedSubscriptSelector() const { in getSetObjectForKeyedSubscriptSelector() [all …]
|
H A D | SelectorLocationsKind.h | 20 class Selector; variable 45 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 57 Selector Sel, 63 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel, 75 Selector Sel,
|
H A D | DeclObjC.h | 170 SourceLocation beginLoc, SourceLocation endLoc, Selector SelInfo, 231 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo, 309 Selector Sel = getSelector(); in getNumSelectorLocs() 327 Selector getSelector() const { return getDeclName().getObjCSelector(); } in getSelector() 756 Selector GetterName; 759 Selector SetterName; 884 Selector getGetterName() const { return GetterName; } in getGetterName() 887 void setGetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { 892 Selector getSetterName() const { return SetterName; } in getSetterName() 895 void setSetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 966 class Selector { 998 Selector(const IdentifierInfo *II, unsigned nArgs) { in Selector() function 1003 Selector(MultiKeywordSelector *SI) { in Selector() function 1028 static ObjCMethodFamily getMethodFamilyImpl(Selector sel); 1030 static ObjCStringFormatFamily getStringFormatFamilyImpl(Selector sel); 1035 Selector() = default; 1036 explicit Selector(uintptr_t V) { in Selector() function 1041 bool operator==(Selector RHS) const { 1044 bool operator!=(Selector RHS) const { 1109 static Selector getEmptyMarker() { in getEmptyMarker() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaObjC.h | 207 llvm::MapVector<Selector, SourceLocation> ReferencedSelectors; 212 using iterator = llvm::DenseMap<Selector, Lists>::iterator; 215 iterator find(Selector Sel) { return Methods.find(Sel); } in find() 216 std::pair<iterator, bool> insert(std::pair<Selector, Lists> &&Val) { in insert() argument 219 int count(Selector Sel) const { return Methods.count(Sel); } in count() 223 llvm::DenseMap<Selector, Lists> Methods; 234 typedef llvm::SmallPtrSet<Selector, 8> SelectorSet; 371 ArrayRef<SourceLocation> SelectorLocs, Selector Sel, 460 void ReadMethodPool(Selector Sel); 461 void updateOutOfDateSelector(Selector Sel); [all …]
|
H A D | MultiplexExternalSemaSource.h | 75 Selector GetExternalSelector(uint32_t ID) override; 208 void ReadMethodPool(Selector Sel) override; 212 void updateOutOfDateSelector(Selector Sel) override; 292 void ReadReferencedSelectors(SmallVectorImpl<std::pair<Selector,
|
H A D | ExternalSemaSource.h | 69 virtual void ReadMethodPool(Selector Sel); 73 virtual void updateOutOfDateSelector(Selector Sel); 154 SmallVectorImpl<std::pair<Selector, SourceLocation> > &Sels) {} in ReadReferencedSelectors() argument
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | EHStreamer.h | 145 static bool isFilterEHSelector(int Selector) { return Selector < 0; } in isFilterEHSelector() argument 146 static bool isCleanupEHSelector(int Selector) { return Selector == 0; } in isCleanupEHSelector() argument 147 static bool isCatchEHSelector(int Selector) { return Selector > 0; } in isCatchEHSelector() argument
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | IdentifierTable.cpp | 515 unsigned llvm::DenseMapInfo<clang::Selector>::getHashValue(clang::Selector S) { in getHashValue() 519 bool Selector::isKeywordSelector(ArrayRef<StringRef> Names) const { in isKeywordSelector() 530 bool Selector::isUnarySelector(StringRef Name) const { in isUnarySelector() 534 unsigned Selector::getNumArgs() const { in getNumArgs() 546 Selector::getIdentifierInfoForSlot(unsigned argIndex) const { in getIdentifierInfoForSlot() 557 StringRef Selector::getNameForSlot(unsigned int argIndex) const { in getNameForSlot() 574 std::string Selector::getAsString() const { in getAsString() 597 void Selector::print(llvm::raw_ostream &OS) const { in print() 601 LLVM_DUMP_METHOD void Selector::dump() const { print(llvm::errs()); } in dump() 612 ObjCMethodFamily Selector::getMethodFamilyImpl(Selector sel) { in getMethodFamilyImpl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BasicObjCFoundationChecks.cpp | 105 mutable llvm::SmallDenseMap<Selector, unsigned, 16> StringSelectors; 106 mutable Selector ArrayWithObjectSel; 107 mutable Selector AddObjectSel; 108 mutable Selector InsertObjectAtIndexSel; 109 mutable Selector ReplaceObjectAtIndexWithObjectSel; 110 mutable Selector SetObjectAtIndexedSubscriptSel; 111 mutable Selector ArrayByAddingObjectSel; 112 mutable Selector DictionaryWithObjectForKeySel; 113 mutable Selector SetObjectForKeySel; 114 mutable Selector SetObjectForKeyedSubscriptSel; [all …]
|
H A D | ObjCMissingSuperCallChecker.cpp | 43 explicit FindSuperCallVisitor(Selector S) : DoesCallSuper(false), Sel(S) {} in FindSuperCallVisitor() 57 Selector Sel; 77 mutable llvm::StringMap<llvm::SmallPtrSet<Selector, 16>> SelectorsForClass; 103 llvm::SmallPtrSet<Selector, 16> &ClassSelectors = in fillSelectors() 112 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors() 181 Selector S = MD->getSelector(); in checkASTDecl()
|
H A D | NoReturnFunctionChecker.cpp | 31 mutable Selector HandleFailureInFunctionSel; 32 mutable Selector HandleFailureInMethodSel; 120 Selector Sel = Msg.getSelector(); in checkPostObjCMessage()
|
H A D | TrustNonnullChecker.cpp | 51 Selector ObjectForKeyedSubscriptSel; 52 Selector ObjectForKeySel; 53 Selector SetObjectForKeyedSubscriptSel; 54 Selector SetObjectForKeySel;
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | RetainSummaryManager.h | 210 Selector S; 212 ObjCSummaryKey(IdentifierInfo* ii, Selector s) in ObjCSummaryKey() 215 ObjCSummaryKey(const ObjCInterfaceDecl *d, Selector s) in ObjCSummaryKey() 218 ObjCSummaryKey(Selector s) in ObjCSummaryKey() 222 Selector getSelector() const { return S; } in getSelector() 251 DenseMapInfo<Selector>::getEmptyKey()); 256 DenseMapInfo<Selector>::getTombstoneKey()); 260 typedef std::pair<IdentifierInfo*, Selector> PairTy; 396 const RetainSummary * find(const ObjCInterfaceDecl *D, Selector S) { 428 const RetainSummary *find(IdentifierInfo* II, Selector S) { [all …]
|
H A D | SelectorExtras.h | 17 static inline Selector getKeywordSelector(ASTContext &Ctx, in getKeywordSelector() 27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | NSAPI.cpp | 43 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const { in getNSStringSelector() 45 Selector Sel; in getNSStringSelector() 77 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector() 79 Selector Sel; in getNSArraySelector() 138 NSAPI::getNSArrayMethodKind(Selector Sel) { in getNSArrayMethodKind() 148 Selector NSAPI::getNSDictionarySelector( in getNSDictionarySelector() 151 Selector Sel; in getNSDictionarySelector() 226 NSAPI::getNSDictionaryMethodKind(Selector Sel) { in getNSDictionaryMethodKind() 236 Selector NSAPI::getNSSetSelector(NSSetMethodKind MK) const { in getNSSetSelector() 238 Selector Sel; in getNSSetSelector() [all …]
|
H A D | SelectorLocationsKind.cpp | 20 Selector Sel, in getStandardSelLoc() 69 SelectorLocationsKind hasStandardSelLocs(Selector Sel, in hasStandardSelLocs() 96 clang::hasStandardSelectorLocs(Selector Sel, in hasStandardSelectorLocs() 104 Selector Sel, in getStandardSelectorLoc() 113 clang::hasStandardSelectorLocs(Selector Sel, in hasStandardSelectorLocs() 121 Selector Sel, in getStandardSelectorLoc()
|
H A D | ExprObjC.cpp | 109 QualType SuperType, Selector Sel, in ObjCMessageExpr() 128 TypeSourceInfo *Receiver, Selector Sel, in ObjCMessageExpr() 145 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() 177 bool IsInstanceSuper, QualType SuperType, Selector Sel, in Create() 197 Selector Sel, ArrayRef<SourceLocation> SelLocs, in Create() 215 SourceLocation LBracLoc, Expr *Receiver, Selector Sel, in Create() 243 Selector Sel, in alloc() 293 Selector ObjCMessageExpr::getSelector() const { in getSelector() 297 return Selector(SelectorOrMethod); in getSelector()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPContext.h | 55 TraitSet getOpenMPContextTraitSetForSelector(TraitSelector Selector); 76 TraitSelector Selector, 80 TraitProperty getOpenMPContextTraitPropertyForSelector(TraitSelector Selector); 100 TraitSelector Selector); 107 bool isValidTraitSelectorForTraitSet(TraitSelector Selector, TraitSet Set, 113 TraitSelector Selector,
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPContext.cpp | 385 llvm::omp::getOpenMPContextTraitSetForSelector(TraitSelector Selector) { in getOpenMPContextTraitSetForSelector() argument 386 switch (Selector) { in getOpenMPContextTraitSetForSelector() 442 TraitSet Set, TraitSelector Selector, StringRef S) { in getOpenMPContextTraitPropertyKind() argument 445 if (Set == TraitSet::device && Selector == TraitSelector::device_isa) in getOpenMPContextTraitPropertyKind() 454 llvm::omp::getOpenMPContextTraitPropertyForSelector(TraitSelector Selector) { in getOpenMPContextTraitPropertyForSelector() argument 456 getOpenMPContextTraitSelectorName(Selector)) in getOpenMPContextTraitPropertyForSelector() 458 .Case(Str, Selector == TraitSelector::TraitSelectorEnum \ in getOpenMPContextTraitPropertyForSelector() 486 bool llvm::omp::isValidTraitSelectorForTraitSet(TraitSelector Selector, in isValidTraitSelectorForTraitSet() argument 491 switch (Selector) { in isValidTraitSelectorForTraitSet() 502 TraitProperty Property, TraitSelector Selector, TraitSet Set) { in isValidTraitPropertyForTraitSetAndSelector() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ShuffleDecodeConstantPool.cpp | 218 uint64_t Selector = RawMask[i]; in DecodeVPERMIL2PMask() local 219 unsigned MatchBit = (Selector >> 3) & 0x1; in DecodeVPERMIL2PMask() 234 Index += (Selector >> 1) & 0x1; in DecodeVPERMIL2PMask() 236 Index += Selector & 0x3; in DecodeVPERMIL2PMask() 238 int Src = (Selector >> 2) & 0x1; in DecodeVPERMIL2PMask()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCRuntime.h | 52 class Selector; variable 129 virtual llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) = 0; 136 virtual Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) = 0; 171 Selector Sel, 185 Selector Sel, 202 Selector Sel,
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransAPIUses.cpp | 33 Selector getReturnValueSel, setReturnValueSel; 34 Selector getArgumentSel, setArgumentSel; 36 Selector zoneSel;
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/DomainSpecific/ |
H A D | ObjCNoReturn.h | 26 Selector RaiseSel; 34 Selector NSExceptionInstanceRaiseSelectors[NUM_RAISE_SELECTORS];
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | RangeSelector.cpp | 99 RangeSelector transformer::before(RangeSelector Selector) { in before() argument 100 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in before() 101 Expected<CharSourceRange> SelectedRange = Selector(Result); in before() 108 RangeSelector transformer::after(RangeSelector Selector) { in after() argument 109 return [Selector](const MatchResult &Result) -> Expected<CharSourceRange> { in after() 110 Expected<CharSourceRange> SelectedRange = Selector(Result); in after()
|