/llvm-project/clang/lib/AST/ |
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 | NSAPI.cpp | 45 Selector Sel; in getNSStringSelector() local 79 Selector Sel; in getNSArraySelector() local 138 getNSArrayMethodKind(Selector Sel) getNSArrayMethodKind() argument 151 Selector Sel; getNSDictionarySelector() local 226 getNSDictionaryMethodKind(Selector Sel) getNSDictionaryMethodKind() argument 238 Selector Sel; getNSSetSelector() local 275 getNSSetMethodKind(Selector Sel) getNSSetMethodKind() argument [all...] |
H A D | ExprObjC.cpp | 109 ObjCMessageExpr(QualType T,ExprValueKind VK,SourceLocation LBracLoc,SourceLocation SuperLoc,bool IsInstanceSuper,QualType SuperType,Selector Sel,ArrayRef<SourceLocation> SelLocs,SelectorLocationsKind SelLocsK,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) ObjCMessageExpr() argument 128 ObjCMessageExpr(QualType T,ExprValueKind VK,SourceLocation LBracLoc,TypeSourceInfo * Receiver,Selector Sel,ArrayRef<SourceLocation> SelLocs,SelectorLocationsKind SelLocsK,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) ObjCMessageExpr() argument 145 ObjCMessageExpr(QualType T,ExprValueKind VK,SourceLocation LBracLoc,Expr * Receiver,Selector Sel,ArrayRef<SourceLocation> SelLocs,SelectorLocationsKind SelLocsK,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) ObjCMessageExpr() argument 177 Create(const ASTContext & Context,QualType T,ExprValueKind VK,SourceLocation LBracLoc,SourceLocation SuperLoc,bool IsInstanceSuper,QualType SuperType,Selector Sel,ArrayRef<SourceLocation> SelLocs,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) Create() argument 197 Create(const ASTContext & Context,QualType T,ExprValueKind VK,SourceLocation LBracLoc,TypeSourceInfo * Receiver,Selector Sel,ArrayRef<SourceLocation> SelLocs,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) Create() argument 215 Create(const ASTContext & Context,QualType T,ExprValueKind VK,SourceLocation LBracLoc,Expr * Receiver,Selector Sel,ArrayRef<SourceLocation> SelLocs,ObjCMethodDecl * Method,ArrayRef<Expr * > Args,SourceLocation RBracLoc,bool isImplicit) Create() argument 243 alloc(const ASTContext & C,ArrayRef<Expr * > Args,SourceLocation RBraceLoc,ArrayRef<SourceLocation> SelLocs,Selector Sel,SelectorLocationsKind & SelLocsK) alloc() argument [all...] |
H A D | DeclObjC.cpp | 93 getMethod(Selector Sel,bool isInstance,bool AllowHidden) const getMethod() argument 127 Selector Sel = Property->getSetterName(); HasUserDeclaredSetterMethod() local 570 isDesignatedInitializer(Selector Sel,const ObjCMethodDecl ** InitMethod) const isDesignatedInitializer() argument 699 lookupMethod(Selector Sel,bool isInstance,bool shallowCategoryLookup,bool followSuper,const ObjCCategoryDecl * C) const lookupMethod() argument 757 lookupPrivateMethod(const Selector & Sel,bool Instance) const lookupPrivateMethod() argument 1014 const auto &Sel = getSelector(); getCanonicalDecl() local 1379 Selector Sel = getSelector(); findPropertyDecl() local 1997 lookupMethod(Selector Sel,bool isInstance) const lookupMethod() argument [all...] |
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCMissingSuperCallChecker.cpp | 57 Selector Sel; member in __anonba33d2590111::FindSuperCallVisitor 101 ArrayRef<SelectorDescriptor> Sel, in fillSelectors() argument 112 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); in fillSelectors() local
|
H A D | NoReturnFunctionChecker.cpp | 120 Selector Sel = Msg.getSelector(); in checkPostObjCMessage() local
|
/llvm-project/clang/include/clang/Analysis/ |
H A D | SelectorExtras.h | 27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector()
|
/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 68 Selector Sel = Msg->getSelector(); in rewriteObjCRedundantCallWithLiteral() local 303 Selector Sel = Msg->getSelector(); in rewriteToObjCSubscriptSyntax() local 388 Selector Sel = Msg->getSelector(); in rewriteToArrayLiteral() local 457 Selector Sel = Msg->getSelector(); in getNSArrayObjects() local 492 Selector Sel = Msg->getSelector(); in rewriteToDictionaryLiteral() local 615 Selector Sel = Msg->getSelector(); in shouldNotRewriteImmediateMessageArgs() local 774 Selector Sel = Msg->getSelector(); in rewriteToNumberLiteral() local 982 Selector Sel = Msg->getSelector(); in rewriteToNumericBoxedExpression() local 1167 Selector Sel = Msg->getSelector(); in rewriteToStringBoxedExpression() local
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | DefineOutline.cpp | 62 const Tweak::Selection &Sel) { in getSourceFile() argument 431 SameFile = !isHeaderFile(Sel.AST->tuPath(), Sel.AST->getLangOpts()); in apply() argument 388 prepare(const Selection & Sel) prepare() argument 501 getInsertionPoint(llvm::StringRef Contents,const Selection & Sel) getInsertionPoint() argument [all...] |
H A D | DefineInline.cpp | 398 bool prepare(const Selection &Sel) override { in prepare() 437 Expected<Effect> apply(const Selection &Sel) override { in apply()
|
H A D | PopulateSwitch.cpp | 190 Expected<Tweak::Effect> PopulateSwitch::apply(const Selection &Sel) { in apply()
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 155 validateBoxingMethod(Sema & S,SourceLocation Loc,const ObjCInterfaceDecl * Class,Selector Sel,const ObjCMethodDecl * Method) validateBoxingMethod() argument 268 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, getNSNumberFactoryMethod() local 817 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); BuildObjCArrayLiteral() local 977 Selector Sel = NSAPIObj->getNSDictionarySelector( BuildObjCDictionaryLiteral() local 1239 LookupDirectMethodInMethodList(Sema & S,Selector Sel,ObjCMethodList & MethList,bool & onlyDirect,bool & anyDirect) LookupDirectMethodInMethodList() argument 1265 LookupDirectMethodInGlobalPool(Sema & S,Selector Sel,bool & onlyDirect,bool & anyDirect) LookupDirectMethodInGlobalPool() argument 1280 findMethodInCurrentClass(Sema & S,Selector Sel) findMethodInCurrentClass() argument 1301 ParseObjCSelectorExpression(Selector Sel,SourceLocation AtLoc,SourceLocation SelLoc,SourceLocation LParenLoc,SourceLocation RParenLoc,bool WarnMultipleSelectors) ParseObjCSelectorExpression() argument 1727 CheckMessageArgumentTypes(const Expr * Receiver,QualType ReceiverType,MultiExprArg Args,Selector Sel,ArrayRef<SourceLocation> SelectorLocs,ObjCMethodDecl * Method,bool isClassMessage,bool isSuperMessage,SourceLocation lbrac,SourceLocation rbrac,SourceRange RecRange,QualType & ReturnType,ExprValueKind & VK) CheckMessageArgumentTypes() argument 1977 LookupMethodInQualifiedType(Selector Sel,const ObjCObjectPointerType * OPT,bool Instance) LookupMethodInQualifiedType() argument 2049 Selector Sel = SemaRef.PP.getSelectorTable().getNullarySelector(Member); HandleExprPropertyRefExpr() local 2393 ActOnSuperMessage(Scope * S,SourceLocation SuperLoc,Selector Sel,SourceLocation LBracLoc,ArrayRef<SourceLocation> SelectorLocs,SourceLocation RBracLoc,MultiExprArg Args) ActOnSuperMessage() argument 2444 BuildClassMessageImplicit(QualType ReceiverType,bool isSuperReceiver,SourceLocation Loc,Selector Sel,ObjCMethodDecl * Method,MultiExprArg Args) BuildClassMessageImplicit() argument 2556 DiagnoseCStringFormatDirectiveInObjCAPI(Sema & S,ObjCMethodDecl * Method,Selector Sel,Expr ** Args,unsigned NumArgs) DiagnoseCStringFormatDirectiveInObjCAPI() argument 2620 BuildClassMessage(TypeSourceInfo * ReceiverTypeInfo,QualType ReceiverType,SourceLocation SuperLoc,Selector Sel,ObjCMethodDecl * Method,SourceLocation LBracLoc,ArrayRef<SourceLocation> SelectorLocs,SourceLocation RBracLoc,MultiExprArg ArgsIn,bool isImplicit) BuildClassMessage() argument 2767 ActOnClassMessage(Scope * S,ParsedType Receiver,Selector Sel,SourceLocation LBracLoc,ArrayRef<SourceLocation> SelectorLocs,SourceLocation RBracLoc,MultiExprArg Args) ActOnClassMessage() argument 2788 BuildInstanceMessageImplicit(Expr * Receiver,QualType ReceiverType,SourceLocation Loc,Selector Sel,ObjCMethodDecl * Method,MultiExprArg Args) BuildInstanceMessageImplicit() argument 2845 BuildInstanceMessage(Expr * Receiver,QualType ReceiverType,SourceLocation SuperLoc,Selector Sel,ObjCMethodDecl * Method,SourceLocation LBracLoc,ArrayRef<SourceLocation> SelectorLocs,SourceLocation RBracLoc,MultiExprArg ArgsIn,bool isImplicit) BuildInstanceMessage() argument 3412 Selector Sel = OSE->getSelector(); RemoveSelectorFromWarningCache() local 3424 ActOnInstanceMessage(Scope * S,Expr * Receiver,Selector Sel,SourceLocation LBracLoc,ArrayRef<SourceLocation> SelectorLocs,SourceLocation RBracLoc,MultiExprArg Args) ActOnInstanceMessage() argument 4275 Selector Sel = Context.Selectors.getUnarySelector(CMId); checkObjCBridgeRelatedComponents() local 4289 Selector Sel = Context.Selectors.getNullarySelector(IMId); checkObjCBridgeRelatedComponents() local [all...] |
H A D | MultiplexExternalSemaSource.cpp | 62 Selector Sel; in GetExternalSelector() local 215 ReadMethodPool(Selector Sel) ReadMethodPool() argument 220 updateOutOfDateSelector(Selector Sel) updateOutOfDateSelector() argument
|
H A D | SemaDeclObjC.cpp | 3424 SemaRef.ExternalSource->ReadMethodPool(Sel); in ReadMethodPool() argument 2956 Selector Sel = I->getSelector(); CheckCategoryVsClassMethodMatches() local 2966 Selector Sel = I->getSelector(); CheckCategoryVsClassMethodMatches() local 3429 updateOutOfDateSelector(Selector Sel) updateOutOfDateSelector() argument 3515 CollectMultipleMethodsInGlobalPool(Selector Sel,SmallVectorImpl<ObjCMethodDecl * > & Methods,bool InstanceFirst,bool CheckTheOther,const ObjCObjectType * TypeBound) CollectMultipleMethodsInGlobalPool() argument 3553 AreMultipleMethodsInGlobalPool(Selector Sel,ObjCMethodDecl * BestMethod,SourceRange R,bool receiverIdOrClass,SmallVectorImpl<ObjCMethodDecl * > & Methods) AreMultipleMethodsInGlobalPool() argument 3577 LookupMethodInGlobalPool(Selector Sel,SourceRange R,bool receiverIdOrClass,bool instance) LookupMethodInGlobalPool() argument 3598 DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl * > & Methods,Selector Sel,SourceRange R,bool receiverIdOrClass) DiagnoseMultipleMethodInGlobalPool() argument 3652 LookupImplementedMethodInGlobalPool(Selector Sel) LookupImplementedMethodInGlobalPool() argument 3697 HelperIsMethodInObjCType(Sema & S,Selector Sel,QualType ObjectType) HelperIsMethodInObjCType() argument 3709 SelectorsForTypoCorrection(Selector Sel,QualType ObjectType) SelectorsForTypoCorrection() argument 4683 auto Sel = Method->getSelector(); checkObjCDirectMethodClashes() local 4731 ActOnMethodDeclaration(Scope * S,SourceLocation MethodLoc,SourceLocation EndLoc,tok::TokenKind MethodType,ObjCDeclSpec & ReturnQT,ParsedType ReturnType,ArrayRef<SourceLocation> SelectorLocs,Selector Sel,ObjCArgInfo * ArgInfo,DeclaratorChunk::ParamInfo * CParamInfo,unsigned CNumArgs,const ParsedAttributesView & AttrList,tok::ObjCKeywordKind MethodDeclKind,bool isVariadic,bool MethodDefinition) ActOnMethodDeclaration() argument 5288 Selector Sel = SelectorAndLocation.first; DiagnoseUseOfUnimplementedSelectors() local [all...] |
H A D | SemaExprMember.cpp | 507 FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl * PDecl,IdentifierInfo * Member,const Selector & Sel,ASTContext & Context) FindGetterSetterNameDeclFromProtocolList() argument 526 FindGetterSetterNameDecl(const ObjCObjectPointerType * QIdTy,IdentifierInfo * Member,const Selector & Sel,ASTContext & Context) FindGetterSetterNameDecl() argument 1553 Selector Sel = S.PP.getSelectorTable().getNullarySelector(Member); LookupMemberExpr() local 1605 Selector Sel = S.PP.getSelectorTable().getNullarySelector(Member); LookupMemberExpr() local [all...] |
/llvm-project/clang/include/clang/Sema/ |
H A D | SemaObjC.h | 215 find(Selector Sel) find() argument 219 count(Selector Sel) count() argument [all...] |
/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTDeserializationListener.h | 49 SelectorRead(serialization::SelectorID iD,Selector Sel) SelectorRead() argument
|
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeExecMaskingPreRA.cpp | 92 const MachineInstr &Sel, const MachineInstr &And) { in isDefBetween() argument 165 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, *MRI, LIS); in optimizeVcndVcmpPair() local [all...] |
H A D | R600EmitClauseMarkers.cpp | 130 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31; in SubstituteKCacheBank() local
|
/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 55 static Instruction *foldSelectBinOpIdentity(SelectInst &Sel, in foldSelectBinOpIdentity() argument 122 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, in foldSelectICmpAnd() argument 818 foldSetClearBits(SelectInst & Sel,InstCombiner::BuilderTy & Builder) foldSetClearBits() argument 1283 foldSelectValueEquivalence(SelectInst & Sel,ICmpInst & Cmp) foldSelectValueEquivalence() argument 1569 tryToReuseConstantFromSelectInComparison(SelectInst & Sel,ICmpInst & Cmp,InstCombinerImpl & IC) tryToReuseConstantFromSelectInComparison() argument 2210 foldSelectExtConst(SelectInst & Sel) foldSelectExtConst() argument 2294 canonicalizeScalarSelectOfVecs(SelectInst & Sel,InstCombinerImpl & IC) canonicalizeScalarSelectOfVecs() argument 2315 foldSelectCmpBitcasts(SelectInst & Sel,InstCombiner::BuilderTy & Builder) foldSelectCmpBitcasts() argument 2435 foldSelectFunnelShift(SelectInst & Sel,InstCombiner::BuilderTy & Builder) foldSelectFunnelShift() argument 2506 foldSelectToCopysign(SelectInst & Sel,InstCombiner::BuilderTy & Builder) foldSelectToCopysign() argument 2549 foldVectorSelect(SelectInst & Sel) foldVectorSelect() argument 2634 foldSelectToPhiImpl(SelectInst & Sel,BasicBlock * BB,const DominatorTree & DT,InstCombiner::BuilderTy & Builder) foldSelectToPhiImpl() argument 2695 foldSelectToPhi(SelectInst & Sel,const DominatorTree & DT,InstCombiner::BuilderTy & Builder) foldSelectToPhi() argument 2765 foldSelectWithFrozenICmp(SelectInst & Sel,InstCombiner::BuilderTy & Builder) foldSelectWithFrozenICmp() argument [all...] |
/llvm-project/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 289 ComputeHash(Selector Sel) ComputeHash() argument
|
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTUtils.h | 288 clang::Selector Sel; GetExternalSelector() local 444 ReadMethodPool(clang::Selector Sel) ReadMethodPool() argument 449 updateOutOfDateSelector(clang::Selector Sel) updateOutOfDateSelector() argument
|
/llvm-project/clang/include/clang/AST/ |
H A D | DeclObjC.h | 309 Selector Sel = getSelector(); in getNumSelectorLocs() local 1350 getCategoryMethod(Selector Sel,bool isInstance) getCategoryMethod() argument 1845 lookupInstanceMethod(Selector Sel) lookupInstanceMethod() argument 1850 lookupClassMethod(Selector Sel) lookupClassMethod() argument 1860 lookupPrivateClassMethod(const Selector & Sel) lookupPrivateClassMethod() argument 1867 lookupPropertyAccessor(const Selector Sel,const ObjCCategoryDecl * Cat,bool IsClassProperty) lookupPropertyAccessor() argument 2226 lookupInstanceMethod(Selector Sel) lookupInstanceMethod() argument 2230 lookupClassMethod(Selector Sel) lookupClassMethod() argument [all...] |
/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 176 return Sel->getFalseValue(); in getNonInvertedCondition() local 210 if (auto *Sel = dyn_cast<SelectInst>(I)) getTrueValue() local 226 if (auto *Sel = dyn_cast<SelectInst>(I)) getFalseValue() local
|
/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | R600InstPrinter.cpp | 177 switch (Sel) { in printRSel() local
|