Searched refs:Self (Results 1 - 25 of 47) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp58 : Self(S), SrcExpr(src), DestType(destType),
71 Sema &Self; member in struct:__anon2013::CastOperation
108 castExpr = ImplicitCastExpr::Create(Self.Context,
109 Self.Context.ARCUnbridgedCastTy,
140 Self.CheckCastAlign(SrcExpr.get(), DestType, OpRange);
144 assert(Self.getLangOpts().allowsNonTrivialObjCLifetimeQualifiers());
147 if (Self.CheckObjCConversion(OpRange, DestType, src, CCK) ==
158 SrcExpr = Self.CheckPlaceholderExpr(SrcExpr.get());
182 CheckNoDeref(Op.Self, Op.SrcExpr.get()->getType(), Op.ResultType,
190 static void DiagnoseCastQual(Sema &Self, cons
631 CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, bool CheckCVR, bool CheckObjCLifetime, QualType *TheOffendingSrcType = nullptr, QualType *TheOffendingDestType = nullptr, Qualifiers *CastAwayQualifiers = nullptr) argument
938 DiagnoseReinterpretUpDownCast(Sema &Self, const Expr *SrcExpr, QualType DestType, SourceRange OpRange) argument
1153 TryStaticCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath, bool ListInitialization) argument
1349 TryLValueToRValueCast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, CastKind &Kind, CXXCastPath &BasePath, unsigned &msg) argument
1404 TryStaticReferenceDowncast(Sema &Self, Expr *SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1442 TryStaticPointerDowncast(Sema &Self, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1476 TryStaticDowncast(Sema &Self, CanQualType SrcType, CanQualType DestType, bool CStyle, SourceRange OpRange, QualType OrigSrcType, QualType OrigDestType, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1588 TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, QualType SrcType, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind, CXXCastPath &BasePath) argument
1706 TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, Sema::CheckedConversionKind CCK, SourceRange OpRange, unsigned &msg, CastKind &Kind, bool ListInitialization) argument
1761 TryConstCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg) argument
1914 DiagnoseCastOfObjCSEL(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
1933 DiagnoseCallingConvCast(Sema &Self, const ExprResult &SrcExpr, QualType DstType, SourceRange OpRange) argument
2021 checkIntToPointerCast(bool CStyle, const SourceRange &OpRange, const Expr *SrcExpr, QualType DestType, Sema &Self) argument
2047 fixOverloadedReinterpretCastExpr(Sema &Self, QualType DestType, ExprResult &Result) argument
2074 TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, SourceRange OpRange, unsigned &msg, CastKind &Kind) argument
2405 TryAddressSpaceCast(Sema &Self, ExprResult &SrcExpr, QualType DestType, bool CStyle, unsigned &msg, CastKind &Kind) argument
2635 DiagnoseBadFunctionCast(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
2973 DiagnoseCastQual(Sema &Self, const ExprResult &SrcExpr, QualType DestType) argument
[all...]
H A DSemaExprCXX.cpp4629 Sema &Self, SourceLocation KeyLoc, ASTContext &C,
4640 LookupResult Res(Self, NameInfo, Sema::LookupOrdinaryName);
4641 if (Self.LookupQualifiedName(Res, RD)) {
4653 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
4663 static bool EvaluateUnaryTypeTrait(Sema &Self, TypeTrait UTT,
4667 ASTContext &C = Self.Context;
4890 CXXDestructorDecl *Destructor = Self.LookupDestructor(RD);
4902 CPT = Self.ResolveExceptionSpec(KeyLoc, CPT);
4944 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLoc, C,
4957 return HasNoThrowOperator(RT, OO_Equal, Self, KeyLo
[all...]
H A DSemaExceptionSpec.cpp990 static CanThrowResult canSubStmtsThrow(Sema &Self, const Stmt *S) { argument
995 R = mergeCanThrow(R, Self.canThrow(SubStmt));
1057 static CanThrowResult canVarDeclThrow(Sema &Self, const VarDecl *VD) { argument
1061 if (!VD->isUsableInConstantExpressions(Self.Context))
1063 CT = mergeCanThrow(CT, Self.canThrow(Init));
1066 if (VD->needsDestruction(Self.Context) == QualType::DK_cxx_destructor) {
1071 CT, Sema::canCalleeThrow(Self, nullptr, Dtor, VD->getLocation()));
1080 CT = mergeCanThrow(CT, canVarDeclThrow(Self, HD));
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DContinuousRangeMap.h112 ContinuousRangeMap &Self; member in class:clang::ContinuousRangeMap::Builder
115 explicit Builder(ContinuousRangeMap &Self) : Self(Self) {} argument
120 llvm::sort(Self.Rep, Compare());
121 Self.Rep.erase(
123 Self.Rep.begin(), Self.Rep.end(),
131 Self.Rep.end());
135 Self
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionIterator.h101 using Self = RNSuccIterator<NodeRef, BlockT, RegionT>;
122 inline bool operator==(const Self& x) const {
130 inline bool operator!=(const Self& x) const { return !operator==(x); }
138 inline Self& operator++() {
152 inline Self operator++(int) {
153 Self tmp = *this;
176 using Self = RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT>;
202 inline bool operator==(const Self& x) const {
209 inline bool operator!=(const Self& x) const { return !operator==(x); }
224 inline Self
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DCFG.h47 using Self = PredIterator<Ptr, USE_iterator>;
71 inline bool operator==(const Self& x) const { return It == x.It; }
72 inline bool operator!=(const Self& x) const { return !operator==(x); }
80 inline Self& operator++() { // Preincrement
86 inline Self operator++(int) { // Postincrement
87 Self tmp = *this; ++*this; return tmp;
149 using Self = SuccIterator<InstructionT, BlockT>;
159 Self It;
162 explicit SuccessorProxy(const Self &It) : It(It) {}
200 inline bool operator==(const Self
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h370 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) argument
371 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue),
372 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue),
373 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue),
374 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue),
375 Ident__exception_code(Self.Ident__exception_code, NewValue),
376 Ident__exception_info(Self.Ident__exception_info, NewValue),
377 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue),
378 Ident___exception_code(Self.Ident___exception_code, NewValue),
379 Ident___exception_info(Self
[all...]
H A DParser.h293 Parser &Self; member in struct:clang::Parser::DestroyTemplateIdAnnotationsRAIIObj
295 DestroyTemplateIdAnnotationsRAIIObj(Parser &Self) : Self(Self) {} argument
296 ~DestroyTemplateIdAnnotationsRAIIObj() { Self.MaybeDestroyTemplateIds(); }
1059 Parser *Self; member in class:clang::ParseScope
1065 // parser Self where the new Scope is created with the flags
1067 ParseScope(Parser *Self, unsigned ScopeFlags, bool EnteredScope = true, argument
1069 : Self(Self) {
1097 Parser &Self; member in class:clang::MultiParseScope
1103 MultiParseScope(Parser &Self) argument
1246 Parser *Self; member in class:clang::LateParsedClass
1257 Parser *Self; member in struct:clang::LateParsedAttribute
1278 Parser *Self = nullptr; member in class:clang::LateParsedPragma
1308 Parser *Self; member in struct:clang::LexedMethod
1346 Parser* Self; member in struct:clang::LateParsedMethodDeclaration
1372 Parser *Self; member in struct:clang::LateParsedMemberInitializer
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DInheritViz.cpp137 QualType Self = Context.getTypeDeclType(this); local
142 Self.getAsString(), "dot", FD, Filename)) {
152 Writer.WriteGraph(Self);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp32 const ConstructionContextLayer *Self = this; local
35 return Self;
36 if (!Self || !(Self->Item == Other->Item))
38 Self = Self->getParent();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DModuleBuilder.cpp45 CodeGeneratorImpl &Self; member in struct:__anon1827::CodeGeneratorImpl::HandlingTopLevelDeclRAII
47 HandlingTopLevelDeclRAII(CodeGeneratorImpl &Self, argument
49 : Self(Self), EmitDeferred(EmitDeferred) {
50 ++Self.HandlingTopLevelDecls;
53 unsigned Level = --Self.HandlingTopLevelDecls;
55 Self.EmitDeferredDecls();
H A DCGDebugInfo.h97 const CGDebugInfo &Self; member in class:clang::DynamicInitKind::CGDebugInfo::final
100 PrintingCallbacks(const CGDebugInfo &Self) : Self(Self) {} argument
102 return Self.remapDIPath(Path);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.h60 void linkPhase1(std::unique_ptr<JITLinkerBase> Self);
67 void linkPhase2(std::unique_ptr<JITLinkerBase> Self,
73 void linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err);
H A DJITLinkGeneric.cpp25 void JITLinkerBase::linkPhase1(std::unique_ptr<JITLinkerBase> Self) { argument
86 // [Self=std::move(Self)](Expected<AsyncLookupResult> Result) {
87 // Self->linkPhase2(std::move(Self), std::move(Result));
92 [S = std::move(Self), L = std::move(Layout)](
100 void JITLinkerBase::linkPhase2(std::unique_ptr<JITLinkerBase> Self, argument
145 auto *UnownedSelf = Self.release();
147 std::unique_ptr<JITLinkerBase> Self(UnownedSelf);
148 UnownedSelf->linkPhase3(std::move(Self), st
154 linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp229 : Self(P), Class(C) {}
232 Self->DeallocateParsedClasses(Class);
236 Self->ParseLexedMethodDeclarations(*Class);
240 Self->ParseLexedMemberInitializers(*Class);
244 Self->ParseLexedMethodDefs(*Class);
248 Self->ParseLexedAttributes(*Class);
252 Self->ParseLexedPragmas(*Class);
256 Self->ParseLexedMethodDeclaration(*this);
260 Self->ParseLexedMethodDef(*this);
264 Self
1104 UnannotatedTentativeParsingAction(Parser &Self, tok::TokenKind EndKind) argument
1131 Parser &Self; member in class:Parser::UnannotatedTentativeParsingAction
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h436 PreprocessingRecord *Self; member in class:clang::PreprocessingRecord::iterator
438 iterator(PreprocessingRecord *Self, int Position) argument
439 : iterator::iterator_adaptor_base(Position), Self(Self) {}
447 Self->LoadedPreprocessedEntities.size() + this->I : this->I;
448 PPEntityID ID = Self->getPPEntityID(Index, isLoaded);
449 return Self->getPreprocessedEntity(ID);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h166 // Self <= x, where "Self" is "ref to itself".
170 // Since we do not store the "Self" bit and register number, the meet
228 bool meet(const BitValue &V, const BitRef &Self) { argument
230 if (Type == Ref && RefI == Self) // Bottom.meet(V) = Bottom (i.e. This)
239 // become "bottom" (i.e. Self).
247 RefI = Self;
254 static BitValue self(const BitRef &Self = BitRef());
279 BitTracker::BitValue::self(const BitRef &Self) { argument
280 return BitValue(Self
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DItaniumManglingCanonicalizer.cpp162 CanonicalizerAllocator &Self; member in struct:__anon3793::CanonicalizerAllocator::MakeNodeImpl
164 return Self.makeNodeSimple<T>(std::forward<Args>(As)...);
197 CanonicalizerAllocator &Self; member in struct:__anon3793::CanonicalizerAllocator::MakeNodeImpl
199 Node *StdNamespace = Self.makeNode<itanium_demangle::NameType>("std");
202 return Self.makeNode<itanium_demangle::NestedName>(StdNamespace, Child);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h525 LazyVector *Self; member in class:clang::LazyVector::iterator
527 iterator(LazyVector *Self, int Position) argument
528 : iterator::iterator_adaptor_base(Position), Self(Self) {}
537 return Self->Loaded.end()[this->I];
538 return Self->Local.begin()[this->I];
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h57 template <class Self, class R>
60 Self *self() { return static_cast<Self *>(this); }
184 template <class Self>
185 class VisitReducer : public Traversal<Self, VisitReducerBase>,
300 Self Visitor;
309 template <typename Self>
312 Self *self() { return reinterpret_cast<Self *>(this); }
404 template <typename Self, typenam
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLLJIT.cpp409 static void registerAtExitHelper(void *Self, void (*F)(void *), void *Ctx, argument
415 static_cast<GenericLLVMIRPlatformSupport *>(Self)->AtExitMgr.registerAtExit(
419 static void runAtExitsHelper(void *Self, void *DSOHandle) { argument
424 static_cast<GenericLLVMIRPlatformSupport *>(Self)->AtExitMgr.runAtExits(
760 static void registerAtExitHelper(void *Self, void (*F)(void *), void *Ctx, argument
762 static_cast<MachOPlatformSupport *>(Self)->AtExitMgr.registerAtExit(
766 static void runAtExitsHelper(void *Self, void *DSOHandle) { argument
767 static_cast<MachOPlatformSupport *>(Self)->AtExitMgr.runAtExits(DSOHandle);
802 static void *dlopenHelper(void *Self, const char *Path, int Mode) { argument
803 return static_cast<MachOPlatformSupport *>(Self)
838 dlcloseHelper(void *Self, void *Handle) argument
883 dlsymHelper(void *Self, void *Handle, const char *Name) argument
897 dlerrorHelper(void *Self) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h408 ASTUnit &Self; member in class:clang::ASTUnit::ConcurrencyCheck
411 explicit ConcurrencyCheck(ASTUnit &Self) : Self(Self) { argument
412 Self.ConcurrencyCheckValue.start();
416 Self.ConcurrencyCheckValue.finish();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DDynamicLibrary.inc114 HMODULE Self = HMODULE(GetCurrentProcess());
115 if (!GetProcessModules(Self, Bytes))
127 if (!GetProcessModules(Self, Bytes, Handles.data()))
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFoldingSet.h170 void (*GetNodeProfile)(const FoldingSetBase *Self, Node *N,
175 bool (*NodeEquals)(const FoldingSetBase *Self, Node *N,
181 unsigned (*ComputeNodeHash)(const FoldingSetBase *Self, Node *N,
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp260 zx_handle_t Self = _zx_process_self(); local
262 Self, ZX_EXCEPTION_CHANNEL_DEBUGGER, &Channel.Handle),

Completed in 252 milliseconds

12