| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprObjC.cpp | 121 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 138 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 154 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 170 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs() 178 ArrayRef<SourceLocation> SelLocs, in Create() argument 181 assert((!SelLocs.empty() || isImplicit) && in Create() 200 assert((!SelLocs.empty() || isImplicit) && in Create() 216 ArrayRef<SourceLocation> SelLocs, in Create() argument 219 assert((!SelLocs.empty() || isImplicit) && in Create() 259 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs() [all …]
|
| H A D | SelectorLocationsKind.cpp | 70 ArrayRef<SourceLocation> SelLocs, in hasStandardSelLocs() argument 75 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs() 76 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, in hasStandardSelLocs() 80 if (i == SelLocs.size()) in hasStandardSelLocs() 84 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs() 85 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, in hasStandardSelLocs() 97 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument 100 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs() 114 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument 117 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
|
| H A D | DeclObjC.cpp | 887 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument 890 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs() 897 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs() 900 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs() 904 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs() 906 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs() 911 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument 912 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams() 917 setSelLocsKind(hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 922 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | SelectorLocationsKind.h | 46 ArrayRef<SourceLocation> SelLocs, 64 ArrayRef<SourceLocation> SelLocs,
|
| H A D | ExprObjC.h | 999 ArrayRef<SourceLocation> SelLocs, 1009 ArrayRef<SourceLocation> SelLocs, 1019 ArrayRef<SourceLocation> SelLocs, 1034 ArrayRef<SourceLocation> SelLocs, 1073 ArrayRef<SourceLocation> SelLocs, 1132 ArrayRef<SourceLocation> SelLocs, 1166 ArrayRef<SourceLocation> SelLocs, 1426 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
|
| H A D | DeclObjC.h | 221 ArrayRef<SourceLocation> SelLocs); 307 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const; 394 ArrayRef<SourceLocation> SelLocs = llvm::None);
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | arm64-dagcombiner-convergence.ll | 8 define i64 @foo(i128 %Params.coerce, i128 %SelLocs.coerce) { 13 %tmp1 = lshr i128 %SelLocs.coerce, 62
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.cpp | 152 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 153 cast<ObjCMethodDecl>(D)->getSelectorLocs(SelLocs); in MakeCXCursor() 155 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor() 156 if (I != SelLocs.end()) in MakeCXCursor() 157 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor() 627 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 628 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor() 630 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor() 631 if (I != SelLocs.end()) in MakeCXCursor() 632 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 1265 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1266 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1276 SelLocs, in RewritePropertyOrImplicitSetter() 1289 SelLocs, in RewritePropertyOrImplicitSetter() 1305 SelLocs, in RewritePropertyOrImplicitSetter() 1341 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1352 SelLocs, in RewritePropertyOrImplicitGetter() 1365 SelLocs, in RewritePropertyOrImplicitGetter() 1381 SelLocs, in RewritePropertyOrImplicitGetter()
|
| H A D | RewriteModernObjC.cpp | 1450 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1451 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1461 SelLocs, in RewritePropertyOrImplicitSetter() 1474 SelLocs, in RewritePropertyOrImplicitSetter() 1490 SelLocs, in RewritePropertyOrImplicitSetter() 1534 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1544 SelLocs, in RewritePropertyOrImplicitGetter() 1557 SelLocs, in RewritePropertyOrImplicitGetter() 1573 SelLocs, in RewritePropertyOrImplicitGetter()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 1065 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local 1066 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor() 1067 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
|
| H A D | TreeTransform.h | 14142 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 14143 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 14146 SelLocs, in TransformObjCMessageExpr() 14158 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 14159 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 14162 SelLocs, in TransformObjCMessageExpr() 14184 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 14185 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 14188 SelLocs, in TransformObjCMessageExpr()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1120 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local 1121 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl() 1123 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl() 1125 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
|
| H A D | ASTWriterDecl.cpp | 727 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local 730 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()
|