/external/llvm-project/clang/lib/AST/ |
D | ExprObjC.cpp | 110 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 121 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 129 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 138 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 145 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 154 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 160 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument 170 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs() 178 ArrayRef<SourceLocation> SelLocs, in Create() argument 181 assert((!SelLocs.empty() || isImplicit) && in Create() [all …]
|
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()
|
D | DeclObjC.cpp | 870 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument 873 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs() 880 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs() 883 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs() 887 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs() 889 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs() 894 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument 895 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams() 900 setSelLocsKind(hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 905 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
|
/external/clang/lib/AST/ |
D | ExprObjC.cpp | 121 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 135 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 142 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 153 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 159 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 171 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 176 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument 196 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs() 204 ArrayRef<SourceLocation> SelLocs, in Create() argument 207 assert((!SelLocs.empty() || isImplicit) && in Create() [all …]
|
D | SelectorLocationsKind.cpp | 71 ArrayRef<SourceLocation> SelLocs, in hasStandardSelLocs() argument 76 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs() 77 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/false, in hasStandardSelLocs() 81 if (i == SelLocs.size()) in hasStandardSelLocs() 85 for (i = 0; i != SelLocs.size(); ++i) { in hasStandardSelLocs() 86 if (SelLocs[i] != getStandardSelectorLoc(i, Sel, /*WithArgSpace=*/true, in hasStandardSelLocs() 98 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument 101 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs() 115 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs() argument 118 return hasStandardSelLocs(Sel, SelLocs, Args, EndLoc); in hasStandardSelectorLocs()
|
D | DeclObjC.cpp | 797 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument 800 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs() 808 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs() 811 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs() 815 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs() 817 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs() 822 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument 823 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams() 828 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 833 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
|
/external/llvm-project/clang/include/clang/AST/ |
D | SelectorLocationsKind.h | 46 ArrayRef<SourceLocation> SelLocs, 64 ArrayRef<SourceLocation> SelLocs,
|
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;
|
D | DeclObjC.h | 221 ArrayRef<SourceLocation> SelLocs); 307 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const; 394 ArrayRef<SourceLocation> SelLocs = llvm::None);
|
/external/clang/include/clang/AST/ |
D | SelectorLocationsKind.h | 47 ArrayRef<SourceLocation> SelLocs, 65 ArrayRef<SourceLocation> SelLocs,
|
D | ExprObjC.h | 926 ArrayRef<SourceLocation> SelLocs, 936 ArrayRef<SourceLocation> SelLocs, 946 ArrayRef<SourceLocation> SelLocs, 954 ArrayRef<SourceLocation> SelLocs, 992 ArrayRef<SourceLocation> SelLocs, 1044 ArrayRef<SourceLocation> SelLocs, 1078 ArrayRef<SourceLocation> SelLocs, 1329 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
|
D | DeclObjC.h | 224 ArrayRef<SourceLocation> SelLocs); 312 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const; 381 ArrayRef<SourceLocation> SelLocs = llvm::None);
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-dagcombiner-convergence.ll | 8 define i64 @foo(i128 %Params.coerce, i128 %SelLocs.coerce) { 13 %tmp1 = lshr i128 %SelLocs.coerce, 62
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-dagcombiner-convergence.ll | 8 define i64 @foo(i128 %Params.coerce, i128 %SelLocs.coerce) { 13 %tmp1 = lshr i128 %SelLocs.coerce, 62
|
/external/clang/tools/libclang/ |
D | CXCursor.cpp | 89 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 90 cast<ObjCMethodDecl>(D)->getSelectorLocs(SelLocs); in MakeCXCursor() 92 I=std::find(SelLocs.begin(), SelLocs.end(),RegionOfInterest.getBegin()); in MakeCXCursor() 93 if (I != SelLocs.end()) in MakeCXCursor() 94 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor() 524 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 525 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor() 527 I=std::find(SelLocs.begin(), SelLocs.end(),RegionOfInterest.getBegin()); in MakeCXCursor() 528 if (I != SelLocs.end()) in MakeCXCursor() 529 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
|
/external/llvm-project/clang/tools/libclang/ |
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() 628 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 629 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor() 631 llvm::find(SelLocs, RegionOfInterest.getBegin()); in MakeCXCursor() 632 if (I != SelLocs.end()) in MakeCXCursor() 633 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 1256 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1257 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1267 SelLocs, in RewritePropertyOrImplicitSetter() 1280 SelLocs, in RewritePropertyOrImplicitSetter() 1296 SelLocs, in RewritePropertyOrImplicitSetter() 1332 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1343 SelLocs, in RewritePropertyOrImplicitGetter() 1356 SelLocs, in RewritePropertyOrImplicitGetter() 1372 SelLocs, in RewritePropertyOrImplicitGetter()
|
D | RewriteModernObjC.cpp | 1442 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1443 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1453 SelLocs, in RewritePropertyOrImplicitSetter() 1466 SelLocs, in RewritePropertyOrImplicitSetter() 1482 SelLocs, in RewritePropertyOrImplicitSetter() 1526 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1536 SelLocs, in RewritePropertyOrImplicitGetter() 1549 SelLocs, in RewritePropertyOrImplicitGetter() 1565 SelLocs, in RewritePropertyOrImplicitGetter()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
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()
|
D | RewriteModernObjC.cpp | 1449 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1450 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1460 SelLocs, in RewritePropertyOrImplicitSetter() 1473 SelLocs, in RewritePropertyOrImplicitSetter() 1489 SelLocs, in RewritePropertyOrImplicitSetter() 1533 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1543 SelLocs, in RewritePropertyOrImplicitGetter() 1556 SelLocs, in RewritePropertyOrImplicitGetter() 1572 SelLocs, in RewritePropertyOrImplicitGetter()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1072 SmallVector<SourceLocation, 1> SelLocs; in RedeclarePropertyAccessor() local 1073 Decl->getSelectorLocs(SelLocs); in RedeclarePropertyAccessor() 1074 ImplDecl->setMethodParams(Context, Decl->parameters(), SelLocs); in RedeclarePropertyAccessor()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 936 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local 937 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl() 939 SelLocs.push_back(ReadSourceLocation(Record, Idx)); in VisitObjCMethodDecl() 941 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
|
D | ASTWriterDecl.cpp | 646 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local 649 Record.AddSourceLocation(SelLocs[i]); in VisitObjCMethodDecl()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 11139 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 11140 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 11143 SelLocs, in TransformObjCMessageExpr() 11152 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 11153 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 11156 SelLocs, in TransformObjCMessageExpr() 11178 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 11179 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 11182 SelLocs, in TransformObjCMessageExpr()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1072 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local 1073 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl() 1075 SelLocs.push_back(readSourceLocation()); in VisitObjCMethodDecl() 1077 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
|