Home
last modified time | relevance | path

Searched defs:Ctx (Results 1 – 25 of 984) sorted by relevance

12345678910>>...40

/llvm-project/clang/unittests/Analysis/
H A DMacroExpansionContextTest.cpp70 auto Ctx = std::make_unique<MacroExpansionContext>(LangOpts); in getMacroExpansionContextFor() local
89 static std::string dumpExpandedTexts(const MacroExpansionContext &Ctx) { in dumpExpandedTexts()
96 static std::string dumpExpansionRanges(const MacroExpansionContext &Ctx) { in dumpExpansionRanges()
106 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
130 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
170 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
190 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
205 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
232 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
267 const auto Ctx = getMacroExpansionContextFor(R"code( in TEST_F() local
[all …]
/llvm-project/llvm/unittests/IR/
H A DStructuralHashTest.cpp37 std::unique_ptr<Module> M1 = parseIR(Ctx, ""); in TEST() local
30 LLVMContext Ctx; TEST() local
51 LLVMContext Ctx; TEST() local
68 LLVMContext Ctx; TEST() local
77 LLVMContext Ctx; TEST() local
84 LLVMContext Ctx; TEST() local
91 LLVMContext Ctx; TEST() local
99 LLVMContext Ctx; TEST() local
113 LLVMContext Ctx; TEST() local
127 LLVMContext Ctx; TEST() local
141 LLVMContext Ctx; TEST() local
160 LLVMContext Ctx; TEST() local
174 LLVMContext Ctx; TEST() local
192 LLVMContext Ctx; TEST() local
208 LLVMContext Ctx; TEST() local
220 LLVMContext Ctx; TEST() local
232 LLVMContext Ctx; TEST() local
[all...]
H A DMemoryModelRelaxationAnnotationsTest.cpp26 MMRAMetadata createFromMD(LLVMContext &Ctx, in createFromMD()
35 LLVMContext Ctx; in TEST() local
56 LLVMContext Ctx; in TEST() local
77 LLVMContext Ctx; in TEST() local
91 LLVMContext Ctx; in TEST() local
114 LLVMContext Ctx; in TEST() local
174 LLVMContext Ctx; in TEST() local
H A DManglerTest.cpp48 Module Mod("test", Ctx); in TEST() local
68 Module Mod("test", Ctx); in TEST() local
104 Module Mod("test", Ctx); in TEST() local
140 Module Mod("test", Ctx); in TEST() local
160 Module Mod("test", Ctx); in TEST() local
[all...]
/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZELFObjectWriter.cpp45 static unsigned getAbsoluteReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getAbsoluteReloc() argument
71 static unsigned getPCRelReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getPCRelReloc() argument
97 static unsigned getTLSLEReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLEReloc() argument
107 static unsigned getTLSLDOReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLDOReloc() argument
117 static unsigned getTLSLDMReloc(MCContext &Ctx, SMLo argument
128 getTLSGDReloc(MCContext & Ctx,SMLoc Loc,unsigned Kind) getTLSGDReloc() argument
139 getPLTReloc(MCContext & Ctx,SMLoc Loc,unsigned Kind) getPLTReloc() argument
150 getRelocType(MCContext & Ctx,const MCValue & Target,const MCFixup & Fixup,bool IsPCRel) const getRelocType() argument
[all...]
/llvm-project/compiler-rt/test/tsan/
H A Dcond_race.cpp8 struct Ctx { struct
15 Ctx *c = (Ctx*)p; in thr() argument
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DDebugSupportTest.cpp26 ConstraintContext Ctx; in TEST() local
34 ConstraintContext Ctx; in TEST() local
40 ConstraintContext Ctx; in TEST() local
48 ConstraintContext Ctx; in TEST() local
55 ConstraintContext Ctx; in TEST() local
62 ConstraintContext Ctx; in TEST() local
69 ConstraintContext Ctx; in TEST() local
76 ConstraintContext Ctx; in TEST() local
86 ConstraintContext Ctx; in TEST() local
99 ConstraintContext Ctx; in TEST() local
H A DSolverTest.h69 ConstraintContext Ctx; in TYPED_TEST_P() local
78 ConstraintContext Ctx; in TYPED_TEST_P() local
88 ConstraintContext Ctx; in TYPED_TEST_P() local
97 ConstraintContext Ctx; in TYPED_TEST_P() local
109 ConstraintContext Ctx; in TYPED_TEST_P() local
119 ConstraintContext Ctx; in TYPED_TEST_P() local
130 ConstraintContext Ctx; in TYPED_TEST_P() local
141 ConstraintContext Ctx; in TYPED_TEST_P() local
151 ConstraintContext Ctx; in TYPED_TEST_P() local
160 ConstraintContext Ctx; in TYPED_TEST_P() local
[all …]
/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRAsmBackend.cpp39 signed_width(unsigned Width,uint64_t Value,std::string Description,const MCFixup & Fixup,MCContext * Ctx=nullptr) signed_width() argument
59 unsigned_width(unsigned Width,uint64_t Value,std::string Description,const MCFixup & Fixup,MCContext * Ctx=nullptr) unsigned_width() argument
78 adjustBranch(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) adjustBranch() argument
89 adjustRelativeBranch(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) adjustRelativeBranch() argument
105 fixup_call(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_call() argument
121 fixup_7_pcrel(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_7_pcrel() argument
135 fixup_13_pcrel(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_13_pcrel() argument
148 fixup_6(const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_6() argument
160 fixup_6_adiw(const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_6_adiw() argument
171 fixup_port5(const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_port5() argument
184 fixup_port6(const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_port6() argument
195 fixup_lds_sts_16(const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup_lds_sts_16() argument
213 fixup(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) fixup() argument
223 lo8(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) lo8() argument
229 hi8(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) hi8() argument
235 hh8(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) hh8() argument
241 ms8(unsigned Size,const MCFixup & Fixup,uint64_t & Value,MCContext * Ctx=nullptr) ms8() argument
[all...]
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCExpr.h47 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) { in createUpper16()
51 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) { in createLower16()
55 static const ARMMCExpr *createUpper8_15(const MCExpr *Expr, MCContext &Ctx) { in createUpper8_15()
59 static const ARMMCExpr *createUpper0_7(const MCExpr *Expr, MCContext &Ctx) { in createUpper0_7()
63 static const ARMMCExpr *createLower8_15(const MCExpr *Expr, MCContext &Ctx) { in createLower8_15()
67 static const ARMMCExpr *createLower0_7(const MCExpr *Expr, MCContext &Ctx) { in createLower0_7()
H A DARMMachORelocationInfo.cpp21 ARMMachORelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {} in ARMMachORelocationInfo()
40 MCRelocationInfo *llvm::createARMMachORelocationInfo(MCContext &Ctx) { in createARMMachORelocationInfo()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h35 void checkPreCall(const CallEvent &CE, CheckerContext &Ctx) const { in checkPreCall()
41 void checkDeadSymbols(SymbolReaper &SymReaper, CheckerContext &Ctx) const { in checkDeadSymbols()
46 void dynamicInit(CheckerContext &Ctx) const { in dynamicInit()
/llvm-project/clang/unittests/AST/
H A DDeclTest.cpp82 ASTContext &Ctx = AST->getASTContext(); in TEST() local
123 ASTContext &Ctx = AST->getASTContext(); in TEST() local
152 ASTContext &Ctx = AST->getASTContext(); in TEST() local
165 ASTContext &Ctx = AST->getASTContext(); in TEST() local
183 ASTContext &Ctx = AST->getASTContext(); in TEST() local
208 ASTContext &Ctx = AST->getASTContext(); in TEST() local
243 ASTContext &Ctx = AST->getASTContext(); in TEST() local
273 ASTContext &Ctx = AST->getASTContext(); in TEST() local
295 ASTContext &Ctx = AST->getASTContext(); in TEST() local
324 ASTContext &Ctx = AST->getASTContext(); in TEST() local
[all …]
/llvm-project/clang/lib/AST/
H A DExprClassification.cpp37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { in ClassifyImpl() argument
108 ClassifyInternal(ASTContext & Ctx,const Expr * E) ClassifyInternal() argument
473 ClassifyDecl(ASTContext & Ctx,const Decl * D) ClassifyDecl() argument
506 ClassifyUnnamed(ASTContext & Ctx,QualType T) ClassifyUnnamed() argument
523 ClassifyMemberExpr(ASTContext & Ctx,const MemberExpr * E) ClassifyMemberExpr() argument
585 ClassifyBinaryOp(ASTContext & Ctx,const BinaryOperator * E) ClassifyBinaryOp() argument
620 ClassifyConditional(ASTContext & Ctx,const Expr * True,const Expr * False) ClassifyConditional() argument
652 IsModifiable(ASTContext & Ctx,const Expr * E,Cl::Kinds Kind,SourceLocation & Loc) IsModifiable() argument
725 isModifiableLvalue(ASTContext & Ctx,SourceLocation * Loc) const isModifiableLvalue() argument
[all...]
H A DQualTypeNames.cpp56 getFullyQualifiedTemplateName(const ASTContext & Ctx,TemplateName & TName,bool WithGlobalNsPrefix) getFullyQualifiedTemplateName() argument
95 getFullyQualifiedTemplateArgument(const ASTContext & Ctx,TemplateArgument & Arg,bool WithGlobalNsPrefix) getFullyQualifiedTemplateArgument() argument
121 getFullyQualifiedTemplateType(const ASTContext & Ctx,const Type * TypePtr,bool WithGlobalNsPrefix) getFullyQualifiedTemplateType() argument
189 createOuterNNS(const ASTContext & Ctx,const Decl * D,bool FullyQualify,bool WithGlobalNsPrefix) createOuterNNS() argument
215 getFullyQualifiedNestedNameSpecifier(const ASTContext & Ctx,NestedNameSpecifier * Scope,bool WithGlobalNsPrefix) getFullyQualifiedNestedNameSpecifier() argument
268 createNestedNameSpecifierForScopeOf(const ASTContext & Ctx,const Decl * Decl,bool FullyQualified,bool WithGlobalNsPrefix) createNestedNameSpecifierForScopeOf() argument
320 createNestedNameSpecifierForScopeOf(const ASTContext & Ctx,const Type * TypePtr,bool FullyQualified,bool WithGlobalNsPrefix) createNestedNameSpecifierForScopeOf() argument
342 createNestedNameSpecifier(const ASTContext & Ctx,const NamespaceDecl * Namespace,bool WithGlobalNsPrefix) createNestedNameSpecifier() argument
358 createNestedNameSpecifier(const ASTContext & Ctx,const TypeDecl * TD,bool FullyQualify,bool WithGlobalNsPrefix) createNestedNameSpecifier() argument
379 getFullyQualifiedType(QualType QT,const ASTContext & Ctx,bool WithGlobalNsPrefix) getFullyQualifiedType() argument
483 getFullyQualifiedName(QualType QT,const ASTContext & Ctx,const PrintingPolicy & Policy,bool WithGlobalNsPrefix) getFullyQualifiedName() argument
[all...]
/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp83 return *Ctx.Ptr++; in readUint8() argument
89 uint32_t Result = support::endian::read32le(Ctx.Ptr); in readUint32() argument
97 readFloat32(WasmObjectFile::ReadContext & Ctx) readFloat32() argument
106 readFloat64(WasmObjectFile::ReadContext & Ctx) readFloat64() argument
115 readULEB128(WasmObjectFile::ReadContext & Ctx) readULEB128() argument
125 readString(WasmObjectFile::ReadContext & Ctx) readString() argument
135 readLEB128(WasmObjectFile::ReadContext & Ctx) readLEB128() argument
145 readVaruint1(WasmObjectFile::ReadContext & Ctx) readVaruint1() argument
152 readVarint32(WasmObjectFile::ReadContext & Ctx) readVarint32() argument
159 readVaruint32(WasmObjectFile::ReadContext & Ctx) readVaruint32() argument
166 readVarint64(WasmObjectFile::ReadContext & Ctx) readVarint64() argument
170 readVaruint64(WasmObjectFile::ReadContext & Ctx) readVaruint64() argument
174 readOpcode(WasmObjectFile::ReadContext & Ctx) readOpcode() argument
178 parseValType(WasmObjectFile::ReadContext & Ctx,uint32_t Code) parseValType() argument
200 readInitExpr(wasm::WasmInitExpr & Expr,WasmObjectFile::ReadContext & Ctx) readInitExpr() argument
291 readLimits(WasmObjectFile::ReadContext & Ctx) readLimits() argument
300 readTableType(WasmObjectFile::ReadContext & Ctx) readTableType() argument
308 readSection(WasmSection & Section,WasmObjectFile::ReadContext & Ctx,WasmSectionOrderChecker & Checker) readSection() argument
358 ReadContext Ctx; WasmObjectFile() local
390 ReadContext Ctx; parseSection() local
429 parseDylinkSection(ReadContext & Ctx) parseDylinkSection() argument
448 parseDylink0Section(ReadContext & Ctx) parseDylink0Section() argument
507 parseNameSection(ReadContext & Ctx) parseNameSection() argument
614 parseLinkingSection(ReadContext & Ctx) parseLinkingSection() argument
683 parseLinkingSectionSymtab(ReadContext & Ctx) parseLinkingSectionSymtab() argument
894 parseLinkingSectionComdat(ReadContext & Ctx) parseLinkingSectionComdat() argument
950 parseProducersSection(ReadContext & Ctx) parseProducersSection() argument
991 parseTargetFeaturesSection(ReadContext & Ctx) parseTargetFeaturesSection() argument
1021 parseRelocSection(StringRef Name,ReadContext & Ctx) parseRelocSection() argument
1155 parseCustomSection(WasmSection & Sec,ReadContext & Ctx) parseCustomSection() argument
1181 parseTypeSection(ReadContext & Ctx) parseTypeSection() argument
1259 parseImportSection(ReadContext & Ctx) parseImportSection() argument
1320 parseFunctionSection(ReadContext & Ctx) parseFunctionSection() argument
1339 parseTableSection(ReadContext & Ctx) parseTableSection() argument
1363 parseMemorySection(ReadContext & Ctx) parseMemorySection() argument
1378 parseTagSection(ReadContext & Ctx) parseTagSection() argument
1404 parseGlobalSection(ReadContext & Ctx) parseGlobalSection() argument
1428 parseExportSection(ReadContext & Ctx) parseExportSection() argument
1582 parseStartSection(ReadContext & Ctx) parseStartSection() argument
1590 parseCodeSection(ReadContext & Ctx) parseCodeSection() argument
1636 parseElemSection(ReadContext & Ctx) parseElemSection() argument
1725 parseDataSection(ReadContext & Ctx) parseDataSection() argument
1767 parseDataCountSection(ReadContext & Ctx) parseDataCountSection() argument
[all...]
/llvm-project/clang-tools-extra/clangd/
H A DExpectedTypes.cpp21 static const Type *toEquivClass(ASTContext &Ctx, QualType T) { in toEquivClass()
65 std::optional<OpaqueType> OpaqueType::encode(ASTContext &Ctx, QualType T) { in encode()
79 std::optional<OpaqueType> OpaqueType::fromType(ASTContext &Ctx, QualType Type) { in fromType()
84 OpaqueType::fromCompletionResult(ASTContext &Ctx, in fromCompletionResult()
/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.h44 MCContext &Ctx; variable
65 MCContext &Ctx) { in createOr() argument
70 MCContext &Ctx) { in createMax() argument
83 createAlignTo(const MCExpr *Value, const MCExpr *Align, MCContext &Ctx) { in createAlignTo() argument
[all...]
H A DAMDGPUMCKernelDescriptor.cpp22 MCContext &Ctx) { in getDefaultAmdhsaKernelDescriptor() argument
84 bits_set(const MCExpr * & Dst,const MCExpr * Value,uint32_t Shift,uint32_t Mask,MCContext & Ctx) bits_set() argument
93 bits_get(const MCExpr * Src,uint32_t Shift,uint32_t Mask,MCContext & Ctx) bits_get() argument
[all...]
/llvm-project/llvm/unittests/AsmParser/
H A DAsmParserTest.cpp25 LLVMContext Ctx; TEST() local
38 LLVMContext Ctx; TEST() local
51 LLVMContext Ctx; TEST() local
70 LLVMContext Ctx; TEST() local
121 LLVMContext Ctx; TEST() local
157 LLVMContext Ctx; TEST() local
261 LLVMContext Ctx; TEST() local
380 LLVMContext Ctx; TEST() local
[all...]
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDieTest.cpp71 std::unique_ptr<DWARFContext> Ctx = TEST() local
173 std::unique_ptr<DWARFContext> Ctx = TEST() local
279 std::unique_ptr<DWARFContext> Ctx = TEST() local
384 std::unique_ptr<DWARFContext> Ctx = TEST() local
506 std::unique_ptr<DWARFContext> Ctx = TEST() local
628 std::unique_ptr<DWARFContext> Ctx = TEST() local
[all...]
/llvm-project/llvm/lib/MC/MCDisassembler/
H A DMCRelocationInfo.cpp15 MCRelocationInfo::MCRelocationInfo(MCContext &Ctx) : Ctx(Ctx) {} in MCRelocationInfo()
28 MCContext &Ctx) { in createMCRelocationInfo()
/llvm-project/clang/include/clang/Analysis/
H A DSelectorExtras.h17 static inline Selector getKeywordSelector(ASTContext &Ctx, in getKeywordSelector()
27 static inline void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, in lazyInitKeywordSelector()
/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.cpp26 LLVMContext &Ctx = Header->getContext(); in createLoopPropertiesMetadata() local
39 LLVMContext &Ctx = Header->getContext(); in createPipeliningMetadata() local
84 LLVMContext &Ctx = Header->getContext(); createPartialUnrollMetadata() local
146 LLVMContext &Ctx = Header->getContext(); createUnrollAndJamMetadata() local
214 LLVMContext &Ctx = Header->getContext(); createLoopVectorizeMetadata() local
332 LLVMContext &Ctx = Header->getContext(); createLoopDistributeMetadata() local
382 LLVMContext &Ctx = Header->getContext(); createFullUnrollMetadata() local
431 LLVMContext &Ctx = Header->getContext(); createMetadata() local
492 LLVMContext &Ctx = Header->getContext(); LoopInfo() local
520 LLVMContext &Ctx = Header->getContext(); finish() local
605 push(BasicBlock * Header,clang::ASTContext & Ctx,const clang::CodeGenOptions & CGOpts,ArrayRef<const clang::Attr * > Attrs,const llvm::DebugLoc & StartLoc,const llvm::DebugLoc & EndLoc,bool MustProgress) push() argument
[all...]
/llvm-project/lld/wasm/
H A DConfig.h120 struct Ctx { global() struct
121 objectFilesCtx global() argument
122 stubFilesCtx global() argument
123 sharedFilesCtx global() argument
124 bitcodeFilesCtx global() argument
148 whyExtractRecordsCtx global() argument

12345678910>>...40