Home
last modified time | relevance | path

Searched refs:SelectedIntKind (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/flang/unittests/Runtime/
H A DNumeric.cpp133 TEST(Numeric, SelectedIntKind) { in TEST() argument
140 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r0, 1), 1); in TEST()
141 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r1, 2), 2); in TEST()
142 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r2, 4), 4); in TEST()
143 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r3, 8), 8); in TEST()
144 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r4, 4), 1); in TEST()
145 EXPECT_EQ(RTNAME(SelectedIntKind)(__FILE__, __LINE__, &r5, 4), -1); in TEST()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtarget.h72 int SelectedIntKind(std::int64_t precision = 0) const;
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtarget.cpp136 int TargetCharacteristics::SelectedIntKind(std::int64_t precision) const { in SelectedIntKind() function in Fortran::evaluate::TargetCharacteristics
H A Dfold-integer.cpp970 return Expr<T>{context.targetCharacteristics().SelectedIntKind(*p)}; in FoldIntrinsicFunction()
/llvm-project-15.0.7/flang/runtime/
H A Dnumeric.cpp147 inline CppTypeFor<TypeCategory::Integer, 4> SelectedIntKind(T x) { in SelectedIntKind() function
817 CppTypeFor<TypeCategory::Integer, 4> RTNAME(SelectedIntKind)( in RTNAME() argument
827 return SelectedIntKind(r); in RTNAME()
/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Dnumeric.h359 CppTypeFor<TypeCategory::Integer, 4> RTNAME(SelectedIntKind)(
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DNumeric.cpp368 fir::runtime::getRuntimeFunc<mkRTKey(SelectedIntKind)>(loc, builder); in genSelectedIntKind()