| /llvm-project-15.0.7/libcxx/test/libcxx/iterators/ |
| H A D | contiguous_iterators.pass.cpp | 58 friend bool operator==(const Self&, const Self&); 59 friend bool operator!=(const Self&, const Self&); 83 friend Self& operator+=(Self&, difference_type); 85 friend Self operator+(Self, difference_type); 86 friend Self operator+(difference_type, Self); 87 friend Self operator-(Self, difference_type); 88 friend difference_type operator-(Self, Self); 122 friend Self operator+(Self, difference_type); 123 friend Self operator+(difference_type, Self); 124 friend Self operator-(Self, difference_type); [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 81 Sema &Self; member 119 Self.Context, Self.Context.ARCUnbridgedCastTy, CK_Dependent, in complete() 909 Self.Diag(OpRange.getBegin(), in CheckDynamicCast() 1556 return TryStaticDowncast(Self, in TryStaticReferenceDowncast() 1588 return TryStaticDowncast(Self, in TryStaticPointerDowncast() 2503 Self.Diag(OpRange.getBegin(), in TryReinterpretCast() 2512 Self.Diag(OpRange.getBegin(), in TryReinterpretCast() 2548 if (!Self.getLangOpts().OpenCL && !Self.getLangOpts().SYCLIsDevice) in TryAddressSpaceCast() 2598 if (Self.getLangOpts().OpenCL) { in checkAddressSpaceCast() 3056 Self); in CheckCStyleCast() [all …]
|
| H A D | SemaExprCXX.cpp | 4849 if (Self.LookupQualifiedName(Res, RD)) { in HasNoThrowOperator() 4875 ASTContext &C = Self.Context; in EvaluateUnaryTypeTrait() 5502 if (Self.RequireCompleteType( in EvaluateBinaryTypeTrait() 5526 if (Self.RequireCompleteType(KeyLoc, RhsT, in EvaluateBinaryTypeTrait() 5578 if (!Self.isCompleteType(KeyLoc, RhsT) || Self.isAbstractType(KeyLoc, RhsT)) in EvaluateBinaryTypeTrait() 5598 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait() 5622 Self.RequireCompleteType(KeyLoc, LhsT, in EvaluateBinaryTypeTrait() 5626 Self.RequireCompleteType(KeyLoc, RhsT, in EvaluateBinaryTypeTrait() 5650 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait() 5718 if (Self.VerifyIntegerConstantExpression( in EvaluateArrayTypeTrait() [all …]
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | almost_satisfies_types.h | 338 Self& operator++(); 339 Self& operator--(); 345 friend Self operator+(Self, difference_type); 346 friend Self operator+(difference_type, Self); 347 friend Self operator-(Self, difference_type); 348 friend difference_type operator-(Self, Self); 372 Self& operator++(); 379 friend Self operator+(Self, difference_type); 380 friend Self operator+(difference_type, Self); 381 friend Self operator-(Self, difference_type); [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
| H A D | p5-generic-lambda-1y.cpp | 5 auto Fact = [](auto Self, unsigned n) -> unsigned { in __anonad8db0ae0102() argument 6 return !n ? 1 : Self(Self, n - 1) * n; in __anonad8db0ae0102() 20 auto NumParams = [](auto Self, auto h, auto ... rest) -> unsigned { in __anonad8db0ae0202() argument 21 return 1 + Self(Self, rest...); in __anonad8db0ae0202() 23 auto Base = [](auto Self, auto h) -> unsigned { in __anonad8db0ae0302() argument 38 auto NumParams = [](auto Self, auto h, auto ... rest) { in __anonad8db0ae0402() argument 39 return 1 + Self(Self, rest...); in __anonad8db0ae0402() 41 auto Base = [](auto Self, auto h) { in __anonad8db0ae0502() argument
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ContinuousRangeMap.h | 112 ContinuousRangeMap &Self; variable 115 explicit Builder(ContinuousRangeMap &Self) : Self(Self) {} in Builder() argument 120 llvm::sort(Self.Rep, Compare()); in ~Builder() 121 Self.Rep.erase( in ~Builder() 123 Self.Rep.begin(), Self.Rep.end(), in ~Builder() 131 Self.Rep.end()); in ~Builder() 135 Self.Rep.push_back(Val); in insert()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkGeneric.cpp | 25 void JITLinkerBase::linkPhase1(std::unique_ptr<JITLinkerBase> Self) { in linkPhase1() argument 53 [S = std::move(Self)](AllocResult AR) mutable { in linkPhase1() 59 void JITLinkerBase::linkPhase2(std::unique_ptr<JITLinkerBase> Self, in linkPhase2() argument 93 auto &TmpSelf = *Self; in linkPhase2() 94 TmpSelf.linkPhase3(std::move(Self), AsyncLookupResult()); in linkPhase2() 116 [S = std::move(Self)]( in linkPhase2() 123 void JITLinkerBase::linkPhase3(std::unique_ptr<JITLinkerBase> Self, in linkPhase3() argument 132 return abandonAllocAndBailOut(std::move(Self), LR.takeError()); in linkPhase3() 144 return abandonAllocAndBailOut(std::move(Self), std::move(Err)); in linkPhase3() 153 return abandonAllocAndBailOut(std::move(Self), std::move(Err)); in linkPhase3() [all …]
|
| H A D | JITLinkGeneric.h | 57 void linkPhase1(std::unique_ptr<JITLinkerBase> Self); 63 void linkPhase2(std::unique_ptr<JITLinkerBase> Self, AllocResult AR); 71 void linkPhase3(std::unique_ptr<JITLinkerBase> Self, 76 void linkPhase4(std::unique_ptr<JITLinkerBase> Self, FinalizeResult FR); 89 void abandonAllocAndBailOut(std::unique_ptr<JITLinkerBase> Self, Error Err);
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | CFG.h | 51 using Self = PredIterator<Ptr, USE_iterator>; 81 inline Self& operator++() { // Preincrement 87 inline Self operator++(int) { // Postincrement 88 Self tmp = *this; ++*this; return tmp; 150 using Self = SuccIterator<InstructionT, BlockT>; variable 160 Self It; 163 explicit SuccessorProxy(const Self &It) : It(It) {} in SuccessorProxy() 208 inline bool operator<(const Self &RHS) const { 213 int operator-(const Self &RHS) const { 218 inline Self &operator+=(int RHS) { [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | RegionIterator.h | 106 using Self = RNSuccIterator<NodeRef, BlockT, RegionT>; 126 inline bool operator==(const Self& x) const { 134 inline bool operator!=(const Self& x) const { return !operator==(x); } 142 inline Self& operator++() { 156 inline Self operator++(int) { 157 Self tmp = *this; 184 using Self = RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT>; variable 209 inline bool operator==(const Self& x) const { 231 inline Self& operator++() { 241 inline Self operator++(int) { [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 373 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) in PoisonSEHIdentifiersRAIIObject() argument 374 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue), in PoisonSEHIdentifiersRAIIObject() 375 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue), in PoisonSEHIdentifiersRAIIObject() 376 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue), in PoisonSEHIdentifiersRAIIObject() 377 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject() 378 Ident__exception_code(Self.Ident__exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject() 379 Ident__exception_info(Self.Ident__exception_info, NewValue), in PoisonSEHIdentifiersRAIIObject() 380 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject() 381 Ident___exception_code(Self.Ident___exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject() 382 Ident___exception_info(Self.Ident___exception_info, NewValue) { in PoisonSEHIdentifiersRAIIObject()
|
| H A D | Parser.h | 301 Parser &Self; member 303 DestroyTemplateIdAnnotationsRAIIObj(Parser &Self) : Self(Self) {} in DestroyTemplateIdAnnotationsRAIIObj() 1098 Parser *Self; variable 1108 : Self(Self) { in Self() argument 1122 if (Self) { in Exit() 1136 Parser &Self; variable 1142 MultiParseScope(Parser &Self) : Self(Self) {} in MultiParseScope() argument 1285 Parser *Self; 1296 Parser *Self; member 1347 Parser *Self; member [all …]
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | FalsePositiveRefutationBRVisitorTest.cpp | 28 using Self = FalsePositiveGenerator; typedef in clang::ento::__anon971e91060111::FalsePositiveGenerator 30 using HandlerFn = bool (Self::*)(const CallEvent &Call, 33 {{"reachedWithContradiction", 0}, &Self::reachedWithContradiction}, 34 {{"reachedWithNoContradiction", 0}, &Self::reachedWithNoContradiction}, 35 {{"reportIfCanBeTrue", 1}, &Self::reportIfCanBeTrue},
|
| /llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/ |
| H A D | Utils.cpp | 89 int Self = mapping::getThreadIdInWarp(); in shuffle() local 90 int Index = SrcLane + (Self & ~(Width - 1)); in shuffle() 96 int Self = mapping::getThreadIdInWarp(); in shuffleDown() local 97 int Index = Self + LaneDelta; in shuffleDown() 98 Index = (int)(LaneDelta + (Self & (Width - 1))) >= Width ? Self : Index; in shuffleDown()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 243 : Self(P), Class(C) {} in LateParsedClass() 246 Self->DeallocateParsedClasses(Class); in ~LateParsedClass() 258 Self->ParseLexedMethodDefs(*Class); in ParseLexedMethodDefs() 262 Self->ParseLexedAttributes(*Class); in ParseLexedAttributes() 266 Self->ParseLexedPragmas(*Class); in ParseLexedPragmas() 274 Self->ParseLexedMethodDef(*this); in ParseLexedMethodDefs() 286 Self->ParseLexedPragma(*this); in ParseLexedPragmas() 1128 : TentativeParsingAction(Self), Self(Self), EndKind(EndKind) { in UnannotatedTentativeParsingAction() 1131 TentativeParsingAction Inner(Self); in UnannotatedTentativeParsingAction() 1148 Self.Tok = Toks.front(); in RevertAnnotations() [all …]
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | VirtualInstruction.h | 174 using Self = VirtualOperandIterator; variable 189 inline bool operator==(const Self &that) const { 194 inline bool operator!=(const Self &that) const { 205 Self &operator++() { 210 Self operator++(int) { 211 Self tmp = *this;
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 32 const ConstructionContextLayer *Self = this; in isStrictlyMoreSpecificThan() local 35 return Self; in isStrictlyMoreSpecificThan() 36 if (!Self || !(Self->Item == Other->Item)) in isStrictlyMoreSpecificThan() 38 Self = Self->getParent(); in isStrictlyMoreSpecificThan()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ModuleBuilder.cpp | 47 CodeGeneratorImpl &Self; member 49 HandlingTopLevelDeclRAII(CodeGeneratorImpl &Self, in HandlingTopLevelDeclRAII() 51 : Self(Self), EmitDeferred(EmitDeferred) { in HandlingTopLevelDeclRAII() 52 ++Self.HandlingTopLevelDecls; in HandlingTopLevelDeclRAII() 55 unsigned Level = --Self.HandlingTopLevelDecls; in ~HandlingTopLevelDeclRAII() 57 Self.EmitDeferredDecls(); in ~HandlingTopLevelDeclRAII()
|
| /llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/ |
| H A D | use-after-scope-temp2.cpp | 10 __attribute__((noinline)) const IntHolder &Self() const { in Self() function 19 saved = &IntHolder().Self(); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | use-after-scope-temp2.cpp | 5 __attribute__((noinline)) const IntHolder &Self() const { in Self() function 14 saved = &IntHolder().Self(); in main()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PreprocessingRecord.h | 434 PreprocessingRecord *Self; variable 436 iterator(PreprocessingRecord *Self, int Position) in iterator() argument 437 : iterator::iterator_adaptor_base(Position), Self(Self) {} in iterator() 445 Self->LoadedPreprocessedEntities.size() + this->I : this->I; 446 PPEntityID ID = Self->getPPEntityID(Index, isLoaded); 447 return Self->getPreprocessedEntity(ID);
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | InheritViz.cpp | 137 QualType Self = Context.getTypeDeclType(this); in viewInheritance() local 142 Self.getAsString(), "dot", FD, Filename)) { in viewInheritance() 152 Writer.WriteGraph(Self); in viewInheritance()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | BitTracker.h | 229 bool meet(const BitValue &V, const BitRef &Self) { in meet() 231 if (Type == Ref && RefI == Self) // Bottom.meet(V) = Bottom (i.e. This) in meet() 248 RefI = Self; in meet() 255 static BitValue self(const BitRef &Self = BitRef()); 280 BitTracker::BitValue::self(const BitRef &Self) { in self() argument 281 return BitValue(Self.Reg, Self.Pos); in self()
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTraverse.h | 57 template <class Self, class R> 60 Self *self() { return static_cast<Self *>(this); } in self() 184 template <class Self> 185 class VisitReducer : public Traversal<Self, VisitReducerBase>, 300 Self Visitor; in visit() 309 template <typename Self> 312 Self *self() { return reinterpret_cast<Self *>(this); } in self() 404 template <typename Self, typename StreamType> 421 Self printer; in print() 426 Self *self() { return reinterpret_cast<Self *>(this); } in self()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ExternalASTSource.h | 519 LazyVector *Self; 521 iterator(LazyVector *Self, int Position) 522 : iterator::iterator_adaptor_base(Position), Self(Self) {} 531 return Self->Loaded.end()[this->I]; 532 return Self->Local.begin()[this->I];
|