Home
last modified time | relevance | path

Searched refs:RTNAME (Results 1 – 25 of 65) sorted by relevance

123

/llvm-project-15.0.7/flang/unittests/Runtime/
H A DNumeric.cpp153 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
156 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
159 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
162 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
165 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
168 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
171 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
174 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
177 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
180 EXPECT_EQ(RTNAME(SelectedRealKind)( in TEST()
[all …]
H A DCommandTest.cpp52 RTNAME(ProgramStart)(argc, argv, {}); in CommandFixture()
219 EXPECT_EQ(0, RTNAME(ArgumentLength)(-1)); in TEST_F()
220 EXPECT_EQ(8, RTNAME(ArgumentLength)(0)); in TEST_F()
221 EXPECT_EQ(0, RTNAME(ArgumentLength)(1)); in TEST_F()
240 EXPECT_EQ(8, RTNAME(ArgumentLength)(0)); in TEST_F()
242 EXPECT_EQ(0, RTNAME(ArgumentLength)(2)); in TEST_F()
262 EXPECT_EQ(4, RTNAME(ArgumentCount)()); in TEST_F()
267 EXPECT_EQ(8, RTNAME(ArgumentLength)(0)); in TEST_F()
269 EXPECT_EQ(0, RTNAME(ArgumentLength)(2)); in TEST_F()
271 EXPECT_EQ(1, RTNAME(ArgumentLength)(4)); in TEST_F()
[all …]
H A DStop.cpp23 EXPECT_EXIT(RTNAME(StopStatement)(), testing::ExitedWithCode(EXIT_SUCCESS), in TEST()
31 RTNAME(StopStatement)(), testing::ExitedWithCode(EXIT_SUCCESS), ""); in TEST()
36 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
40 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
44 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
48 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
57 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
61 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
65 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
69 EXPECT_EXIT(RTNAME(StopStatementText)(message, std::strlen(message), in TEST()
[all …]
H A DReduction.cpp77 RTNAME(Maxloc) in TEST()
91 RTNAME(Maxloc) in TEST()
105 RTNAME(MinlocDim) in TEST()
267 RTNAME(Maxloc) in TEST()
279 RTNAME(Maxloc) in TEST()
289 RTNAME(Minloc) in TEST()
299 RTNAME(Minloc) in TEST()
309 RTNAME(Minloc) in TEST()
324 RTNAME(Findloc) in TEST()
334 RTNAME(Findloc) in TEST()
[all …]
H A DTime.cpp22 double start{RTNAME(CpuTime)()}; in TEST()
44 EXPECT_GT(RTNAME(SystemClockCountRate)(), 0); in TEST()
46 count_t max1{RTNAME(SystemClockCountMax)(1)}; in TEST()
49 count_t start1{RTNAME(SystemClockCount)(1)}; in TEST()
53 count_t max2{RTNAME(SystemClockCountMax)(2)}; in TEST()
56 count_t start2{RTNAME(SystemClockCount)(2)}; in TEST()
60 count_t max4{RTNAME(SystemClockCountMax)(4)}; in TEST()
63 count_t start4{RTNAME(SystemClockCount)(4)}; in TEST()
67 count_t max8{RTNAME(SystemClockCountMax)(8)}; in TEST()
69 count_t start8{RTNAME(SystemClockCount)(8)}; in TEST()
[all …]
H A DCharacterTest.cpp67 RTNAME(CharacterPad1)(buffer, limit, offset); in TEST()
155 RTNAME(CharacterCompareScalar1),
156 RTNAME(CharacterCompareScalar2),
157 RTNAME(CharacterCompareScalar4),
273 RunExtremumTests<TypeParam>("MIN", RTNAME(CharacterMin), tests); in TYPED_TEST()
282 RunExtremumTests<TypeParam>("MAX", RTNAME(CharacterMax), tests); in TYPED_TEST()
296 RTNAME(CharacterMin)(*x, *y, __FILE__, __LINE__); in RunAllocationTest()
342 RTNAME(Index1), RTNAME(Index2), RTNAME(Index4)}; in TYPED_TEST()
362 static SearchFunctions functions{RTNAME(Scan1), RTNAME(Scan2), RTNAME(Scan4)}; in TYPED_TEST()
376 RTNAME(Verify1), RTNAME(Verify2), RTNAME(Verify4)}; in TYPED_TEST()
[all …]
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dnumeric.h22 CppTypeFor<TypeCategory::Integer, 1> RTNAME(Ceiling4_1)(
24 CppTypeFor<TypeCategory::Integer, 2> RTNAME(Ceiling4_2)(
26 CppTypeFor<TypeCategory::Integer, 4> RTNAME(Ceiling4_4)(
28 CppTypeFor<TypeCategory::Integer, 8> RTNAME(Ceiling4_8)(
34 CppTypeFor<TypeCategory::Integer, 1> RTNAME(Ceiling8_1)(
152 CppTypeFor<TypeCategory::Real, 4> RTNAME(Fraction4)(
154 CppTypeFor<TypeCategory::Real, 8> RTNAME(Fraction8)(
194 CppTypeFor<TypeCategory::Real, 4> RTNAME(ModReal4)(
197 CppTypeFor<TypeCategory::Real, 8> RTNAME(ModReal8)(
345 CppTypeFor<TypeCategory::Real, 4> RTNAME(Scale4)(
[all …]
H A Dreduction.h113 common::int128_t RTNAME(ProductInteger16)(const Descriptor &,
148 void RTNAME(CppProductComplex10)(std::complex<long double> &,
151 void RTNAME(CppProductComplex16)(std::complex<long double> &,
208 void RTNAME(Findloc)(Descriptor &, const Descriptor &x,
211 void RTNAME(FindlocDim)(Descriptor &, const Descriptor &x,
214 void RTNAME(Maxloc)(Descriptor &, const Descriptor &x, int kind,
220 void RTNAME(Minloc)(Descriptor &, const Descriptor &x, int kind,
256 void RTNAME(MaxvalCharacter)(Descriptor &, const Descriptor &,
287 void RTNAME(MinvalCharacter)(Descriptor &, const Descriptor &,
321 std::int64_t RTNAME(Count)(
[all …]
H A Dcharacter.h39 void RTNAME(CharacterConcatenate)(Descriptor &accumulator,
44 void RTNAME(CharacterConcatenateScalar1)(
67 int RTNAME(CharacterCompareScalar1)(
76 void RTNAME(CharacterCompare)(
91 void RTNAME(Adjustl)(Descriptor &result, const Descriptor &,
93 void RTNAME(Adjustr)(Descriptor &result, const Descriptor &,
95 std::size_t RTNAME(LenTrim1)(const char *, std::size_t);
112 std::size_t RTNAME(Index2)(const char16_t *, std::size_t,
114 std::size_t RTNAME(Index4)(const char32_t *, std::size_t,
120 std::size_t RTNAME(Scan1)(
[all …]
H A Dpointer.h24 void RTNAME(PointerNullifyIntrinsic)(
28 void RTNAME(PointerNullifyDerived)(
33 void RTNAME(PointerSetBounds)(
35 void RTNAME(PointerSetCoBounds)(Descriptor &, int zeroBasedCoDim,
50 void RTNAME(PointerAssociateScalar)(Descriptor &, void *);
55 void RTNAME(PointerAssociateLowerBounds)(
72 int RTNAME(PointerCheckLengthParameter)(Descriptor &,
85 int RTNAME(PointerAllocate)(Descriptor &, bool hasStat = false,
97 int RTNAME(PointerDeallocate)(Descriptor &, bool hasStat = false,
104 bool RTNAME(PointerIsAssociated)(const Descriptor &);
[all …]
H A Dallocatable.h29 void RTNAME(AllocatableInitIntrinsic)(
33 void RTNAME(AllocatableInitDerived)(
42 int RTNAME(AllocatableCheckAllocated)(Descriptor &,
53 void RTNAME(AllocatableSetBounds)(
57 void RTNAME(AllocatableSetCoBounds)(Descriptor &, int zeroBasedCoDim,
63 void RTNAME(AllocatableSetDerivedLength)(
71 int RTNAME(AllocatableCheckLengthParameter)(Descriptor &,
85 int RTNAME(AllocatableAllocate)(Descriptor &, bool hasStat = false,
96 int RTNAME(MoveAlloc)(Descriptor &to, const Descriptor &from,
103 int RTNAME(AllocatableDeallocate)(Descriptor &, bool hasStat = false,
[all …]
H A Dstop.h19 NORETURN void RTNAME(StopStatement)(int code DEFAULT_VALUE(EXIT_SUCCESS),
21 NORETURN void RTNAME(StopStatementText)(const char *, size_t,
23 void RTNAME(PauseStatement)(NO_ARGUMENTS);
24 void RTNAME(PauseStatementInt)(int);
25 void RTNAME(PauseStatementText)(const char *, size_t);
26 NORETURN void RTNAME(FailImageStatement)(NO_ARGUMENTS);
27 NORETURN void RTNAME(ProgramEndStatement)(NO_ARGUMENTS);
30 NORETURN void RTNAME(Exit)(int status DEFAULT_VALUE(EXIT_SUCCESS));
31 NORETURN void RTNAME(Abort)(NO_ARGUMENTS);
35 NORETURN void RTNAME(ReportFatalUserError)(
H A Dtransformational.h29 void RTNAME(Reshape)(Descriptor &result, const Descriptor &source,
34 void RTNAME(Cshift)(Descriptor &result, const Descriptor &source,
37 void RTNAME(CshiftVector)(Descriptor &result, const Descriptor &source,
40 void RTNAME(Eoshift)(Descriptor &result, const Descriptor &source,
43 void RTNAME(EoshiftVector)(Descriptor &result, const Descriptor &source,
47 void RTNAME(Pack)(Descriptor &result, const Descriptor &source,
51 void RTNAME(Spread)(Descriptor &result, const Descriptor &source, int dim,
54 void RTNAME(Transpose)(Descriptor &result, const Descriptor &matrix,
57 void RTNAME(Unpack)(Descriptor &result, const Descriptor &vector,
H A Drandom.h18 void RTNAME(RandomInit)(bool repeatable, bool image_distinct);
20 void RTNAME(RandomNumber)(
25 void RTNAME(RandomSeedSize)(const Descriptor &, const char *source, int line);
26 void RTNAME(RandomSeedPut)(const Descriptor &, const char *source, int line);
27 void RTNAME(RandomSeedGet)(const Descriptor &, const char *source, int line);
28 void RTNAME(RandomSeedDefaultPut)();
H A Dcommand.h24 std::int32_t RTNAME(ArgumentCount)();
30 std::int32_t RTNAME(GetCommand)(const Descriptor *command = nullptr,
40 std::int32_t RTNAME(ArgumentValue)(
45 std::int64_t RTNAME(ArgumentLength)(std::int32_t n);
53 std::int32_t RTNAME(EnvVariableValue)(const Descriptor &name,
60 std::int64_t RTNAME(EnvVariableLength)(const Descriptor &name,
H A Dtime-intrinsic.h27 double RTNAME(CpuTime)();
36 std::int64_t RTNAME(SystemClockCount)(int kind = 8);
37 std::int64_t RTNAME(SystemClockCountRate)(int kind = 8);
38 std::int64_t RTNAME(SystemClockCountMax)(int kind = 8);
41 void RTNAME(DateAndTime)(char *date, std::size_t dateChars, char *time,
/llvm-project-15.0.7/flang/runtime/
H A Dnumeric.cpp480 CppTypeFor<TypeCategory::Real, 4> RTNAME(Fraction4)( in RTNAME() function
484 CppTypeFor<TypeCategory::Real, 8> RTNAME(Fraction8)( in RTNAME() function
564 CppTypeFor<TypeCategory::Real, 4> RTNAME(ModReal4)( in RTNAME() function
569 CppTypeFor<TypeCategory::Real, 8> RTNAME(ModReal8)( in RTNAME() function
644 CppTypeFor<TypeCategory::Real, 4> RTNAME(Nearest4)( in RTNAME() function
648 CppTypeFor<TypeCategory::Real, 8> RTNAME(Nearest8)( in RTNAME() function
796 CppTypeFor<TypeCategory::Real, 4> RTNAME(Scale4)( in RTNAME() function
800 CppTypeFor<TypeCategory::Real, 8> RTNAME(Scale8)( in RTNAME() function
805 CppTypeFor<TypeCategory::Real, 10> RTNAME(Scale10)( in RTNAME() function
810 CppTypeFor<TypeCategory::Real, 16> RTNAME(Scale16)( in RTNAME() function
[all …]
H A Dcomplex-reduction.h38 float_Complex_t RTNAME(SumComplex2)(REDUCTION_ARGS);
39 float_Complex_t RTNAME(SumComplex3)(REDUCTION_ARGS);
40 float_Complex_t RTNAME(SumComplex4)(REDUCTION_ARGS);
41 double_Complex_t RTNAME(SumComplex8)(REDUCTION_ARGS);
42 long_double_Complex_t RTNAME(SumComplex10)(REDUCTION_ARGS);
43 long_double_Complex_t RTNAME(SumComplex16)(REDUCTION_ARGS);
45 float_Complex_t RTNAME(ProductComplex2)(REDUCTION_ARGS);
46 float_Complex_t RTNAME(ProductComplex3)(REDUCTION_ARGS);
47 float_Complex_t RTNAME(ProductComplex4)(REDUCTION_ARGS);
48 double_Complex_t RTNAME(ProductComplex8)(REDUCTION_ARGS);
[all …]
H A Dpointer.cpp19 void RTNAME(PointerNullifyIntrinsic)(Descriptor &pointer, TypeCategory category, in RTNAME() function
34 void RTNAME(PointerNullifyDerived)(Descriptor &pointer, in RTNAME() function
40 void RTNAME(PointerSetBounds)(Descriptor &pointer, int zeroBasedDim, in RTNAME() function
49 void RTNAME(PointerSetDerivedLength)( in RTNAME() function
62 void RTNAME(PointerAssociateScalar)(Descriptor &pointer, void *target) { in RTNAME() function
71 void RTNAME(PointerAssociateLowerBounds)(Descriptor &pointer, in RTNAME() function
87 void RTNAME(PointerAssociateRemapping)(Descriptor &pointer, in RTNAME() function
116 int RTNAME(PointerAllocate)(Descriptor &pointer, bool hasStat, in RTNAME() function
135 int RTNAME(PointerDeallocate)(Descriptor &pointer, bool hasStat, in RTNAME() function
147 bool RTNAME(PointerIsAssociated)(const Descriptor &pointer) { in RTNAME() function
[all …]
H A Dstop.cpp53 [[noreturn]] void RTNAME(StopStatement)( in RTNAME() function
70 [[noreturn]] void RTNAME(StopStatementText)( in RTNAME() function
106 void RTNAME(PauseStatement)() { in RTNAME() function
113 void RTNAME(PauseStatementInt)(int code) { in RTNAME() function
120 void RTNAME(PauseStatementText)(const char *code, std::size_t length) { in RTNAME() function
129 [[noreturn]] void RTNAME(FailImageStatement)() { in RTNAME() function
135 [[noreturn]] void RTNAME(ProgramEndStatement)() { in RTNAME() function
140 [[noreturn]] void RTNAME(Exit)(int status) { in RTNAME() function
145 [[noreturn]] void RTNAME(Abort)() { std::abort(); } in RTNAME() function
147 [[noreturn]] void RTNAME(ReportFatalUserError)( in RTNAME() function
H A Dproduct.cpp57 CppTypeFor<TypeCategory::Integer, 1> RTNAME(ProductInteger1)( in RTNAME() function
64 CppTypeFor<TypeCategory::Integer, 2> RTNAME(ProductInteger2)( in RTNAME() function
71 CppTypeFor<TypeCategory::Integer, 4> RTNAME(ProductInteger4)( in RTNAME() function
78 CppTypeFor<TypeCategory::Integer, 8> RTNAME(ProductInteger8)( in RTNAME() function
86 CppTypeFor<TypeCategory::Integer, 16> RTNAME(ProductInteger16)( in RTNAME() function
97 CppTypeFor<TypeCategory::Real, 4> RTNAME(ProductReal4)(const Descriptor &x, in RTNAME() function
103 CppTypeFor<TypeCategory::Real, 8> RTNAME(ProductReal8)(const Descriptor &x, in RTNAME() function
110 CppTypeFor<TypeCategory::Real, 10> RTNAME(ProductReal10)(const Descriptor &x, in RTNAME() function
117 CppTypeFor<TypeCategory::Real, 16> RTNAME(ProductReal16)(const Descriptor &x, in RTNAME() function
125 void RTNAME(CppProductComplex4)(CppTypeFor<TypeCategory::Complex, 4> &result, in RTNAME() function
[all …]
H A Dreduction.cpp77 CppTypeFor<TypeCategory::Integer, 1> RTNAME(IAll1)(const Descriptor &x, in RTNAME() function
82 CppTypeFor<TypeCategory::Integer, 2> RTNAME(IAll2)(const Descriptor &x, in RTNAME() function
87 CppTypeFor<TypeCategory::Integer, 4> RTNAME(IAll4)(const Descriptor &x, in RTNAME() function
92 CppTypeFor<TypeCategory::Integer, 8> RTNAME(IAll8)(const Descriptor &x, in RTNAME() function
105 void RTNAME(IAllDim)(Descriptor &result, const Descriptor &x, int dim, in RTNAME() function
115 CppTypeFor<TypeCategory::Integer, 1> RTNAME(IAny1)(const Descriptor &x, in RTNAME() function
120 CppTypeFor<TypeCategory::Integer, 2> RTNAME(IAny2)(const Descriptor &x, in RTNAME() function
125 CppTypeFor<TypeCategory::Integer, 4> RTNAME(IAny4)(const Descriptor &x, in RTNAME() function
143 void RTNAME(IAnyDim)(Descriptor &result, const Descriptor &x, int dim, in RTNAME() function
350 std::int64_t RTNAME(Count)( in RTNAME() function
[all …]
H A Dallocatable.cpp19 void RTNAME(AllocatableInitIntrinsic)(Descriptor &descriptor, in RTNAME() function
27 void RTNAME(AllocatableInitCharacter)(Descriptor &descriptor, in RTNAME() function
34 void RTNAME(AllocatableInitDerived)(Descriptor &descriptor, in RTNAME() function
41 int RTNAME(MoveAlloc)(Descriptor &to, const Descriptor & /*from*/, in RTNAME() function
48 void RTNAME(AllocatableSetBounds)(Descriptor &descriptor, int zeroBasedDim, in RTNAME() function
55 void RTNAME(AllocatableSetDerivedLength)( in RTNAME() function
62 void RTNAME(AllocatableApplyMold)( in RTNAME() function
69 int RTNAME(AllocatableAllocate)(Descriptor &descriptor, bool hasStat, in RTNAME() function
91 int RTNAME(AllocatableDeallocate)(Descriptor &descriptor, bool hasStat, in RTNAME() function
103 void RTNAME(AllocatableDeallocateNoFinal)( in RTNAME() function
H A Dsum.cpp93 CppTypeFor<TypeCategory::Integer, 1> RTNAME(SumInteger1)(const Descriptor &x, in RTNAME() function
98 CppTypeFor<TypeCategory::Integer, 2> RTNAME(SumInteger2)(const Descriptor &x, in RTNAME() function
123 CppTypeFor<TypeCategory::Real, 4> RTNAME(SumReal4)(const Descriptor &x, in RTNAME() function
128 CppTypeFor<TypeCategory::Real, 8> RTNAME(SumReal8)(const Descriptor &x, in RTNAME() function
134 CppTypeFor<TypeCategory::Real, 10> RTNAME(SumReal10)(const Descriptor &x, in RTNAME() function
141 CppTypeFor<TypeCategory::Real, 16> RTNAME(SumReal16)(const Descriptor &x, in RTNAME() function
148 void RTNAME(CppSumComplex4)(CppTypeFor<TypeCategory::Complex, 4> &result, in RTNAME() function
154 void RTNAME(CppSumComplex8)(CppTypeFor<TypeCategory::Complex, 8> &result, in RTNAME() function
161 void RTNAME(CppSumComplex10)(CppTypeFor<TypeCategory::Complex, 10> &result, in RTNAME() function
168 void RTNAME(CppSumComplex16)(CppTypeFor<TypeCategory::Complex, 16> &result, in RTNAME() function
[all …]
/llvm-project-15.0.7/flang/test/Runtime/
H A Dno-cpp-dep.c21 double RTNAME(CpuTime)();
23 void RTNAME(ProgramStart)(int, const char *[], const char *[]);
24 int32_t RTNAME(ArgumentCount)();
25 int32_t RTNAME(ArgumentValue)(
27 int64_t RTNAME(ArgumentLength)(int32_t);
30 double x = RTNAME(CpuTime)(); in main()
31 RTNAME(ProgramStart)(0, 0, 0); in main()
32 int32_t c = RTNAME(ArgumentCount)(); in main()
33 int32_t v = RTNAME(ArgumentValue)(0, 0, 0); in main()
34 int32_t l = RTNAME(ArgumentLength)(0); in main()

123