Home
last modified time | relevance | path

Searched refs:SelLocs (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/AST/
DExprObjC.cpp138 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
152 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
159 ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
170 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
176 Selector Sel, ArrayRef<SourceLocation> SelLocs, in ObjCMessageExpr() argument
188 initArgsAndSelLocs(Args, SelLocs, SelLocsK); in ObjCMessageExpr()
193 ArrayRef<SourceLocation> SelLocs, in initArgsAndSelLocs() argument
213 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in initArgsAndSelLocs()
221 ArrayRef<SourceLocation> SelLocs, in Create() argument
224 assert((!SelLocs.empty() || isImplicit) && in Create()
[all …]
DSelectorLocationsKind.cpp71 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()
DDeclObjC.cpp769 ArrayRef<SourceLocation> SelLocs) { in setParamsAndSelLocs() argument
772 if (Params.empty() && SelLocs.empty()) in setParamsAndSelLocs()
776 sizeof(SourceLocation) * SelLocs.size(); in setParamsAndSelLocs()
779 std::copy(SelLocs.begin(), SelLocs.end(), getStoredSelLocs()); in setParamsAndSelLocs()
783 SmallVectorImpl<SourceLocation> &SelLocs) const { in getSelectorLocs()
785 SelLocs.push_back(getSelectorLoc(i)); in getSelectorLocs()
790 ArrayRef<SourceLocation> SelLocs) { in setMethodParams() argument
791 assert((!SelLocs.empty() || isImplicit()) && in setMethodParams()
796 SelLocsKind = hasStandardSelectorLocs(getSelector(), SelLocs, Params, in setMethodParams()
801 setParamsAndSelLocs(C, Params, SelLocs); in setMethodParams()
DASTImporter.cpp3426 SmallVector<SourceLocation, 12> SelLocs; in VisitObjCMethodDecl() local
3427 D->getSelectorLocs(SelLocs); in VisitObjCMethodDecl()
3428 ToMethod->setMethodParams(Importer.getToContext(), ToParams, SelLocs); in VisitObjCMethodDecl()
/external/clang/include/clang/AST/
DSelectorLocationsKind.h47 ArrayRef<SourceLocation> SelLocs,
65 ArrayRef<SourceLocation> SelLocs,
DExprObjC.h930 ArrayRef<SourceLocation> SelLocs,
940 ArrayRef<SourceLocation> SelLocs,
950 ArrayRef<SourceLocation> SelLocs,
958 ArrayRef<SourceLocation> SelLocs,
999 ArrayRef<SourceLocation> SelLocs,
1051 ArrayRef<SourceLocation> SelLocs,
1085 ArrayRef<SourceLocation> SelLocs,
1335 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
DDeclObjC.h224 ArrayRef<SourceLocation> SelLocs);
312 void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
386 ArrayRef<SourceLocation> SelLocs = llvm::None);
/external/llvm/test/CodeGen/AArch64/
Darm64-dagcombiner-convergence.ll8 define i64 @foo(i128 %Params.coerce, i128 %SelLocs.coerce) {
13 %tmp1 = lshr i128 %SelLocs.coerce, 62
/external/clang/tools/libclang/
DCXCursor.cpp89 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()
523 SmallVector<SourceLocation, 16> SelLocs; in MakeCXCursor() local
524 cast<ObjCMessageExpr>(S)->getSelectorLocs(SelLocs); in MakeCXCursor()
526 I=std::find(SelLocs.begin(), SelLocs.end(),RegionOfInterest.getBegin()); in MakeCXCursor()
527 if (I != SelLocs.end()) in MakeCXCursor()
528 SelectorIdIndex = I - SelLocs.begin(); in MakeCXCursor()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp1255 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()
DRewriteModernObjC.cpp1468 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/Serialization/
DASTReaderDecl.cpp881 SmallVector<SourceLocation, 16> SelLocs; in VisitObjCMethodDecl() local
882 SelLocs.reserve(NumStoredSelLocs); in VisitObjCMethodDecl()
884 SelLocs.push_back(ReadSourceLocation(Record, Idx)); in VisitObjCMethodDecl()
886 MD->setParamsAndSelLocs(Reader.getContext(), Params, SelLocs); in VisitObjCMethodDecl()
DASTWriterDecl.cpp622 SourceLocation *SelLocs = D->getStoredSelLocs(); in VisitObjCMethodDecl() local
625 Writer.AddSourceLocation(SelLocs[i], Record); in VisitObjCMethodDecl()
/external/clang/lib/Sema/
DTreeTransform.h10803 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
10804 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
10807 SelLocs, in TransformObjCMessageExpr()
10816 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
10817 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
10820 SelLocs, in TransformObjCMessageExpr()
10842 SmallVector<SourceLocation, 16> SelLocs; in TransformObjCMessageExpr() local
10843 E->getSelectorLocs(SelLocs); in TransformObjCMessageExpr()
10846 SelLocs, in TransformObjCMessageExpr()