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

1234

/freebsd-11-stable/contrib/llvm-project/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.cpp44 Selector Sel; local
47 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString"));
50 Sel = Ctx.Selectors.getUnarySelector(
54 Sel = Ctx.Selectors.getUnarySelector(
62 Sel = Ctx.Selectors.getSelector(2, KeyIdents);
66 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString"));
69 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString"));
72 return (NSStringSelectors[MK] = Sel);
80 Selector Sel; local
83 Sel
145 getNSArrayMethodKind(Selector Sel) argument
158 Selector Sel; local
247 getNSDictionaryMethodKind(Selector Sel) argument
259 Selector Sel; local
304 getNSSetMethodKind(Selector Sel) argument
[all...]
H A DExprObjC.cpp125 QualType SuperType, Selector Sel,
135 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
146 TypeSourceInfo *Receiver, Selector Sel,
155 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
164 Selector Sel, ArrayRef<SourceLocation> SelLocs,
173 reinterpret_cast<uintptr_t>(Method ? Method : Sel.getAsOpaquePtr())),
208 bool IsInstanceSuper, QualType SuperType, Selector Sel,
219 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK);
221 SuperType, Sel, SelLocs, SelLocsK, Method,
228 Selector Sel, ArrayRe
122 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
144 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
162 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
206 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
226 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
245 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
270 alloc(const ASTContext &C, ArrayRef<Expr *> Args, SourceLocation RBraceLoc, ArrayRef<SourceLocation> SelLocs, Selector Sel, SelectorLocationsKind &SelLocsK) argument
[all...]
H A DDeclObjC.cpp91 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, argument
108 lookup_result R = lookup(Sel);
125 Selector Sel = Property->getSetterName(); local
126 lookup_result R = lookup(Sel);
138 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel))
560 bool ObjCInterfaceDecl::isDesignatedInitializer(Selector Sel, argument
581 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) {
589 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) {
682 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, argument
700 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstanc
739 lookupPrivateMethod( const Selector &Sel, bool Instance) const argument
959 const auto &Sel = getSelector(); local
1314 Selector Sel = getSelector(); local
1916 lookupMethod(Selector Sel, bool isInstance) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/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...);
/freebsd-11-stable/contrib/llvm-project/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 Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel);
116 /// Return NSDictionaryMethodKind if \p Sel is such a selector.
117 Optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel);
133 /// Return NSSetMethodKind if \p Sel is such a selector.
134 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();
923 void setGetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { argument
924 GetterName = Sel;
931 void setSetterName(Selector Sel, SourceLocation Loc = SourceLocation()) { argument
932 SetterName = Sel;
1098 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1101 ObjCMethodDecl *getInstanceMethod(Selector Sel, argument
1103 return getMethod(Sel, tru
1106 getClassMethod(Selector Sel, bool AllowHidden = false) const argument
1372 getCategoryMethod(Selector Sel, bool isInstance) const argument
1876 lookupPrivateClassMethod(const Selector &Sel) argument
1883 lookupPropertyAccessor(const Selector Sel, const ObjCCategoryDecl *Cat, bool IsClassProperty) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/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:__anon832::FindSuperCallVisitor
75 void fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel,
101 ArrayRef<SelectorDescriptor> Sel,
105 for (ArrayRef<SelectorDescriptor>::iterator I = Sel.begin(), E = Sel.end();
113 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II); local
114 ClassSelectors.insert(Sel);
100 fillSelectors(ASTContext &Ctx, ArrayRef<SelectorDescriptor> Sel, StringRef ClassName) const argument
H A DNoReturnFunctionChecker.cpp118 Selector Sel = Msg.getSelector();
119 switch (Sel.getNumArgs()) {
126 if (Sel != HandleFailureInFunctionSel)
133 if (Sel != HandleFailureInMethodSel)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp67 Selector Sel = Msg->getSelector(); local
71 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel ||
72 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) ||
76 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel ||
77 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) ||
82 NSAPI::NSDict_dictionaryWithDictionary) == Sel ||
83 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) {
302 Selector Sel = Msg->getSelector();
304 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex))
307 if (Sel
387 Selector Sel = Msg->getSelector(); local
491 Selector Sel = Msg->getSelector(); local
777 Selector Sel = Msg->getSelector(); local
985 Selector Sel = Msg->getSelector(); local
1162 Selector Sel = Msg->getSelector(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMaskingPreRA.cpp239 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, MRI, LIS); local
240 if (!Sel || Sel->getOpcode() != AMDGPU::V_CNDMASK_B32_e64)
243 if (TII->hasModifiersSet(*Sel, AMDGPU::OpName::src0_modifiers) ||
244 TII->hasModifiersSet(*Sel, AMDGPU::OpName::src1_modifiers))
247 Op1 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src0);
248 Op2 = TII->getNamedOperand(*Sel, AMDGPU::OpName::src1);
249 MachineOperand *CC = TII->getNamedOperand(*Sel, AMDGPU::OpName::src2);
254 LLVM_DEBUG(dbgs() << "Folding sequence:\n\t" << *Sel << '\t' << *Cmp << '\t'
284 LLVM_DEBUG(dbgs() << "Erasing: " << *Sel << '\
[all...]
H A DR600EmitClauseMarkers.cpp114 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const {
115 // Sel is (512 + (kc_bank << 12) + ConstIndex) << 2
119 ((Sel >> 2) - 512) >> 12, // KC_BANK
125 ((((Sel >> 2) - 512) & 4095) >> 5) << 1);
145 unsigned Sel = Consts[i].second; local
146 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31;
148 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp149 Selector Sel, const ObjCMethodDecl *Method) {
152 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName();
160 << Sel;
261 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind,
283 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel);
288 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel,
304 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
808 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); local
809 ObjCMethodDecl *Method = NSArrayDecl->lookupClassMethod(Sel);
813 Context, SourceLocation(), SourceLocation(), Sel, Id
147 validateBoxingMethod(Sema &S, SourceLocation Loc, const ObjCInterfaceDecl *Class, Selector Sel, const ObjCMethodDecl *Method) argument
913 Selector Sel = NSAPIObj->getNSDictionarySelector( local
1173 HelperToDiagnoseDirectSelectorsExpr(Sema &S, SourceLocation AtLoc, Selector Sel, ObjCMethodList &MethList, bool &onlyDirect) argument
1187 DiagnoseDirectSelectorsExpr(Sema &S, SourceLocation AtLoc, Selector Sel, bool &onlyDirect) argument
1202 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1587 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
1834 LookupMethodInQualifiedType(Selector Sel, const ObjCObjectPointerType *OPT, bool Instance) argument
1911 Selector Sel = PP.getSelectorTable().getNullarySelector(Member); local
2255 ActOnSuperMessage(Scope *S, SourceLocation SuperLoc, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
2306 BuildClassMessageImplicit(QualType ReceiverType, bool isSuperReceiver, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2415 DiagnoseCStringFormatDirectiveInObjCAPI(Sema &S, ObjCMethodDecl *Method, Selector Sel, Expr **Args, unsigned NumArgs) argument
2479 BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
2623 ActOnClassMessage(Scope *S, ParsedType Receiver, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
2644 BuildInstanceMessageImplicit(Expr *Receiver, QualType ReceiverType, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2702 BuildInstanceMessage(Expr *Receiver, QualType ReceiverType, SourceLocation SuperLoc, Selector Sel, ObjCMethodDecl *Method, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg ArgsIn, bool isImplicit) argument
3253 Selector Sel = OSE->getSelector(); local
3264 ActOnInstanceMessage(Scope *S, Expr *Receiver, Selector Sel, SourceLocation LBracLoc, ArrayRef<SourceLocation> SelectorLocs, SourceLocation RBracLoc, MultiExprArg Args) argument
4122 Selector Sel = Context.Selectors.getUnarySelector(CMId); local
4136 Selector Sel = Context.Selectors.getNullarySelector(IMId); local
[all...]
H A DMultiplexExternalSemaSource.cpp57 Selector Sel; local
59 Sel = Sources[i]->GetExternalSelector(ID);
60 if (!Sel.isNull())
61 return Sel;
63 return Sel;
217 void MultiplexExternalSemaSource::ReadMethodPool(Selector Sel) { argument
219 Sources[i]->ReadMethodPool(Sel);
222 void MultiplexExternalSemaSource::updateOutOfDateSelector(Selector Sel) { argument
224 Sources[i]->updateOutOfDateSelector(Sel);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp58 static Instruction *foldSelectBinOpIdentity(SelectInst &Sel, argument
64 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C))))
79 if (!match(Sel.getOperand(IsEq ? 1 : 2), m_BinOp(BO)))
110 Sel.setOperand(IsEq ? 1 : 2, Y);
111 return &Sel;
123 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, argument
126 if (!match(Sel.getTrueValue(), m_APInt(SelTC)) ||
127 !match(Sel.getFalseValue(), m_APInt(SelFC)))
131 Type *SelType = Sel.getType();
902 static bool adjustMinMax(SelectInst &Sel, ICmpIns argument
999 canonicalizeMinMaxWithConstant(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) argument
1043 canonicalizeAbsNabs(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) argument
1151 foldSelectValueEquivalence(SelectInst &Sel, ICmpInst &Cmp, const SimplifyQuery &Q) argument
1330 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) argument
1871 foldSelectExtConst(SelectInst &Sel) argument
1974 canonicalizeScalarSelectOfVecs( SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
1997 foldSelectCmpBitcasts(SelectInst &Sel, InstCombiner::BuilderTy &Builder) argument
2276 foldSelectRotate(SelectInst &Sel) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h71 virtual void ReadMethodPool(Selector Sel);
75 virtual void updateOutOfDateSelector(Selector Sel);
H A DMultiplexExternalSemaSource.h211 void ReadMethodPool(Selector Sel) override;
215 void updateOutOfDateSelector(Selector Sel) override;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h50 void generateUSRForObjCMethod(StringRef Sel, bool IsInstanceMethod,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTDeserializationListener.h49 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) {} argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h124 virtual llvm::Value *GetSelector(CodeGenFunction &CGF, Selector Sel) = 0;
131 virtual Address GetAddrOfSelector(CodeGenFunction &CGF, Selector Sel) = 0;
166 Selector Sel,
180 Selector Sel,
197 Selector Sel,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h280 clang::Selector Sel; variable
282 Sel = Sources[i]->GetExternalSelector(ID);
283 if (!Sel.isNull())
284 return Sel;
286 return Sel;
446 void ReadMethodPool(clang::Selector Sel) override {
448 Source->ReadMethodPool(Sel);
451 void updateOutOfDateSelector(clang::Selector Sel) override {
453 Source->updateOutOfDateSelector(Sel);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h73 unsigned ComputeHash(Selector Sel);
H A DASTCommon.cpp251 unsigned serialization::ComputeHash(Selector Sel) { argument
252 unsigned N = Sel.getNumArgs();
257 if (IdentifierInfo *II = Sel.getIdentifierInfoForSlot(I))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp116 Selector Sel = ME->getSelector(); local
121 D = IDecl->lookupPrivateMethod(Sel);
123 D = IDecl->lookupPrivateClassMethod(Sel);

Completed in 389 milliseconds

1234