Home
last modified time | relevance | path

Searched defs:Context (Results 1 – 25 of 1264) sorted by relevance

12345678910>>...51

/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_ARM64.h60 struct Context { struct
78 Context m_regs; argument
H A DRegisterContextMinidump_ARM.h72 struct Context { struct
92 Context m_regs; argument
/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.h32 struct Context { struct
37 Context(const object::COFFObjectFile &COFF, SymbolResolver Resolver, in Context() argument
/llvm-project/bolt/lib/Rewrite/
H A DJITLinkLinker.cpp76 struct JITLinkLinker::Context : jitlink::JITLinkContext { struct in llvm::bolt::JITLinkLinker
80 Context(JITLinkLinker &Linker, JITLinkLinker::SectionsMapper MapSections) in Context() argument
77 Linkerllvm::bolt::JITLinkLinker::Context global() argument
78 MapSectionsllvm::bolt::JITLinkLinker::Context global() argument
84 getMemoryManagerllvm::bolt::JITLinkLinker::Context getMemoryManager() argument
88 shouldAddDefaultTargetPassesllvm::bolt::JITLinkLinker::Context shouldAddDefaultTargetPasses() argument
96 modifyPassConfigllvm::bolt::JITLinkLinker::Context modifyPassConfig() argument
114 notifyFailedllvm::bolt::JITLinkLinker::Context notifyFailed() argument
120 lookupllvm::bolt::JITLinkLinker::Context lookup() argument
167 notifyResolvedllvm::bolt::JITLinkLinker::Context notifyResolved() argument
176 notifyFinalizedllvm::bolt::JITLinkLinker::Context notifyFinalized() argument
/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp65 bool tooling::isKnownPointerLikeType(QualType Ty, ASTContext &Context) { in isKnownPointerLikeType()
76 const ASTContext &Context) { in buildParens()
86 tooling::buildDereference(const Expr &E, const ASTContext &Context) { in buildDereference()
107 const ASTContext &Context) { in buildAddressOf()
132 buildAccessForValue(const Expr &E, const ASTContext &Context) { in buildAccessForValue()
158 buildAccessForPointer(const Expr &E, const ASTContext &Context) { in buildAccessForPointer()
181 const ASTContext &Context) { in buildDot()
186 const ASTContext &Context) { in buildArrow()
201 static bool treatLikePointer(QualType Ty, PLTClass C, ASTContext &Context) { in treatLikePointer()
214 ASTContext &Context, in buildAccess()
/llvm-project/llvm/unittests/MC/X86/
H A DX86MCDisassemblerTest.cpp25 struct Context { struct
26 const char *TripleName = "x86_64-unknown-elf";
27 std::unique_ptr<MCRegisterInfo> MRI;
28 std::unique_ptr<MCAsmInfo> MAI;
29 std::unique_ptr<MCContext> Ctx;
30 std::unique_ptr<MCSubtargetInfo> STI;
31 std::unique_ptr<MCDisassembler> DisAsm;
33 Context() { in Context() function
53 operator MCContext &() { return *Ctx; }; in operator MCContext&()
/llvm-project/llvm/unittests/MC/
H A DDwarfLineTables.cpp24 struct Context { struct
25 const char *TripleName = "x86_64-pc-linux";
26 std::unique_ptr<MCRegisterInfo> MRI;
27 std::unique_ptr<MCAsmInfo> MAI;
28 std::unique_ptr<MCContext> Ctx;
30 Context() { in Context() argument
48 operator bool() { return Ctx.get(); } in operator bool()
49 operator MCContext &() { return *Ctx; }; in operator MCContext&()
/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfCorrelator.h73 struct Context { global() struct
90 ShouldSwapBytesContext global() argument
/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h185 struct Context { struct
248 Context() = default; argument
335 void *baton, const Context &context, argument
186 typeContext global() argument
193 ContextInfoContext global() argument
250 SetRegisterPlusOffsetContext SetRegisterPlusOffset() argument
256 SetRegisterPlusIndirectOffsetContext SetRegisterPlusIndirectOffset() argument
263 SetRegisterToRegisterPlusOffsetContext SetRegisterToRegisterPlusOffset() argument
272 SetRegisterToRegisterPlusIndirectOffsetContext SetRegisterToRegisterPlusIndirectOffset() argument
281 SetRegisterRegisterOperandsContext SetRegisterRegisterOperands() argument
288 SetOffsetContext SetOffset() argument
293 SetRegisterContext SetRegister() argument
298 SetImmediateContext SetImmediate() argument
303 SetImmediateSignedContext SetImmediateSigned() argument
308 SetAddressContext SetAddress() argument
[all...]
/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h35 ASTContext &Context) { in getExtendedRange()
56 StringRef getText(const T &Node, const ASTContext &Context) { in getText()
85 ASTContext &Context) { in getExtendedText()
137 getFileRange(const CharSourceRange &EditRange, const ASTContext &Context, in getFileRange()
/llvm-project/llvm/unittests/Analysis/
H A DIRSimilarityIdentifierTest.cpp31 static std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, in makeLLVMModule()
65 LLVMContext Context; in TEST() local
96 LLVMContext Context; in TEST() local
124 LLVMContext Context; in TEST() local
149 LLVMContext Context; in TEST() local
176 LLVMContext Context; in TEST() local
201 LLVMContext Context; in TEST() local
227 LLVMContext Context; in TEST() local
253 LLVMContext Context; in TEST() local
279 LLVMContext Context; in TEST() local
[all …]
/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp
/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.h35 struct Context { struct
36 Context(DifferenceEngine &Engine, const Value *L, const Value *R) in Context() function
41 ~Context() { in ~Context() argument
/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.h42 struct Context { struct
43 DDetector *dd;
45 Mutex report_mutex;
46 MutexHashMap mutex_map;
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DImplicitBoolConversionCheck.cpp29 isNULLMacroExpansion(const Stmt * Statement,ASTContext & Context) isNULLMacroExpansion() argument
43 getZeroLiteralToCompareWithForType(CastKind CastExprKind,QualType Type,ASTContext & Context) getZeroLiteralToCompareWithForType() argument
69 fixGenericExprCastToBool(DiagnosticBuilder & Diag,const ImplicitCastExpr * Cast,const Stmt * Parent,ASTContext & Context) fixGenericExprCastToBool() argument
128 getEquivalentBoolLiteralForExpr(const Expr * Expression,ASTContext & Context) getEquivalentBoolLiteralForExpr() argument
155 needsSpacePrefix(SourceLocation Loc,ASTContext & Context) needsSpacePrefix() argument
169 fixGenericExprCastFromBool(DiagnosticBuilder & Diag,const ImplicitCastExpr * Cast,ASTContext & Context,StringRef OtherType) fixGenericExprCastFromBool() argument
195 getEquivalentForBoolLiteral(const CXXBoolLiteralExpr * BoolLiteral,QualType DestType,ASTContext & Context) getEquivalentForBoolLiteral() argument
217 isCastAllowedInCondition(const ImplicitCastExpr * Cast,ASTContext & Context) isCastAllowedInCondition() argument
248 ImplicitBoolConversionCheck(StringRef Name,ClangTidyContext * Context) ImplicitBoolConversionCheck() argument
360 handleCastToBool(const ImplicitCastExpr * Cast,const Stmt * Parent,ASTContext & Context) handleCastToBool() argument
387 handleCastFromBool(const ImplicitCastExpr * Cast,const ImplicitCastExpr * NextImplicitCast,ASTContext & Context) handleCastFromBool() argument
[all...]
/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp41 FindOrInsert(const ASTContext & Context,const NestedNameSpecifier & Mockup) FindOrInsert() argument
58 Create(const ASTContext & Context,NestedNameSpecifier * Prefix,const IdentifierInfo * II) Create() argument
72 Create(const ASTContext & Context,NestedNameSpecifier * Prefix,const NamespaceDecl * NS) Create() argument
88 Create(const ASTContext & Context,NestedNameSpecifier * Prefix,const NamespaceAliasDecl * Alias) Create() argument
104 Create(const ASTContext & Context,NestedNameSpecifier * Prefix,bool Template,const Type * T) Create() argument
115 Create(const ASTContext & Context,const IdentifierInfo * II) Create() argument
126 GlobalSpecifier(const ASTContext & Context) GlobalSpecifier() argument
134 SuperSpecifier(const ASTContext & Context,CXXRecordDecl * RD) SuperSpecifier() argument
563 Extend(ASTContext & Context,SourceLocation TemplateKWLoc,TypeLoc TL,SourceLocation ColonColonLoc) Extend() argument
576 Extend(ASTContext & Context,IdentifierInfo * Identifier,SourceLocation IdentifierLoc,SourceLocation ColonColonLoc) Extend() argument
588 Extend(ASTContext & Context,NamespaceDecl * Namespace,SourceLocation NamespaceLoc,SourceLocation ColonColonLoc) Extend() argument
600 Extend(ASTContext & Context,NamespaceAliasDecl * Alias,SourceLocation AliasLoc,SourceLocation ColonColonLoc) Extend() argument
611 MakeGlobal(ASTContext & Context,SourceLocation ColonColonLoc) MakeGlobal() argument
620 MakeSuper(ASTContext & Context,CXXRecordDecl * RD,SourceLocation SuperLoc,SourceLocation ColonColonLoc) MakeSuper() argument
631 MakeTrivial(ASTContext & Context,NestedNameSpecifier * Qualifier,SourceRange R) MakeTrivial() argument
[all...]
H A DASTStructuralEquivalence.cpp116 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, in IsStructurallyEquivalent() argument
167 StructuralEquivalenceContext &Context; global() member in __anon9be702570111::StmtComparer
452 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const UnaryOperator * E1,const CXXOperatorCallExpr * E2) IsStructurallyEquivalent() argument
460 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const CXXOperatorCallExpr * E1,const UnaryOperator * E2) IsStructurallyEquivalent() argument
468 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const BinaryOperator * E1,const CXXOperatorCallExpr * E2) IsStructurallyEquivalent() argument
477 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const CXXOperatorCallExpr * E1,const BinaryOperator * E2) IsStructurallyEquivalent() argument
487 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const Stmt * S1,const Stmt * S2) IsStructurallyEquivalent() argument
542 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,NestedNameSpecifier * NNS1,NestedNameSpecifier * NNS2) IsStructurallyEquivalent() argument
580 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const TemplateName & N1,const TemplateName & N2) IsStructurallyEquivalent() argument
658 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const TemplateArgument & Arg1,const TemplateArgument & Arg2) IsStructurallyEquivalent() argument
710 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ArrayRef<TemplateArgument> Args1,ArrayRef<TemplateArgument> Args2) IsStructurallyEquivalent() argument
723 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,const TemplateArgumentLoc & Arg1,const TemplateArgumentLoc & Arg2) IsStructurallyEquivalent() argument
732 IsArrayStructurallyEquivalent(StructuralEquivalenceContext & Context,const ArrayType * Array1,const ArrayType * Array2) IsArrayStructurallyEquivalent() argument
749 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FunctionType::ExtInfo EI1,FunctionType::ExtInfo EI2) IsStructurallyEquivalent() argument
773 IsEquivalentExceptionSpec(StructuralEquivalenceContext & Context,const FunctionProtoType * Proto1,const FunctionProtoType * Proto2) IsEquivalentExceptionSpec() argument
803 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,QualType T1,QualType T2) IsStructurallyEquivalent() argument
1408 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,VarDecl * D1,VarDecl * D2) IsStructurallyEquivalent() argument
1430 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FieldDecl * Field1,FieldDecl * Field2,QualType Owner2Type) IsStructurallyEquivalent() argument
1485 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FieldDecl * Field1,FieldDecl * Field2) IsStructurallyEquivalent() argument
1493 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,CXXMethodDecl * Method1,CXXMethodDecl * Method2) IsStructurallyEquivalent() argument
1548 IsStructurallyEquivalentLambdas(StructuralEquivalenceContext & Context,CXXRecordDecl * D1,CXXRecordDecl * D2) IsStructurallyEquivalentLambdas() argument
1561 IsRecordContextStructurallyEquivalent(StructuralEquivalenceContext & Context,RecordDecl * D1,RecordDecl * D2) IsRecordContextStructurallyEquivalent() argument
1614 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,RecordDecl * D1,RecordDecl * D2) IsStructurallyEquivalent() argument
1857 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,EnumConstantDecl * D1,EnumConstantDecl * D2) IsStructurallyEquivalent() argument
1878 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,EnumDecl * D1,EnumDecl * D2) IsStructurallyEquivalent() argument
1942 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,TemplateParameterList * Params1,TemplateParameterList * Params2) IsStructurallyEquivalent() argument
1977 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,TemplateTypeParmDecl * D1,TemplateTypeParmDecl * D2) IsStructurallyEquivalent() argument
1995 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,NonTypeTemplateParmDecl * D1,NonTypeTemplateParmDecl * D2) IsStructurallyEquivalent() argument
2029 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,TemplateTemplateParmDecl * D1,TemplateTemplateParmDecl * D2) IsStructurallyEquivalent() argument
2060 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ClassTemplateDecl * D1,ClassTemplateDecl * D2) IsStructurallyEquivalent() argument
2072 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FunctionTemplateDecl * D1,FunctionTemplateDecl * D2) IsStructurallyEquivalent() argument
2084 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,TypeAliasTemplateDecl * D1,TypeAliasTemplateDecl * D2) IsStructurallyEquivalent() argument
2096 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ConceptDecl * D1,ConceptDecl * D2) IsStructurallyEquivalent() argument
2108 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FriendDecl * D1,FriendDecl * D2) IsStructurallyEquivalent() argument
2124 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,TypedefNameDecl * D1,TypedefNameDecl * D2) IsStructurallyEquivalent() argument
2133 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,FunctionDecl * D1,FunctionDecl * D2) IsStructurallyEquivalent() argument
2152 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ObjCIvarDecl * D1,ObjCIvarDecl * D2,QualType Owner2Type) IsStructurallyEquivalent() argument
2162 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ObjCIvarDecl * D1,ObjCIvarDecl * D2) IsStructurallyEquivalent() argument
2169 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ObjCMethodDecl * Method1,ObjCMethodDecl * Method2) IsStructurallyEquivalent() argument
2215 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,ObjCCategoryDecl * D1,ObjCCategoryDecl * D2) IsStructurallyEquivalent() argument
2279 IsStructurallyEquivalent(StructuralEquivalenceContext & Context,Decl * D1,Decl * D2) IsStructurallyEquivalent() argument
2324 ASTContext &Context = Anon->getASTContext(); findUntaggedStructOrUnionIndex() local
[all...]
/llvm-project/llvm/unittests/tools/llvm-profgen/
H A DContextCompressionTest.cpp16 SmallVector<std::string, 16> Context = {"a", "b", "c", "a", "b", "c"}; in TEST() local
23 SmallVector<std::string, 16> Context = {"m", "a", "a", "b", "c", "a", in TEST() local
31 SmallVector<std::string, 16> Context = {"m", "a", "a", "b", "c", "a", in TEST() local
/llvm-project/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp30 std::unique_ptr<Module> parseAssembly(LLVMContext &Context, in parseAssembly() argument
52 static std::unique_ptr<Module> getLazyModuleFromAssembly(LLVMContext &Context, in getLazyModuleFromAssembly() argument
66 LLVMContext Context; in TEST() local
130 LLVMContext Context; in TEST() local
160 LLVMContext Context; in TEST() local
194 LLVMContext Context; TEST() local
209 LLVMContext Context; TEST() local
236 LLVMContext Context; TEST() local
307 getTypeMetadataEntry(unsigned TypeID,LLVMContext & Context,GetTypeByIDTy GetTypeByID,GetContainedTypeIDTy GetContainedTypeID) getTypeMetadataEntry() argument
350 LLVMContext Context; TEST() local
394 LLVMContext Context; TEST() local
[all...]
/llvm-project/clang-tools-extra/clang-tidy/utils/
H A DFixItHintUtils.cpp19 changeVarDeclToReference(const VarDecl & Var,ASTContext & Context) changeVarDeclToReference() argument
45 skipLParensBackwards(SourceLocation Start,const ASTContext & Context) skipLParensBackwards() argument
85 changeValue(const VarDecl & Var,DeclSpec::TQ Qualifier,QualifierTarget QualTarget,QualifierPolicy QualPolicy,const ASTContext & Context) changeValue() argument
103 changePointerItself(const VarDecl & Var,DeclSpec::TQ Qualifier,const ASTContext & Context) changePointerItself() argument
117 changePointer(const VarDecl & Var,DeclSpec::TQ Qualifier,const Type * Pointee,QualifierTarget QualTarget,QualifierPolicy QualPolicy,const ASTContext & Context) changePointer() argument
168 changeReferencee(const VarDecl & Var,DeclSpec::TQ Qualifier,QualType Pointee,QualifierTarget QualTarget,QualifierPolicy QualPolicy,const ASTContext & Context) changeReferencee() argument
185 addQualifierToVarDecl(const VarDecl & Var,const ASTContext & Context,DeclSpec::TQ Qualifier,QualifierTarget QualTarget,QualifierPolicy QualPolicy) addQualifierToVarDecl() argument
279 formatDereference(const Expr & ExprNode,const ASTContext & Context) formatDereference() argument
[all...]
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h300 struct Context { struct
383 extern Context *ctx; // The one and the only global runtime context. argument
303 initializedContext global() argument
305 after_multithreaded_forkContext global() argument
308 metamapContext global() argument
310 report_mtxContext global() argument
311 nreportedContext global() argument
312 last_symbolize_time_nsContext global() argument
314 background_threadContext global() argument
315 stop_background_threadContext global() argument
317 thread_registryContext global() argument
352 last_spurious_raceContext global() argument
354 racy_mtxContext global() argument
355 racy_stacksContext global() argument
357 fired_suppressions_mtxContext global() argument
358 fired_suppressionsContext global() argument
359 ddContext global() argument
/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h85 clang::ASTContext * const Context; member
194 template <typename T> void match(const T &Node, ASTContext &Context) { in match()
303 ASTContext &Context) { in match()
313 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) { in match()
319 match(MatcherT Matcher, ASTContext &Context) { in match()
329 ASTContext &Context) { in matchDynamic()
340 ASTContext &Context) { in matchDynamic()
345 matchDynamic(internal::DynTypedMatcher Matcher, ASTContext &Context) { in matchDynamic()
/llvm-project/llvm/unittests/IR/
H A DConstantsTest.cpp25 LLVMContext Context; in TEST() local
97 LLVMContext Context; in TEST() local
180 std::unique_ptr<Module> M(new Module("MyModule", Context)); in TEST() local
247 LLVMContext Context; TEST() local
267 LLVMContext Context; TEST() local
292 LLVMContext Context; TEST() local
315 LLVMContext Context; TEST() local
340 LLVMContext Context; TEST() local
361 LLVMContext Context; TEST() local
389 LLVMContext Context; TEST() local
415 LLVMContext Context; TEST() local
431 foldFuncPtrAndConstToNull(LLVMContext & Context,Module * TheModule,uint64_t AndValue,MaybeAlign FunctionAlign=std::nullopt) foldFuncPtrAndConstToNull() argument
460 LLVMContext Context; TEST() local
471 LLVMContext Context; TEST() local
477 LLVMContext Context; TEST() local
490 LLVMContext Context; TEST() local
501 LLVMContext Context; TEST() local
508 LLVMContext Context; TEST() local
515 LLVMContext Context; TEST() local
522 LLVMContext Context; TEST() local
544 LLVMContext Context; TEST() local
582 LLVMContext Context; TEST() local
661 LLVMContext Context; TEST() local
704 LLVMContext Context; TEST() local
733 LLVMContext Context; TEST() local
770 LLVMContext Context; TEST() local
[all...]
H A DModuleTest.cpp34 LLVMContext Context; TEST() local
54 LLVMContext Context; TEST() local
78 LLVMContext Context; TEST() local
91 LLVMContext Context; TEST() local
126 LLVMContext Context; TEST() local
163 LLVMContext Context; TEST() local
180 LLVMContext Context; TEST() local
220 LLVMContext Context; TEST() local
260 LLVMContext Context; TEST() local
294 LLVMContext Context; TEST() local
[all...]
/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp21 LLVMContext &Context = LLVMTy->getContext(); changeExtendedTypeToInteger() local
27 LLVMContext &Context = LLVMTy->getContext(); changeExtendedVectorElementTypeToInteger() local
34 LLVMContext &Context = LLVMTy->getContext(); changeExtendedVectorElementType() local
38 getExtendedIntegerVT(LLVMContext & Context,unsigned BitWidth) getExtendedIntegerVT() argument
45 getExtendedVectorVT(LLVMContext & Context,EVT VT,unsigned NumElements,bool IsScalable) getExtendedVectorVT() argument
54 getExtendedVectorVT(LLVMContext & Context,EVT VT,ElementCount EC) getExtendedVectorVT() argument
[all...]

12345678910>>...51