Searched refs:Sel (Results 1 - 25 of 108) sorted by relevance

12345

/openbsd-current/gnu/llvm/clang/lib/AST/
H A DSelectorLocationsKind.cpp20 Selector Sel,
24 unsigned NumSelArgs = Sel.getNumArgs();
29 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(0);
37 IdentifierInfo *II = Sel.getIdentifierInfoForSlot(Index);
69 SelectorLocationsKind hasStandardSelLocs(Selector Sel, argument
76 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false,
85 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true,
96 clang::hasStandardSelectorLocs(Selector Sel, argument
100 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc);
104 Selector Sel,
19 getStandardSelLoc(unsigned Index, Selector Sel, bool WithArgSpace, SourceLocation ArgLoc, SourceLocation EndLoc) argument
103 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<Expr *> Args, SourceLocation EndLoc) argument
113 hasStandardSelectorLocs(Selector Sel, ArrayRef<SourceLocation> SelLocs, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
120 getStandardSelectorLoc(unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef<ParmVarDecl *> Args, SourceLocation EndLoc) argument
[all...]
H A DNSAPI.cpp45 Selector Sel; local
48 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString"));
51 Sel = Ctx.Selectors.getUnarySelector(
55 Sel = Ctx.Selectors.getUnarySelector(
63 Sel = Ctx.Selectors.getSelector(2, KeyIdents);
67 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString"));
70 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString"));
73 return (NSStringSelectors[MK] = Sel);
81 Selector Sel; local
84 Sel
147 getNSArrayMethodKind(Selector Sel) argument
160 Selector Sel; local
249 getNSDictionaryMethodKind(Selector Sel) argument
261 Selector Sel; local
305 getNSSetMethodKind(Selector Sel) argument
[all...]
H A DExprObjC.cpp109 QualType SuperType, Selector Sel,
116 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
128 TypeSourceInfo *Receiver, Selector Sel,
135 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
145 Selector Sel, ArrayRef<SourceLocation> SelLocs,
151 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
177 bool IsInstanceSuper, QualType SuperType, Selector Sel,
188 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK);
190 SuperType, Sel, SelLocs, SelLocsK, Method,
197 Selector Sel, ArrayRe
106 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) argument
126 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) argument
143 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) argument
175 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) argument
195 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) argument
214 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) argument
239 alloc(const ASTContext &C, ArrayRef<Expr *> Args, SourceLocation RBraceLoc, ArrayRef<SourceLocation> SelLocs, Selector Sel, SelectorLocationsKind &SelLocsK) argument
[all...]
H A DDeclObjC.cpp92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, argument
109 lookup_result R = lookup(Sel);
126 Selector Sel = Property->getSetterName(); local
127 lookup_result R = lookup(Sel);
139 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel))
571 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, argument
592 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) {
600 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) {
700 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, argument
718 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstanc
757 lookupPrivateMethod( const Selector &Sel, bool Instance) const argument
1014 const auto &Sel = getSelector(); local
1379 Selector Sel = getSelector(); local
2003 lookupMethod(Selector Sel, bool isInstance) const argument
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/
H A DSelectorExtras.h27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, argument
29 if (!Sel.isNull())
31 Sel = getKeywordSelector(Ctx, IIs...);
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DSelectorLocationsKind.h45 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel,
57 Selector Sel,
63 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel,
75 Selector Sel,
H A DNSAPI.h91 /// Return NSArrayMethodKind if \p Sel is such a selector.
92 std::optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel);
116 /// Return NSDictionaryMethodKind if \p Sel is such a selector.
117 std::optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel);
133 /// Return NSSetMethodKind if \p Sel is such a selector.
134 std::optional<NSSetMethodKind> getNSSetMethodKind(Selector Sel);
200 Selector Sel) const {
201 return Sel == getNSNumberLiteralSelector(MK, false) ||
202 Sel == getNSNumberLiteralSelector(MK, true);
205 /// Return NSNumberLiteralMethodKind if \p Sel i
[all...]
H A DDeclObjC.h311 Selector Sel = getSelector();
312 if (Sel.isUnarySelector())
314 return Sel.getNumArgs();
881 void setGetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { argument
882 GetterName = Sel;
889 void setSetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { argument
890 SetterName = Sel;
1056 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1059 ObjCMethodDecl *getInstanceMethod(Selector Sel, argument
1061 return getMethod(Sel, tru
1064 getClassMethod(Selector Sel, bool AllowHidden = false) const argument
1339 getCategoryMethod(Selector Sel, bool isInstance) const argument
1849 lookupPrivateClassMethod(const Selector &Sel) argument
1856 lookupPropertyAccessor(const Selector Sel, const ObjCCategoryDecl *Cat, bool IsClassProperty) const argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp43 explicit FindSuperCallVisitor(Selector S) : DoesCallSuper(false), Sel(S) {}
46 if (E->getSelector() == Sel)
57 Selector Sel; member in class:__anon919::FindSuperCallVisitor
75 void fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel,
101 ArrayRef<SelectorDescriptor> Sel,
106 for (ArrayRef<SelectorDescriptor>::iterator I = Sel.begin(), E = Sel.end();
114 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); local
115 ClassSelectors.insert(Sel);
100 fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel, StringRef ClassName) const argument
H A DNoReturnFunctionChecker.cpp120 Selector Sel = Msg.getSelector();
121 switch (Sel.getNumArgs()) {
128 if (Sel != HandleFailureInFunctionSel)
135 if (Sel != HandleFailureInMethodSel)
/openbsd-current/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp68 Selector Sel = Msg->getSelector(); local
72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel ||
73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) ||
77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel ||
78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) ||
83 NSAPI::NSDict_dictionaryWithDictionary) == Sel ||
84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) {
303 Selector Sel = Msg->getSelector();
305 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex))
308 if (Sel
388 Selector Sel = Msg->getSelector(); local
492 Selector Sel = Msg->getSelector(); local
778 Selector Sel = Msg->getSelector(); local
986 Selector Sel = Msg->getSelector(); local
1166 Selector Sel = Msg->getSelector(); local
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp55 static Instruction *foldSelectBinOpIdentity(SelectInst &Sel, argument
62 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))
77 if (!match(Sel.getOperand(IsEq ? 1 : 2), m_BinOp(BO)))
108 return IC.replaceOperand(Sel, IsEq ? 1 : 2, Y);
120 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, argument
123 if (!match(Sel.getTrueValue(), m_APInt(SelTC)) ||
124 !match(Sel.getFalseValue(), m_APInt(SelFC)))
128 Type *SelType = Sel.getType();
716 static Instruction *foldSetClearBits(SelectInst &Sel, argument
718 Value *Cond = Sel
1044 adjustMinMax(SelectInst &Sel, ICmpInst &Cmp) argument
1134 canonicalizeSPF(SelectInst &Sel, ICmpInst &Cmp, InstCombinerImpl &IC) argument
1223 foldSelectValueEquivalence(SelectInst &Sel, ICmpInst &Cmp) argument
1500 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, InstCombinerImpl &IC) argument
2010 foldSelectExtConst(SelectInst &Sel) argument
2112 canonicalizeScalarSelectOfVecs(SelectInst &Sel, InstCombinerImpl &IC) argument
2133 foldSelectCmpBitcasts(SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
2253 foldSelectFunnelShift(SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
2324 foldSelectToCopysign(SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
2367 foldVectorSelect(SelectInst &Sel) argument
2452 foldSelectToPhiImpl(SelectInst &Sel, BasicBlock *BB, const DominatorTree &DT, InstCombiner::BuilderTy &Builder) argument
2513 foldSelectToPhi(SelectInst &Sel, const DominatorTree &DT, InstCombiner::BuilderTy &Builder) argument
2528 foldSelectWithFrozenICmp(SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600EmitClauseMarkers.cpp99 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const {
100 // Sel is (512 + (kc_bank << 12) + ConstIndex) << 2
104 ((Sel >> 2) - 512) >> 12, // KC_BANK
110 ((((Sel >> 2) - 512) & 4095) >> 5) << 1);
130 unsigned Sel = Consts[i].second; local
131 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31;
133 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel);
H A DSIOptimizeExecMaskingPreRA.cpp92 const MachineInstr &Sel, const MachineInstr &And) {
94 SlotIndex SelIdx = LIS->getInstructionIndex(Sel).getRegSlot();
165 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, *MRI, LIS);
166 if (!Sel || Sel->getOpcode() != AMDGPU::V_CNDMASK_B32_e64)
169 if (TII->hasModifiersSet(*Sel, AMDGPU::OpName::src0_modifiers) ||
170 TII->hasModifiersSet(*Sel, AMDGPU::OpName::src1_modifiers))
173 Op1 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src0);
174 Op2 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src1);
175 MachineOperand *CC = TII->getNamedOperand(*Sel, AMDGP
90 isDefBetween(const SIRegisterInfo &TRI, LiveIntervals *LIS, Register Reg, const MachineInstr &Sel, const MachineInstr &And) argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp150 Selector Sel, const ObjCMethodDecl *Method) {
153 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName();
161 << Sel;
262 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind,
284 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel);
289 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel,
305 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
809 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); local
810 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel);
814 Context, SourceLocation(), SourceLocation(), Sel, Id
148 validateBoxingMethod(Sema &S, SourceLocation Loc, const ObjCInterfaceDecl *Class, Selector Sel, const ObjCMethodDecl *Method) argument
970 Selector Sel = NSAPIObj->getNSDictionarySelector( local
1229 LookupDirectMethodInMethodList(Sema &S, Selector Sel, ObjCMethodList &MethList, bool &onlyDirect, bool &anyDirect) argument
1255 LookupDirectMethodInGlobalPool(Sema &S, Selector Sel, bool &onlyDirect, bool &anyDirect) argument
1270 findMethodInCurrentClass(Sema &S, Selector Sel) argument
1291 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1710 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) argument
1958 LookupMethodInQualifiedType(Selector Sel, const ObjCObjectPointerType *OPT, bool Instance) argument
2035 Selector Sel = PP.getSelectorTable().getNullarySelector(Member); local
2380 ActOnSuperMessage(Scope *S, SourceLocation SuperLoc, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
2431 BuildClassMessageImplicit(QualType ReceiverType, bool isSuperReceiver, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2540 DiagnoseCStringFormatDirectiveInObjCAPI(Sema &S, ObjCMethodDecl *Method, Selector Sel, Expr **Args, unsigned NumArgs) argument
2604 BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
2756 ActOnClassMessage(Scope *S, ParsedType Receiver, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
2777 BuildInstanceMessageImplicit(Expr *Receiver, QualType ReceiverType, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2835 BuildInstanceMessage(Expr *Receiver, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
3399 Selector Sel = OSE->getSelector(); local
3410 ActOnInstanceMessage(Scope *S, Expr *Receiver, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
4264 Selector Sel = Context.Selectors.getUnarySelector(CMId); local
4278 Selector Sel = Context.Selectors.getNullarySelector(IMId); local
[all...]
H A DMultiplexExternalSemaSource.cpp62 Selector Sel; local
64 Sel = Sources[i]->GetExternalSelector(ID);
65 if (!Sel.isNull())
66 return Sel;
68 return Sel;
215 void MultiplexExternalSemaSource::ReadMethodPool(Selector Sel) { argument
217 Sources[i]->ReadMethodPool(Sel);
220 void MultiplexExternalSemaSource::updateOutOfDateSelector(Selector Sel) { argument
222 Sources[i]->updateOutOfDateSelector(Sel);
/openbsd-current/gnu/llvm/clang/include/clang/Sema/
H A DExternalSemaSource.h69 virtual void ReadMethodPool(Selector Sel);
73 virtual void updateOutOfDateSelector(Selector Sel);
H A DMultiplexExternalSemaSource.h208 void ReadMethodPool(Selector Sel) override;
212 void updateOutOfDateSelector(Selector Sel) override;
/openbsd-current/gnu/llvm/clang/include/clang/Index/
H A DUSRGeneration.h50 void generateUSRForObjCMethod(StringRef Sel, bool IsInstanceMethod,
/openbsd-current/gnu/llvm/clang/include/clang/Serialization/
H A DASTDeserializationListener.h49 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) {} argument
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGObjCRuntime.h129 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,
/openbsd-current/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h282 clang::Selector Sel; variable
284 Sel = Sources[i]->GetExternalSelector(ID);
285 if (!Sel.isNull())
286 return Sel;
288 return Sel;
438 void ReadMethodPool(clang::Selector Sel) override {
440 Source->ReadMethodPool(Sel);
443 void updateOutOfDateSelector(clang::Selector Sel) override {
445 Source->updateOutOfDateSelector(Sel);
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DR600InstPrinter.cpp178 unsigned Sel = MI->getOperand(OpNo).getImm(); local
179 switch (Sel) {
/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DASTCommon.h73 unsigned ComputeHash(Selector Sel);
/openbsd-current/gnu/llvm/clang/lib/Analysis/
H A DCallGraph.cpp116 Selector Sel = ME->getSelector(); local
121 D = IDecl->lookupPrivateMethod(Sel);
123 D = IDecl->lookupPrivateClassMethod(Sel);

Completed in 255 milliseconds

12345