Home
last modified time | relevance | path

Searched full:context (Results 1 – 25 of 4363) sorted by relevance

12345678910>>...175

/llvm-project/mlir/python/mlir/
H A Dir.py25 def _affineMapAttr(x, context):
30 def _integerSetAttr(x, context):
35 def _boolAttr(x, context):
36 return BoolAttr.get(x, context=context) argument
40 def _dictAttr(x, context):
41 return DictAttr.get(x, context=context) argument
45 def _indexAttr(x, context):
46 return IntegerAttr.get(IndexType.get(context argument
21 _affineMapAttr(x, context) global() argument
26 _boolAttr(x, context) global() argument
31 _dictAttr(x, context) global() argument
51 _i16Attr(x, context) global() argument
56 _i32Attr(x, context) global() argument
61 _i64Attr(x, context) global() argument
66 _si1Attr(x, context) global() argument
71 _si8Attr(x, context) global() argument
76 _si16Attr(x, context) global() argument
81 _si32Attr(x, context) global() argument
86 _si64Attr(x, context) global() argument
91 _ui1Attr(x, context) global() argument
96 _ui8Attr(x, context) global() argument
101 _ui16Attr(x, context) global() argument
106 _ui32Attr(x, context) global() argument
111 _ui64Attr(x, context) global() argument
116 _f32Attr(x, context) global() argument
121 _f64Attr(x, context) global() argument
126 _stringAttr(x, context) global() argument
131 _symbolNameAttr(x, context) global() argument
136 _symbolRefAttr(x, context) global() argument
144 _flatSymbolRefAttr(x, context) global() argument
149 _unitAttr(x, context) global() argument
157 _arrayAttr(x, context) global() argument
162 _affineMapArrayAttr(x, context) global() argument
167 _boolArrayAttr(x, context) global() argument
172 _dictArrayAttr(x, context) global() argument
177 _flatSymbolRefArrayAttr(x, context) global() argument
182 _i32ArrayAttr(x, context) global() argument
187 _i64ArrayAttr(x, context) global() argument
192 _i64SmallVectorArrayAttr(x, context) global() argument
197 _indexListArrayAttr(x, context) global() argument
202 _f32ArrayAttr(x, context) global() argument
207 _f64ArrayAttr(x, context) global() argument
212 _strArrayAttr(x, context) global() argument
217 _symbolRefArrayAttr(x, context) global() argument
222 _denseF32ArrayAttr(x, context) global() argument
227 _denseF64ArrayAttr(x, context) global() argument
232 _denseI8ArrayAttr(x, context) global() argument
237 _denseI16ArrayAttr(x, context) global() argument
242 _denseI32ArrayAttr(x, context) global() argument
247 _denseI64ArrayAttr(x, context) global() argument
252 _denseBoolArrayAttr(x, context) global() argument
257 _typeAttr(x, context) global() argument
262 _typeArrayAttr(x, context) global() argument
267 _memref_type_attr(x, context) global() argument
275 _f64ElementsAttr(x, context) global() argument
283 _i32ElementsAttr(x, context) global() argument
291 _i64ElementsAttr(x, context) global() argument
299 _indexElementsAttr(x, context) global() argument
[all...]
/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp44 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler()
46 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
49 /// Wrapper for Z3 context
53 Z3_context Context;
56 Context = Z3_mk_context_rc(Config.Config); in Z3Context()
57 // The error function is set here because the context is the first object in Z3Context()
59 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
68 Z3_del_context(Context); in ~Z3Context()
69 Context = nullptr; in ~Z3Context()
77 Z3Context &Context;
43 Z3ErrorHandler(Z3_context Context,Z3_error_code Error) Z3ErrorHandler() argument
52 Z3_context Context; global() member in __anon26d512570111::Z3Context
76 Z3Context &Context; global() member in __anon26d512570111::Z3Sort
151 Z3Context &Context; global() member in __anon26d512570111::Z3Expr
208 Z3Context &Context; global() member in __anon26d512570111::Z3Model
267 Z3Context Context; global() member in __anon26d512570111::Z3Solver
[all...]
/llvm-project/mlir/unittests/Dialect/Utils/
H A DStructuredOpsUtilsTest.cpp22 MLIRContext context; in TEST() local
25 bindDims(&context, m, n, k); in TEST()
26 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {m, k}, &context)); in TEST()
27 auto mapB = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST()
28 auto mapC = AffineMapAttr::get(AffineMap::get(3, 0, {m, n}, &context)); in TEST()
29 auto maps = ArrayAttr::get(&context, {mapA, mapB, mapC}); in TEST()
35 MLIRContext context; in TEST() local
38 bindDims(&context, k, m, n); // bind in different order in TEST()
39 auto mapA = AffineMapAttr::get(AffineMap::get(3, 0, {m, k}, &context)); in TEST()
40 auto mapB = AffineMapAttr::get(AffineMap::get(3, 0, {k, n}, &context)); in TEST()
[all …]
/llvm-project/libcxx/test/std/utilities/format/format.arguments/format.arg/
H A Dvisit_format_arg.pass.cpp14 // template<class Visitor, class Context>
15 // see below visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg); // Deprecated in C++26
32 template <class Context, class To, class From> in test()
34 auto store = std::make_format_args<Context>(value); in test()
35 std::basic_format_args<Context> format_args{store}; in test()
58 template <class Context, class T> in test_handle()
60 auto store = std::make_format_args<Context>(value); in test_handle()
61 std::basic_format_args<Context> format_args{store}; in test_handle()
67 [](auto a) { assert((std::is_same_v<decltype(a), typename std::basic_format_arg<Context>::handle>)); }, in test_handle()
75 template <class Context, clas
102 using Context = std::basic_format_context<CharT*, CharT>; test() typedef
[all...]
H A Dvisit.pass.cpp31 template <class Context, class To, class From>
33 auto store = std::make_format_args<Context>(value); in test()
34 std::basic_format_args<Context> format_args{store}; in test()
55 template <class Context, class T>
57 auto store = std::make_format_args<Context>(value); in test_handle()
58 std::basic_format_args<Context> format_args{store}; in test_handle()
64 assert((std::is_same_v<decltype(a), typename std::basic_format_arg<Context>::handle>)); in test_handle()
72 template <class Context, class From>
74 auto store = std::make_format_args<Context>(value); in test_string_view()
75 std::basic_format_args<Context> format_arg in test_string_view()
99 using Context = std::basic_format_context<CharT*, CharT>; test() typedef
[all...]
H A Dvisit.return_type.pass.cpp46 template <class Context, class To, class ExpectedR, class From>
48 auto store = std::make_format_args<Context>(value); in test()
49 std::basic_format_args<Context> format_args{store}; in test()
73 template <class Context, class T, class ExpectedR>
75 auto store = std::make_format_args<Context>(value); in test_handle()
76 std::basic_format_args<Context> format_args{store}; in test_handle()
82 assert((std::is_same_v<decltype(a), typename std::basic_format_arg<Context>::handle>)); in test_handle()
94 template <class Context, class ExpectedR, class From>
96 auto store = std::make_format_args<Context>(value); in test_string_view()
97 std::basic_format_args<Context> format_arg in test_string_view()
122 using Context = std::basic_format_context<CharT*, CharT>; test() typedef
[all...]
/llvm-project/lldb/unittests/Process/minidump/
H A DRegisterContextMinidumpTest.cpp30 MinidumpContext_x86_32 Context; in TEST() local
31 Context.context_flags = in TEST()
36 Context.eax = 0x00010203; in TEST()
37 Context.ebx = 0x04050607; in TEST()
38 Context.ecx = 0x08090a0b; in TEST()
39 Context.edx = 0x0c0d0e0f; in TEST()
40 Context.edi = 0x10111213; in TEST()
41 Context.esi = 0x14151617; in TEST()
42 Context.ebp = 0x18191a1b; in TEST()
43 Context.esp = 0x1c1d1e1f; in TEST()
[all …]
/llvm-project/libcxx/test/std/utilities/format/format.arguments/format.args/
H A Dget.pass.cpp14 // basic_format_arg<Context> get(size_t i) const noexcept;
24 template <class Context, class To, class From> in test()
26 auto store = std::make_format_args<Context>(value); in test()
27 const std::basic_format_args<Context> format_args{store}; in test()
44 template <class Context, class T> in test_handle()
46 auto store = std::make_format_args<Context>(value); in test_handle()
47 std::basic_format_args<Context> format_args{store}; in test_handle()
49 auto visitor = [](auto a) { assert((std::is_same_v<decltype(a), typename std::basic_format_arg<Context>::handle>)); }; in test_handle()
61 template <class Context, class From> in test_string_view()
63 auto store = std::make_format_args<Context>(valu in test_string_view()
84 using Context = std::basic_format_context<CharT*, CharT>; test() typedef
[all...]
/llvm-project/clang/test/OpenMP/
H A Ddeclare_variant_messages.cpp24 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
25 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
26context set name "implementation"; '=' assumed}} expected-warning {{expected '{' after the '=' tha…
27context set name "implementation"; '{' assumed}} expected-warning {{expected identifier or string …
28context set name "implementation"; '{' assumed}} expected-warning {{'yyy' is not a valid context s…
29context set name "implementation"; '{' assumed}} expected-warning {{'yyy' is not a valid context s…
30context selector; selector skipped}} expected-warning {{expected '}' after the context selectors f…
31 …ted identifier or string literal describing a context selector; selector skipped}} expected-note {…
32context selector for the context set 'implementation'; selector ignored}} expected-warning {{'vvv'…
33 …ning {{'vvv' is not a valid context selector for the context set 'implementation'; selector ignore…
[all …]
H A Dbegin_declare_variant_messages.c35 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
37 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
39 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
41 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
43 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
45context set in a `declare variant`; set ignored}} expected-warning {{extra tokens at the end of '#…
47 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
49 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
51 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
53 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
[all …]
H A Ddeclare_variant_messages.c19 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
20 …expected identifier or string literal describing a context set; set skipped}} expected-note {{cont…
21 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
22 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
23 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
24 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
25 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
26 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
27 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
28 …expected-warning {{'xxx' is not a valid context set in a `declare variant`; set ignored}} expected…
[all …]
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DDataflowAnalysisContextTest.cpp23 : Context(std::make_unique<WatchedLiteralsSolver>()), A(Context.arena()) { in DataflowAnalysisContextTest()
26 DataflowAnalysisContext Context; member in __anondd45ead80111::DataflowAnalysisContextTest
33 EXPECT_FALSE(Context.equivalentFormulas(X.formula(), Y.formula())); in TEST_F()
38 EXPECT_TRUE(Context.flowConditionImplies(FC, A.makeLiteral(true))); in TEST_F()
39 EXPECT_FALSE(Context.flowConditionImplies(FC, A.makeLiteral(false))); in TEST_F()
40 EXPECT_FALSE(Context.flowConditionImplies(FC, A.makeAtomRef(A.makeAtom()))); in TEST_F()
45 EXPECT_TRUE(Context.flowConditionAllows(FC, A.makeLiteral(true))); in TEST_F()
46 EXPECT_FALSE(Context.flowConditionAllows(FC, A.makeLiteral(false))); in TEST_F()
47 EXPECT_TRUE(Context.flowConditionAllows(FC, A.makeAtomRef(A.makeAtom()))); in TEST_F()
52 Context.addFlowConditionConstraint(FC, A.makeLiteral(false)); in TEST_F()
[all …]
/llvm-project/clang-tools-extra/clangd/support/
H A DContext.h1 //===--- Context.h - Mechanism for passing implicit data --------*- C++-*-===//
9 // Context for storing and retrieving implicit data. Useful for passing implicit
25 /// Values in a Context are indexed by typed keys.
27 /// - it provides a lookup key for the context (each Key is unique),
34 /// Context Ctx = Context::empty().derive(RequestID, 10).derive(Version, 3);
53 /// A context is an immutable container for per-request data that must be
57 /// Conceptually, a context is a heterogeneous map<Key<T>, T>. Each key has
60 /// There is an "ambient" context for each thread, Context::current().
62 /// WithContext to extend or replace the context within a block scope.
64 /// other Context objects.
[all …]
/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp41 // static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
51 // IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1,
98 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
100 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
102 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
104 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
107 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
110 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
116 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, in IsStructurallyEquivalent() argument
131 return IsStructurallyEquivalent(Context, Name in IsStructurallyEquivalent()
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/clang/include/clang/AST/
H A DASTImporter.h10 // context into another context.
60 /// Imports selected nodes from one AST context into another context,
218 /// Whether the last diagnostic came from the "from" context.
221 /// Mapping from the already-imported types in the "from" context
222 /// to the corresponding types in the "to" context.
226 /// context to the corresponding declarations in the "to" context.
230 /// context t
[all...]
/llvm-project/flang/include/flang/Optimizer/Builder/Runtime/
H A DRTBuilder.h60 return [](mlir::MLIRContext *context) -> mlir::Type { \
62 auto refTy = fir::ReferenceType::get(f(context)); \
63 return mlir::FunctionType::get(context, {refTy, refTy}, refTy); \
71 return [](mlir::MLIRContext *context) -> mlir::Type { \
73 auto refTy = fir::ReferenceType::get(f(context)); \
74 return mlir::FunctionType::get(context, {f(context), f(context)}, \
83 return [](mlir::MLIRContext *context) -> mlir::Type { \
86 context, mli
[all...]
/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_x86_64.cpp19 static llvm::MutableArrayRef<uint8_t> getDestRegister(uint8_t *context, in getDestRegister() argument
21 auto bytes = reg.mutable_data(context); in getDestRegister()
41 static void writeRegister(const void *reg_src, uint8_t *context, in writeRegister() argument
43 llvm::MutableArrayRef<uint8_t> reg_dest = getDestRegister(context, reg); in writeRegister()
51 static void writeBaseRegister(const void *reg_src, uint8_t *context, in ConvertMinidumpContext_x86_64()
53 auto bytes = reg.mutable_data(context); in ConvertMinidumpContext_x86_64()
71 const MinidumpContext_x86_64 *context; in ConvertMinidumpContext_x86_64()
72 consumeObject(source_data, context); in ConvertMinidumpContext_x86_64()
76 static_cast<uint32_t>(context->context_flags)); in ConvertMinidumpContext_x86_64()
87 writeRegister(&context in ConvertMinidumpContext_x86_64()
60 const MinidumpContext_x86_64 *context; ConvertMinidumpContext_x86_64() local
[all...]
/llvm-project/llvm/unittests/IR/
H A DMetadataTest.cpp31 LLVMContext Context; in TEST() local
32 ContextAndReplaceableUses CRU(Context); in TEST()
33 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
39 LLVMContext Context; in TEST() local
40 ContextAndReplaceableUses CRU(std::make_unique<ReplaceableMetadataImpl>(Context)); in TEST()
41 EXPECT_EQ(&Context, &CRU.getContext()); in TEST()
47 LLVMContext Context; in TEST() local
48 ContextAndReplaceableUses CRU(Context); in TEST()
49 CRU.makeReplaceable(std::make_unique<ReplaceableMetadataImpl>(Context)); in TEST()
50 EXPECT_EQ(&Context, in TEST()
56 LLVMContext Context; TEST() local
72 LLVMContext Context; global() member in __anon4a99ddaa0111::MetadataTest
4587 LLVMContext Context; TEST() local
[all...]
H A DDebugTypeODRUniquingTest.cpp18 LLVMContext Context; in TEST() local
19 EXPECT_FALSE(Context.isODRUniquingDebugTypes()); in TEST()
20 Context.enableDebugTypeODRUniquing(); in TEST()
21 EXPECT_TRUE(Context.isODRUniquingDebugTypes()); in TEST()
22 Context.disableDebugTypeODRUniquing(); in TEST()
23 EXPECT_FALSE(Context.isODRUniquingDebugTypes()); in TEST()
27 LLVMContext Context; in TEST() local
28 MDString &UUID = *MDString::get(Context, "string"); in TEST()
32 Context, UUID, dwarf::DW_TAG_class_type, nullptr, nullptr, 0, nullptr, in TEST()
37 Context in TEST()
72 LLVMContext Context; TEST() local
120 LLVMContext Context; TEST() local
[all...]
/llvm-project/clang/unittests/StaticAnalyzer/
H A DSValTest.cpp89 virtual void test(ExprEngine &Engine, const ASTContext &Context) const = 0;
96 const ASTContext &Context) { in expectSameSignAndBitWidth() argument
99 EXPECT_EQ(Context.getTypeSize(ExpectedTy), Context.getTypeSize(ActualTy)); in expectSameSignAndBitWidth()
137 void test(ExprEngine &Engine, const ASTContext &Context) const override; \
154 const ASTContext &Context) const
167 ASSERT_FALSE(X.getType(Context).isNull());
168 EXPECT_EQ(Context.IntTy, X.getType(Context));
171 ASSERT_FALSE(Y.getType(Context).isNull());
172 expectSameSignAndBitWidth(Context.getUIntPtrType(), Y.getType(Context),
173 Context);
[all …]
/llvm-project/llvm/test/tools/llvm-profgen/
H A Dmerge-cold-profile.test9 ; Test --csprof-merge-cold-context=0
10 …compress-recursion=-1 --profile-summary-hot-count=10 --csprof-merge-cold-context=0 --csspgo-preinl…
13 ; Test --csprof-frame-depth-for-cold-context
14 … --profile-summary-hot-count=100 --trim-cold-profile=0 --csprof-max-cold-context-depth=2 --csspgo-…
15 ; RUN: FileCheck %s --input-file %t2 --check-prefix=CHECK-COLD-CONTEXT-LENGTH
64 ; CHECK-COLD-CONTEXT-LENGTH: [fb:5 @ fb]:13:4
65 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 1: 4
66 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 2: 3
67 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 3: 1
68 ; CHECK-COLD-CONTEXT-LENGTH-NEXT: 4: 0
[all …]
/llvm-project/flang/lib/Evaluate/
H A Dfold-real.cpp17 FunctionRef<T> &&funcRef, FoldingContext &context) { in FoldTransformationalBessel() argument
24 context, funcRef.arguments(), /*hasOptionalArgument=*/false)}) { in FoldTransformationalBessel()
34 results.emplace_back((*elementalBessel)(context, Scalar<Int4>{i}, x)); in FoldTransformationalBessel()
38 } else if (context.languageFeatures().ShouldWarn( in FoldTransformationalBessel()
40 context.messages().Say(common::UsageWarning::FoldingFailure, in FoldTransformationalBessel()
117 static Expr<Type<TypeCategory::Real, KIND>> FoldNorm2(FoldingContext &context, in FoldNorm2() argument
123 ProcessReductionArgs<T>(context, funcRef.arguments(), dim, in FoldNorm2()
126 RelationalOperator::GT, context, arrayAndMask->array}; in FoldNorm2()
131 context.targetCharacteristics().roundingMode()}; in FoldNorm2()
135 context in FoldNorm2()
147 FoldIntrinsicFunction(FoldingContext & context,FunctionRef<Type<TypeCategory::Real,KIND>> && funcRef) FoldIntrinsicFunction() argument
[all...]
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/
H A DMain.py28 def _output_bug_report_message(context): argument
32 context.o.red(
78 def _set_auto_highlights(context): argument
80 context.o.auto_reds.extend(
87 context.o.auto_yellows.extend(
96 def _get_options_and_args(context): argument
98 parser = argparse.ExtArgumentParser(context, add_help=False)
141 def tool_main(context, tool, args):
146 Timer.fn = context.o.blue
147 context
143 tool_main(context, tool, args) global() argument
180 class Context(object): global() class
[all...]
/llvm-project/clang/test/Sema/
H A Dattr-swiftcall.c8 #define CONTEXT __attribute__((swift_context)) macro
32 void error_result_bad_type(CONTEXT void *context, ERROR_RESULT int error) SWIFTCALL; // expected-er…
33 void error_result_bad_type2(CONTEXT void *context, ERROR_RESULT int *error) SWIFTCALL; // expected-…
34 void error_result_okay(int a, int b, CONTEXT void *context, ERROR_RESULT void **error) SWIFTCALL;
35 void error_result_okay2(CONTEXT void *context, ERROR_RESULT void **error, void *selfType, char **se…
37 void context_nonswift(CONTEXT void *context); // expected-error {{'swift_context' parameter can onl…
38 void context_bad_type(CONTEXT int context) SWIFTCALL; // expected-error {{'swift_context' parameter…
39 void context_okay(CONTEXT void *context) SWIFTCALL;
40 void context_okay2(CONTEXT void *context, void *selfType, char **selfWitnessTable) SWIFTCALL;
41 void context_okay_async(CONTEXT void *context) SWIFTASYNCCALL;
[all …]
/llvm-project/mlir/unittests/IR/
H A DAttributeTest.cpp43 MLIRContext context; in TEST() local
44 IntegerType boolTy = IntegerType::get(&context, 1); in TEST()
65 MLIRContext context; in TEST() local
66 IntegerType boolTy = IntegerType::get(&context, 1); in TEST()
80 MLIRContext context; in TEST() local
81 Builder builder(&context); in TEST()
96 MLIRContext context; in TEST() local
97 IntegerType boolTy = IntegerType::get(&context, 1); in TEST()
119 MLIRContext context; in TEST() local
120 IntegerType boolTy = IntegerType::get(&context, in TEST()
131 MLIRContext context; TEST() local
140 MLIRContext context; TEST() local
148 MLIRContext context; TEST() local
156 MLIRContext context; TEST() local
164 MLIRContext context; TEST() local
172 MLIRContext context; TEST() local
180 MLIRContext context; TEST() local
188 MLIRContext context; TEST() local
197 MLIRContext context; TEST() local
206 MLIRContext context; TEST() local
213 MLIRContext context; TEST() local
220 MLIRContext context; TEST() local
227 MLIRContext context; TEST() local
234 MLIRContext context; TEST() local
245 MLIRContext context; TEST() local
262 MLIRContext context; TEST() local
308 MLIRContext context; TEST() local
340 MLIRContext context; TEST() local
355 MLIRContext context; TEST() local
371 MLIRContext context; TEST() local
393 MLIRContext context; TEST() local
446 MLIRContext context; TEST() local
467 MLIRContext context; TEST() local
488 MLIRContext context; TEST() local
[all...]

12345678910>>...175