| /llvm-project-15.0.7/llvm/test/Transforms/Coroutines/ |
| H A D | coro-async.ll | 13 declare void @my_other_async_function(i8* %async.ctxt) 51 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 58 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 89 …%callee_context.return_to_caller.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_c… 95 …%callee_context.caller_context.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_con… 217 …%callee_context.return_to_caller.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_c… 221 …%callee_context.caller_context.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_con… 262 ; CHECK: store i8* %async.ctxt, 268 ; CHECK: store i8* %async.ctxt, 300 ; CHECK: store i8* %ctxt [all …]
|
| H A D | coro-async-unreachable.ll | 9 %async.ctxt = type { i8*, void (i8*, %async.task*, %async.actor*)* } 13 declare void @my_other_async_function(i8* %async.ctxt) 16 define swiftcc void @my_async_function.my_other_async_function_fp.apply(i8* %fnPtr, i8* %async.ctxt… 18 tail call swiftcc void %callee(i8* %async.ctxt, %async.task* %task, %async.actor* %actor) 25 define i8* @resume_context_projection(i8* %ctxt) { 27 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 43 define swiftcc void @unreachable(i8* %async.ctxt, %async.task* %task, %async.actor* %actor) { 61 %callee_context.0 = bitcast i8* %callee_context to %async.ctxt* 63 …%callee_context.return_to_caller.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_c… 69 …%callee_context.caller_context.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_con… [all …]
|
| H A D | coro-async-dyn-align.ll | 9 %async.ctxt = type { i8*, void (i8*)* } 12 declare void @my_other_async_function(i8* %async.ctxt) 36 define swiftcc void @my_async_function.my_other_async_function_fp.apply(i8* %fnPtr, i8* %async.ctxt… 38 tail call swiftcc void %callee(i8* %async.ctxt) 42 define i8* @__swift_async_resume_project_context(i8* %ctxt) { 44 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 65 define swiftcc void @my_async_function(i8* swiftasync %async.ctxt) presplitcoroutine { 81 %callee_context.0 = bitcast i8* %callee_context to %async.ctxt* 82 …%callee_context.return_to_caller.addr = getelementptr inbounds %async.ctxt, %async.ctxt* %callee_c… 99 tail call swiftcc void @asyncReturn(i8* %async.ctxt)
|
| H A D | coro-async-addr-lifetime-infinite-loop-bug.ll | 9 %async.ctxt = type { i8*, void (i8*, %async.task*, %async.actor*)* } 13 declare void @my_other_async_function(i8* %async.ctxt) 25 define swiftcc void @my_other_async_function_fp.apply(i8* %fnPtr, i8* %async.ctxt) { 27 tail call swiftcc void %callee(i8* %async.ctxt) 33 define i8* @resume_context_projection(i8* %ctxt) { 35 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 42 ; CHECK: define swiftcc void @my_async_function(i8* swiftasync %async.ctxt) { 47 define swiftcc void @my_async_function(i8* swiftasync %async.ctxt) {
|
| H A D | coro-async-addr-lifetime-start-bug.ll | 9 %async.ctxt = type { i8*, void (i8*, %async.task*, %async.actor*)* } 13 declare void @my_other_async_function(i8* %async.ctxt) 25 define swiftcc void @my_other_async_function_fp.apply(i8* %fnPtr, i8* %async.ctxt) { 27 tail call swiftcc void %callee(i8* %async.ctxt) 34 define i8* @resume_context_projection(i8* %ctxt) { 36 %resume_ctxt_addr = bitcast i8* %ctxt to i8** 41 define swiftcc void @my_async_function(i8* swiftasync %async.ctxt) {
|
| /llvm-project-15.0.7/llvm/tools/llvm-diff/lib/ |
| H A D | DiffConsumer.cpp | 74 DiffContext &ctxt = contexts[N]; in printValue() local 75 if (!ctxt.IsFunction) continue; in printValue() 77 if (ctxt.LNumbering.empty()) in printValue() 78 ComputeNumbering(cast<Function>(ctxt.L), ctxt.LNumbering); in printValue() 79 out << '%' << ctxt.LNumbering[V]; in printValue() 82 if (ctxt.RNumbering.empty()) in printValue() 83 ComputeNumbering(cast<Function>(ctxt.R), ctxt.RNumbering); in printValue() 84 out << '%' << ctxt.RNumbering[V]; in printValue()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_mac.cpp | 97 extern "C" lsan_block_context_t *alloc_lsan_context(void *ctxt, in alloc_lsan_context() argument 102 lsan_ctxt->block = ctxt; in alloc_lsan_context() 111 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \ 113 lsan_block_context_t *lsan_ctxt = alloc_lsan_context(ctxt, func); \ 123 void *ctxt, dispatch_function_t func) { in INTERCEPT_DISPATCH_X_F_3() 124 lsan_block_context_t *lsan_ctxt = alloc_lsan_context(ctxt, func); in INTERCEPT_DISPATCH_X_F_3() 130 dispatch_queue_t dq, void *ctxt, dispatch_function_t func) { in INTERCEPTOR() argument 131 lsan_block_context_t *lsan_ctxt = alloc_lsan_context(ctxt, func); in INTERCEPTOR()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_mac.cpp | 183 asan_block_context_t *alloc_asan_context(void *ctxt, dispatch_function_t func, in alloc_asan_context() argument 187 asan_ctxt->block = ctxt; in alloc_asan_context() 196 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \ 199 asan_block_context_t *asan_ctxt = alloc_asan_context(ctxt, func, &stack); \ 214 dispatch_queue_t dq, void *ctxt, in INTERCEPT_DISPATCH_X_F_3() 217 asan_block_context_t *asan_ctxt = alloc_asan_context(ctxt, func, &stack); in INTERCEPT_DISPATCH_X_F_3() 227 dispatch_queue_t dq, void *ctxt, in INTERCEPTOR() argument 230 asan_block_context_t *asan_ctxt = alloc_asan_context(ctxt, func, &stack); in INTERCEPTOR()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIRAttr.cpp | 101 ClosedIntervalAttr fir::ClosedIntervalAttr::get(mlir::MLIRContext *ctxt) { in get() argument 102 return AttributeUniquer::get<ClosedIntervalAttr>(ctxt); in get() 105 UpperBoundAttr fir::UpperBoundAttr::get(mlir::MLIRContext *ctxt) { in get() argument 106 return AttributeUniquer::get<UpperBoundAttr>(ctxt); in get() 109 LowerBoundAttr fir::LowerBoundAttr::get(mlir::MLIRContext *ctxt) { in get() argument 110 return AttributeUniquer::get<LowerBoundAttr>(ctxt); in get() 113 PointIntervalAttr fir::PointIntervalAttr::get(mlir::MLIRContext *ctxt) { in get() argument 114 return AttributeUniquer::get<PointIntervalAttr>(ctxt); in get() 121 RealAttr fir::RealAttr::get(mlir::MLIRContext *ctxt, in get() argument 123 return Base::get(ctxt, key); in get()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIRAttr.h | 73 static ClosedIntervalAttr get(mlir::MLIRContext *ctxt); 87 static UpperBoundAttr get(mlir::MLIRContext *ctxt); 101 static LowerBoundAttr get(mlir::MLIRContext *ctxt); 115 static PointIntervalAttr get(mlir::MLIRContext *ctxt); 130 static RealAttr get(mlir::MLIRContext *ctxt, const ValueType &key);
|
| H A D | FIRTypes.td | 117 static CharacterType getUnknownLen(mlir::MLIRContext *ctxt, KindTy kind) { 118 return get(ctxt, kind, unknownLen()); 122 static CharacterType getSingleton(mlir::MLIRContext *ctxt, KindTy kind) { 123 return get(ctxt, kind, singleton());
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestTypeSystemClang.cpp | 715 QualType result(ctxt.IntTy); in makeConstInt() 721 clang::ASTContext &ctxt = m_ast->getASTContext(); in TEST_F() local 722 auto *nullptr_expr = new (ctxt) CXXNullPtrLiteralExpr(ctxt.NullPtrTy, SourceLocation()); in TEST_F() 723 QualType t = ctxt.getDecltypeType(nullptr_expr, makeConstInt(ctxt)); in TEST_F() 728 clang::ASTContext &ctxt = m_ast->getASTContext(); in TEST_F() local 729 QualType t = ctxt.getTypeOfType(makeConstInt(ctxt)); in TEST_F() 734 clang::ASTContext &ctxt = m_ast->getASTContext(); in TEST_F() local 735 auto *nullptr_expr = new (ctxt) CXXNullPtrLiteralExpr(ctxt.NullPtrTy, SourceLocation()); in TEST_F() 741 clang::ASTContext &ctxt = m_ast->getASTContext(); in TEST_F() local 742 QualType t_base = ctxt.getTypeOfType(makeConstInt(ctxt)); in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 53 static void makeScopes(Sema &sema, DeclContext *ctxt, in makeScopes() argument 58 if (auto parent = ctxt->getParent()) { in makeScopes() 63 scope->setEntity(ctxt); in makeScopes() 71 emulateLookupInCtxt(Sema &sema, llvm::StringRef name, DeclContext *ctxt) { in emulateLookupInCtxt() argument 83 makeScopes(sema, ctxt, scopes); in emulateLookupInCtxt()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | ConvertType.h | 63 mlir::Type getFIRType(mlir::MLIRContext *ctxt, common::TypeCategory tc, 84 mlir::Type convertReal(mlir::MLIRContext *ctxt, int KIND);
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | BugDriver.h | 65 unsigned memlimit, bool use_valgrind, LLVMContext &ctxt); 273 LLVMContext &ctxt);
|
| H A D | BugDriver.cpp | 79 unsigned memlimit, bool use_valgrind, LLVMContext &ctxt) in BugDriver() argument 80 : Context(ctxt), ToolName(toolname), ReferenceOutputFile(OutputFile), in BugDriver()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/Runtime/ |
| H A D | RTBuilder.h | 294 return [](mlir::MLIRContext *ctxt) { 297 mlir::Type retTy = ret(ctxt); 300 argTys.push_back(f(ctxt)); 301 return mlir::FunctionType::get(ctxt, argTys, {retTy});
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | Character.cpp | 191 static mlir::Type getSingletonCharType(mlir::MLIRContext *ctxt, int kind) { in getSingletonCharType() argument 192 return fir::CharacterType::getSingleton(ctxt, kind); in getSingletonCharType() 369 auto *ctxt = builder.getContext(); in createCharacterTemp() local 370 auto charTy = fir::CharacterType::get(ctxt, kind, typeLen); in createCharacterTemp()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | lto.h | 347 lto_codegen_diagnostic_severity_t severity, const char *diag, void *ctxt);
|
| /llvm-project-15.0.7/llvm/tools/lto/ |
| H A D | lto.cpp | 346 void *ctxt) { in lto_codegen_set_diagnostic_handler() argument 347 unwrap(cg)->setDiagnosticHandler(diag_handler, ctxt); in lto_codegen_set_diagnostic_handler()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | HostAssociations.cpp | 550 mlir::MLIRContext *ctxt = &converter.getMLIRContext(); in getArgumentType() local 555 argType = fir::ReferenceType::get(mlir::TupleType::get(ctxt, tupleTys)); in getArgumentType()
|
| H A D | CallInterface.cpp | 628 mlir::MLIRContext *ctxt = tupTy.getContext(); in appendHostAssocTupleArg() local 631 mlir::StringAttr::get(ctxt, fir::getHostAssocAttrName()), in appendHostAssocTupleArg() 632 mlir::UnitAttr::get(ctxt)}}); in appendHostAssocTupleArg()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | YAMLIOTest.cpp | 1056 static void output(const MyCustomType &value, void* ctxt, llvm::raw_ostream &out) { in output() 1059 static StringRef input(StringRef scalar, void* ctxt, MyCustomType &value) { in input() 1157 static void output(const MultilineStringType &value, void *ctxt, in output() 1161 static StringRef input(StringRef scalar, void *ctxt, in input()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinAttributes.td | 784 MLIRContext *ctxt = dialect->getContext(); 785 StringAttr dialectName = StringAttr::get(ctxt, dialect->getNamespace()); 786 return $_get(ctxt, dialectName, value, type);
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | CodeGen.cpp | 695 mlir::MLIRContext *ctxt = cmp.getContext(); in matchAndRewrite() local 699 auto pos0 = mlir::ArrayAttr::get(ctxt, rewriter.getI32IntegerAttr(0)); in matchAndRewrite() 707 auto pos1 = mlir::ArrayAttr::get(ctxt, rewriter.getI32IntegerAttr(1)); in matchAndRewrite() 3320 auto *ctxt = neg.getContext(); in matchAndRewrite() local 3325 auto c0 = mlir::ArrayAttr::get(ctxt, rewriter.getI32IntegerAttr(0)); in matchAndRewrite() 3326 auto c1 = mlir::ArrayAttr::get(ctxt, rewriter.getI32IntegerAttr(1)); in matchAndRewrite()
|