/external/clang/lib/AST/ |
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 | 688 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument 691 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs() 695 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs() 698 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs() 702 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs() 704 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs() 709 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument 710 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams() 715 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams() 720 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
|
D | Expr.cpp | 3466 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 3483 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 3492 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 3507 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 3516 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument 3532 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr() 3537 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument 3557 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs() 3568 ArrayRef<SourceLocation> SelLocs, in Create() argument 3573 assert((!SelLocs.empty() || isImplicit) && in Create() [all …]
|
D | ASTImporter.cpp | 3325 SmallVector<SourceLocation, 12> SelLocs; in VisitObjCMethodDecl() local 3326 D->getSelectorLocs(SelLocs); in VisitObjCMethodDecl() 3327 ToMethod->setMethodParams(Importer.getToContext(), ToParams, SelLocs); in VisitObjCMethodDecl()
|
/external/clang/include/clang/AST/ |
D | SelectorLocationsKind.h | 47 ArrayRef<SourceLocation> SelLocs, 65 ArrayRef<SourceLocation> SelLocs,
|
D | ExprObjC.h | 950 ArrayRef<SourceLocation> SelLocs, 960 ArrayRef<SourceLocation> SelLocs, 970 ArrayRef<SourceLocation> SelLocs, 978 ArrayRef<SourceLocation> SelLocs, 1019 ArrayRef<SourceLocation> SelLocs, 1071 ArrayRef<SourceLocation> SelLocs, 1105 ArrayRef<SourceLocation> SelLocs, 1355 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
|
D | DeclObjC.h | 224 ArrayRef<SourceLocation> SelLocs); 312 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const; 382 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/clang/tools/libclang/ |
D | CXCursor.cpp | 86 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 87 cast<ObjCMethodDecl>(D)->getSelectorLocs(SelLocs); in MakeCXCursor() 89 I=std::find(SelLocs.begin(), SelLocs.end(),RegionOfInterest.getBegin()); in MakeCXCursor() 90 if (I != SelLocs.end()) in MakeCXCursor() 91 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor() 509 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local 510 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor() 512 I=std::find(SelLocs.begin(), SelLocs.end(),RegionOfInterest.getBegin()); in MakeCXCursor() 513 if (I != SelLocs.end()) in MakeCXCursor() 514 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 1255 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1256 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1266 SelLocs, in RewritePropertyOrImplicitSetter() 1279 SelLocs, in RewritePropertyOrImplicitSetter() 1295 SelLocs, in RewritePropertyOrImplicitSetter() 1331 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1342 SelLocs, in RewritePropertyOrImplicitGetter() 1355 SelLocs, in RewritePropertyOrImplicitGetter() 1371 SelLocs, in RewritePropertyOrImplicitGetter()
|
D | RewriteModernObjC.cpp | 1468 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitSetter() local 1469 OldMsg->getSelectorLocs(SelLocs); in RewritePropertyOrImplicitSetter() 1479 SelLocs, in RewritePropertyOrImplicitSetter() 1492 SelLocs, in RewritePropertyOrImplicitSetter() 1508 SelLocs, in RewritePropertyOrImplicitSetter() 1552 SmallVector<SourceLocation, 1> SelLocs; in RewritePropertyOrImplicitGetter() local 1562 SelLocs, in RewritePropertyOrImplicitGetter() 1575 SelLocs, in RewritePropertyOrImplicitGetter() 1591 SelLocs, in RewritePropertyOrImplicitGetter()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 10074 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 10075 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 10078 SelLocs, in TransformObjCMessageExpr() 10087 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 10088 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 10091 SelLocs, in TransformObjCMessageExpr() 10112 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local 10113 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr() 10116 SelLocs, in TransformObjCMessageExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 815 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local 816 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl() 818 SelLocs.push_back(ReadSourceLocation(Record, Idx)); in VisitObjCMethodDecl() 820 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
|
D | ASTWriterDecl.cpp | 558 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local 561 Writer.AddSourceLocation(SelLocs[i], Record); in VisitObjCMethodDecl()
|