| /llvm-project-15.0.7/mlir/test/Dialect/Async/ |
| H A D | async-runtime-ref-counting-opt.mlir | 7 // CHECK-NOT: async.runtime.add_ref 8 // CHECK-NOT: async.runtime.drop_ref 17 // CHECK-NOT: async.runtime.add_ref 21 // CHECK-NOT: async.runtime.drop_ref 29 // CHECK: async.runtime.await 30 // CHECK-NEXT: async.runtime.await 31 // CHECK-NEXT: async.runtime.await 49 // CHECK-NOT: async.runtime.drop_ref 51 // CHECK: async.runtime.await 63 // CHECK: async.runtime.await [all …]
|
| H A D | runtime.mlir | 5 // CHECK: %0 = async.runtime.create : !async.token 6 %0 = async.runtime.create : !async.token 14 %0 = async.runtime.create : !async.value<f32> 46 async.runtime.set_error %arg0 : !async.token 81 async.runtime.await %arg0 : !async.token 88 async.runtime.await %arg0 : !async.value<f32> 95 async.runtime.await %arg0 : !async.group 125 // CHECK: async.runtime.resume %arg0 126 async.runtime.resume %arg0 133 async.runtime.store %arg0, %arg1 : <f32> [all …]
|
| H A D | async-to-async-runtime-eliminate-blocking.mlir | 18 %1 = async.runtime.create: !async.value<f32> 20 async.runtime.store %0, %1: !async.value<f32> 45 // CHECK: async.runtime.set_error %[[TOKEN]] 94 // CHECK: async.runtime.set_error %[[TOKEN]] 160 // CHECK: async.runtime.set_error %[[TOKEN]] 191 %r = async.runtime.create : !async.token 193 async.runtime.set_available %r: !async.token 237 %r = async.runtime.create : !async.token 239 async.runtime.set_available %r: !async.token 283 %r = async.runtime.create : !async.token [all …]
|
| H A D | async-runtime-ref-counting.mlir | 23 %0 = async.runtime.create : !async.token 47 %0 = async.runtime.create : !async.token 66 // CHECK: async.runtime.await %[[TOKEN]] 68 async.runtime.await %arg0 : !async.token 81 // CHECK-NOT: async.runtime.drop_ref 82 // CHECK-NOT: async.runtime.add_ref 88 async.runtime.resume %hdl 152 %0 = async.runtime.create : !async.token 156 async.runtime.resume %2 168 // CHECK: async.runtime.set_available [all …]
|
| H A D | async-runtime-policy-based-ref-counting.mlir | 6 // CHECK: async.runtime.await %[[TOKEN]] 7 // CHECK-NOT: async.runtime.drop_ref 8 async.runtime.await %arg0 : !async.token 15 // CHECK: async.runtime.await %[[GROUP]] 16 // CHECK-NOT: async.runtime.drop_ref 17 async.runtime.await %arg0 : !async.group 27 async.runtime.add_to_group %arg1, %arg0 : !async.token 34 // CHECK: async.runtime.load %[[VALUE]] 36 %0 = async.runtime.load %arg0 : !async.value<f32> 43 // CHECK: async.runtime.is_error %[[TOKEN]] [all …]
|
| H A D | async-to-async-runtime.mlir | 24 // Pass a suspended coroutine to the async runtime. 26 // CHECK: async.runtime.resume %[[HDL]] 33 // CHECK: async.runtime.set_available %[[TOKEN]] 62 // CHECK: async.runtime.await %[[TOKEN]] 80 // CHECK: async.runtime.resume %[[HDL]] 97 // CHECK: async.runtime.resume %[[HDL]] 158 // CHECK: async.runtime.resume %[[HDL]] 215 // CHECK: async.runtime.resume %[[HDL]] 262 // CHECK: async.runtime.resume %[[HDL]] 309 // CHECK: async.runtime.resume %[[HDL]] [all …]
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/ |
| H A D | Reduction.cpp | 27 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 43 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 60 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 76 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 92 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 109 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 125 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 141 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 158 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() 175 fir::runtime::getModel<const Fortran::runtime::Descriptor &>()(ctx); in getTypeModel() [all …]
|
| H A D | Numeric.cpp | 18 using namespace Fortran::runtime; 28 static constexpr fir::runtime::FuncTypeBuilderFunc getTypeModel() { in getTypeModel() 39 static constexpr fir::runtime::FuncTypeBuilderFunc getTypeModel() { in getTypeModel() 51 static constexpr fir::runtime::FuncTypeBuilderFunc getTypeModel() { in getTypeModel() 62 static constexpr fir::runtime::FuncTypeBuilderFunc getTypeModel() { in getTypeModel() 74 static constexpr fir::runtime::FuncTypeBuilderFunc getTypeModel() { in getTypeModel() 210 mlir::Value fir::runtime::genExponent(fir::FirOpBuilder &builder, in genExponent() 249 mlir::Value fir::runtime::genFraction(fir::FirOpBuilder &builder, in genFraction() 274 mlir::Value fir::runtime::genNearest(fir::FirOpBuilder &builder, in genNearest() 338 mlir::Value fir::runtime::genScale(fir::FirOpBuilder &builder, in genScale() [all …]
|
| H A D | Transformational.cpp | 20 using namespace Fortran::runtime; 23 void fir::runtime::genCshift(fir::FirOpBuilder &builder, mlir::Location loc, in genCshift() 32 fir::runtime::createArguments(builder, loc, fTy, resultBox, arrayBox, in genCshift() 38 void fir::runtime::genCshiftVector(fir::FirOpBuilder &builder, in genCshiftVector() 42 fir::runtime::getRuntimeFunc<mkRTKey(CshiftVector)>(loc, builder); in genCshiftVector() 48 auto args = fir::runtime::createArguments( in genCshiftVector() 59 fir::runtime::getRuntimeFunc<mkRTKey(Eoshift)>(loc, builder); in genEoshift() 64 auto args = fir::runtime::createArguments(builder, loc, fTy, resultBox, in genEoshift() 71 void fir::runtime::genEoshiftVector(fir::FirOpBuilder &builder, in genEoshiftVector() 76 fir::runtime::getRuntimeFunc<mkRTKey(EoshiftVector)>(loc, builder); in genEoshiftVector() [all …]
|
| H A D | Character.cpp | 18 using namespace Fortran::runtime; 81 fir::runtime::getRuntimeFunc<mkRTKey(Adjustl)>(loc, builder); in genAdjustL() 88 fir::runtime::getRuntimeFunc<mkRTKey(Adjustr)>(loc, builder); in genAdjustR() 122 mlir::Value fir::runtime::genCharCompare(fir::FirOpBuilder &builder, in genCharCompare() 143 mlir::Value fir::runtime::genIndex(fir::FirOpBuilder &builder, in genIndex() 171 void fir::runtime::genIndexDescriptor(fir::FirOpBuilder &builder, in genIndexDescriptor() 190 auto args = fir::runtime::createArguments( in genRepeat() 208 void fir::runtime::genScanDescriptor(fir::FirOpBuilder &builder, in genScanDescriptor() 217 mlir::Value fir::runtime::genScan(fir::FirOpBuilder &builder, in genScan() 243 void fir::runtime::genVerifyDescriptor(fir::FirOpBuilder &builder, in genVerifyDescriptor() [all …]
|
| H A D | Command.cpp | 14 using namespace Fortran::runtime; 31 fir::runtime::getRuntimeFunc<mkRTKey(ArgumentCount)>(loc, builder); in genCommandArgumentCount() 35 mlir::Value fir::runtime::genArgumentValue(fir::FirOpBuilder &builder, in genArgumentValue() 41 fir::runtime::getRuntimeFunc<mkRTKey(ArgumentValue)>(loc, builder); in genArgumentValue() 42 llvm::SmallVector<mlir::Value> args = fir::runtime::createArguments( in genArgumentValue() 47 mlir::Value fir::runtime::genArgumentLength(fir::FirOpBuilder &builder, in genArgumentLength() 51 fir::runtime::getRuntimeFunc<mkRTKey(ArgumentLength)>(loc, builder); in genArgumentLength() 52 llvm::SmallVector<mlir::Value> args = fir::runtime::createArguments( in genArgumentLength() 58 mlir::Value fir::runtime::genEnvVariableValue( in genEnvVariableValue() 73 mlir::Value fir::runtime::genEnvVariableLength(fir::FirOpBuilder &builder, in genEnvVariableLength() [all …]
|
| H A D | Inquiry.cpp | 14 using namespace Fortran::runtime; 17 mlir::Value fir::runtime::genLboundDim(fir::FirOpBuilder &builder, in genLboundDim() 21 fir::runtime::getRuntimeFunc<mkRTKey(LboundDim)>(loc, builder); in genLboundDim() 26 auto args = fir::runtime::createArguments(builder, loc, fTy, array, dim, in genLboundDim() 38 fir::runtime::getRuntimeFunc<mkRTKey(Ubound)>(loc, builder); in genUbound() 50 mlir::Value fir::runtime::genSizeDim(fir::FirOpBuilder &builder, in genSizeDim() 54 fir::runtime::getRuntimeFunc<mkRTKey(SizeDim)>(loc, builder); in genSizeDim() 59 auto args = fir::runtime::createArguments(builder, loc, fTy, array, dim, in genSizeDim() 66 mlir::Value fir::runtime::genSize(fir::FirOpBuilder &builder, in genSize() 69 fir::runtime::getRuntimeFunc<mkRTKey(Size)>(loc, builder); in genSize() [all …]
|
| H A D | Derived.cpp | 14 using namespace Fortran::runtime; 16 void fir::runtime::genDerivedTypeInitialize(fir::FirOpBuilder &builder, in genDerivedTypeInitialize() 19 auto func = fir::runtime::getRuntimeFunc<mkRTKey(Initialize)>(loc, builder); in genDerivedTypeInitialize() 24 auto args = fir::runtime::createArguments(builder, loc, fTy, box, sourceFile, in genDerivedTypeInitialize() 29 void fir::runtime::genDerivedTypeDestroy(fir::FirOpBuilder &builder, in genDerivedTypeDestroy() 31 auto func = fir::runtime::getRuntimeFunc<mkRTKey(Destroy)>(loc, builder); in genDerivedTypeDestroy() 33 auto args = fir::runtime::createArguments(builder, loc, fTy, box); in genDerivedTypeDestroy()
|
| /llvm-project-15.0.7/mlir/lib/ExecutionEngine/ |
| H A D | AsyncRuntime.cpp | 30 using namespace mlir::runtime; 37 namespace runtime { namespace 127 : runtime(runtime), refCount(refCount) { in RefCounted() 128 runtime->addNumRefCountedObjects(); in RefCounted() 133 runtime->dropNumRefCountedObjects(); in ~RefCounted() 152 AsyncRuntime *runtime; member in mlir::runtime::__anonc7b155b40111::RefCounted 161 return runtime; in getDefaultAsyncRuntimeInstance() 179 AsyncToken(AsyncRuntime *runtime) in AsyncToken() 195 AsyncValue(AsyncRuntime *runtime, int64_t size) in AsyncValue() 214 AsyncGroup(AsyncRuntime *runtime, int64_t size) in AsyncGroup() [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/AsyncToLLVM/ |
| H A D | convert-runtime-to-llvm.mlir | 6 %0 = async.runtime.create : !async.token 17 %0 = async.runtime.create : !async.value<f32> 34 %0 = async.runtime.create : !async.token 52 %0 = async.runtime.create : !async.token 70 %0 = async.runtime.create : !async.token 72 async.runtime.await %0 : !async.token 81 async.runtime.await %0 : !async.value<f32> 91 async.runtime.await %0 : !async.group 101 %2 = async.runtime.create : !async.token 145 async.runtime.resume %1 [all …]
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/Builder/Runtime/ |
| H A D | NumericTest.cpp | 19 mlir::Value exp = fir::runtime::genExponent(builder, loc, resultType, x); in testGenExponent() 47 *firBuilder, f80Ty, fir::runtime::genFraction, "_FortranAFraction10"); in TEST_F() 49 *firBuilder, f128Ty, fir::runtime::genFraction, "_FortranAFraction16"); in TEST_F() 57 mlir::Value nearest = fir::runtime::genNearest(builder, loc, x, s); in testGenNearest() 78 *firBuilder, f32Ty, fir::runtime::genRRSpacing, "_FortranARRSpacing4"); in TEST_F() 100 *firBuilder, f32Ty, f32Ty, fir::runtime::genScale, "_FortranAScale4"); in TEST_F() 102 *firBuilder, f64Ty, f32Ty, fir::runtime::genScale, "_FortranAScale8"); in TEST_F() 110 testGenXI(*firBuilder, f32Ty, f32Ty, fir::runtime::genSetExponent, in TEST_F() 112 testGenXI(*firBuilder, f64Ty, f32Ty, fir::runtime::genSetExponent, in TEST_F() 114 testGenXI(*firBuilder, f80Ty, f32Ty, fir::runtime::genSetExponent, in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | personality.mm | 1 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=macosx-fragile -S… 5 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=macosx -S -emit-l… 9 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=ios -S -emit-llvm… 13 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=watchos -S -emit-… 18 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=gnustep -S -emit-… 19 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=gcc -S -emit-llvm… 23 …unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=objfw -S -emit-ll… 41 …known-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=macosx -S -emit-l… 45 …known-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=ios -S -emit-llvm… 49 …known-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-runtime=watchos -S -emit-… [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Async/ |
| H A D | Passes.td | 29 "the value will be retrieved from the runtime.">, 45 "explicit async.runtime and async.coro operations"; 52 "with async.runtime.await_and_resume.">, 57 def AsyncRuntimeRefCounting : Pass<"async-runtime-ref-counting"> { 60 This pass works at the async runtime abtraction level, after all 62 runtime API calls, and async coroutine operations. 76 "Async runtime by removing redundant operations"; 82 : Pass<"async-runtime-policy-based-ref-counting"> { 87 runtime API calls, and async coroutine operations. 92 memory leaks or runtime errors. [all …]
|
| /llvm-project-15.0.7/mlir/test/mlir-cpu-runner/ |
| H A D | async-error.mlir | 18 async.runtime.await %token0 : !async.token 21 %err0 = async.runtime.is_error %token0 : !async.token 31 async.runtime.await %token1 : !async.token 34 %err1 = async.runtime.is_error %token1 : !async.token 48 async.runtime.await %token2 : !async.token 51 %err2 = async.runtime.is_error %token2 : !async.token 66 async.runtime.await %token3 : !async.token 67 async.runtime.await %value3 : !async.value<f32> 71 %err3_0 = async.runtime.is_error %token3 : !async.token 95 async.runtime.await %group0 : !async.group [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | personality.m | 1 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=macosx-fragile -S… 2 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=ios -S -emit-llvm… 3 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=macosx -S -emit-l… 4 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=watchos -S -emit-… 6 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=gnustep -S -emit-… 7 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=gcc -S -emit-llvm… 10 …ers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=objfw -S -emit-ll… 27 …s -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=ios -S -emit-llvm… 28 …s -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=macosx -S -emit-l… 29 …s -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=watchos -S -emit-… [all …]
|
| H A D | empty-collection-literals.m | 1 …-triple x86_64-apple-macosx10.10.0 -fobjc-runtime=macosx-10.10.0 -emit-llvm -fblocks -fobjc-arc -f… 2 …-triple x86_64-apple-macosx10.11.0 -fobjc-runtime=macosx-10.11.0 -emit-llvm -fblocks -fobjc-arc -f… 4 …I %S/Inputs -triple arm64-apple-ios8.0 -fobjc-runtime=ios-8.0 -emit-llvm -fblocks -fobjc-arc -fobj… 5 …I %S/Inputs -triple arm64-apple-ios9.0 -fobjc-runtime=ios-9.0 -emit-llvm -fblocks -fobjc-arc -fobj… 7 …puts -triple armv7k-apple-watchos2.0 -fobjc-runtime=watchos-1.0 -emit-llvm -fblocks -fobjc-arc -fo… 8 …puts -triple armv7k-apple-watchos2.0 -fobjc-runtime=watchos-2.0 -emit-llvm -fblocks -fobjc-arc -fo… 10 … %S/Inputs -triple arm64-apple-tvos8.0 -fobjc-runtime=ios-8.0 -emit-llvm -fblocks -fobjc-arc -fobj… 11 … %S/Inputs -triple arm64-apple-tvos9.0 -fobjc-runtime=ios-9.0 -emit-llvm -fblocks -fobjc-arc -fobj…
|
| /llvm-project-15.0.7/openmp/docs/remarks/ |
| H A D | OMP180.rst | 3 Replacing OpenMP runtime call <call> with <value>. 6 This optimization remark indicates that analysis determined an OpenMP runtime 8 runtime call that queried some internal state was found to always return a 14 This optimization will trigger for most target regions to simplify the runtime 15 once certain constants are known. This will trigger for internal runtime 30 remark: Replacing runtime call __kmpc_is_spmd_exec_mode with 1. [OMP180] [-Rpass=openmp-opt] 31 remark: Replacing runtime call __kmpc_is_spmd_exec_mode with 1. [OMP180] [-Rpass=openmp-opt] 32 remark: Replacing runtime call __kmpc_parallel_level with 1. [OMP180] [-Rpass=openmp-opt] 33 remark: Replacing runtime call __kmpc_parallel_level with 1. [OMP180] [-Rpass=openmp-opt]
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | time-intrinsic.cpp | 188 *result.ZeroBasedIndexedElement<Fortran::runtime::CppTypeFor< in operator ()() 190 -std::numeric_limits<Fortran::runtime::CppTypeFor< in operator ()() 200 const Fortran::runtime::Descriptor *values) { in DateAndTimeUnavailable() 221 Fortran::runtime::ApplyIntegerKind<StoreNegativeHugeAt, void>( in DateAndTimeUnavailable() 244 return -std::numeric_limits<Fortran::runtime::CppTypeFor< in GetGmtOffset() 251 *result.ZeroBasedIndexedElement<Fortran::runtime::CppTypeFor< in operator ()() 262 std::size_t zoneChars, const Fortran::runtime::Descriptor *values) { in GetDateAndTime() 312 Fortran::runtime::ApplyIntegerKind<Fortran::runtime::StoreIntegerAt, in GetDateAndTime() 318 Fortran::runtime::ApplyIntegerKind< in GetDateAndTime() 343 namespace Fortran::runtime { namespace [all …]
|
| /llvm-project-15.0.7/lldb/examples/summaries/cocoa/ |
| H A D | Class.py | 9 import lldb.runtime.objc.objc_runtime 15 runtime = lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa( 17 if runtime is None or not runtime.is_valid(): 19 class_data = runtime.read_class_data()
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | objc-convert-messages-to-runtime-calls.m | 1 …%t.o 2>&1 -fsyntax-only -fobjc-convert-messages-to-runtime-calls -fno-objc-convert-messages-to-run… 2 ….o 2>&1 -fsyntax-only -fno-objc-convert-messages-to-runtime-calls -fobjc-convert-messages-to-runti… 4 // Check that we pass fobjc-convert-messages-to-runtime-calls only when supported, and not explicit… 6 // DISABLE: "-fno-objc-convert-messages-to-runtime-calls" 7 // ENABLE-NOT: "-fno-objc-convert-messages-to-runtime-calls"
|