Home
last modified time | relevance | path

Searched defs:Sel (Results 1 – 25 of 102) sorted by relevance

12345

/llvm-project/clang/lib/AST/
H A DSelectorLocationsKind.cpp20 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 DNSAPI.cpp45 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 DExprObjC.cpp109 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 DDeclObjC.cpp93 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 DObjCMissingSuperCallChecker.cpp57 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 DNoReturnFunctionChecker.cpp120 Selector Sel = Msg.getSelector(); in checkPostObjCMessage() local
/llvm-project/clang/include/clang/Analysis/
H A DSelectorExtras.h27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector()
/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp68 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 DDefineOutline.cpp62 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 DDefineInline.cpp398 bool prepare(const Selection &Sel) override { in prepare()
437 Expected<Effect> apply(const Selection &Sel) override { in apply()
H A DPopulateSwitch.cpp190 Expected<Tweak::Effect> PopulateSwitch::apply(const Selection &Sel) { in apply()
/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp155 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 DMultiplexExternalSemaSource.cpp62 Selector Sel; in GetExternalSelector() local
215 ReadMethodPool(Selector Sel) ReadMethodPool() argument
220 updateOutOfDateSelector(Selector Sel) updateOutOfDateSelector() argument
H A DSemaDeclObjC.cpp3424 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 DSemaExprMember.cpp507 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 DSemaObjC.h215 find(Selector Sel) find() argument
219 count(Selector Sel) count() argument
[all...]
/llvm-project/clang/include/clang/Serialization/
H A DASTDeserializationListener.h49 SelectorRead(serialization::SelectorID iD,Selector Sel) SelectorRead() argument
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMaskingPreRA.cpp92 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 DR600EmitClauseMarkers.cpp130 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31; in SubstituteKCacheBank() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp55 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 DASTCommon.cpp289 ComputeHash(Selector Sel) ComputeHash() argument
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h288 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 DDeclObjC.h309 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 DSelectOptimize.cpp176 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 DR600InstPrinter.cpp177 switch (Sel) { in printRSel() local

12345