Home
last modified time | relevance | path

Searched refs:u_ (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcall.cpp21 ActualArgument::ActualArgument(Expr<SomeType> &&x) : u_{std::move(x)} {} in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS()
23 : u_{std::move(v)} {} in ActualArgument()
24 ActualArgument::ActualArgument(AssumedType x) : u_{x} {} in ActualArgument()
25 ActualArgument::ActualArgument(common::Label x) : u_{x} {} in ActualArgument()
37 u_ = std::move(expr); in operator =()
44 } else if (std::holds_alternative<AssumedType>(u_)) { in GetType()
55 return std::get<AssumedType>(u_).Rank(); in Rank()
61 u_ == that.u_; in operator ==()
65 u_ = evaluate::Parenthesize(std::move(DEREF(UnwrapExpr()))); in Parenthesize()
H A Dvariable.cpp392 u_); in Rank()
470 u_); in GetFirstSymbol()
480 u_); in GetLastSymbol()
489 u_); in UnwrapComponent()
497 u_); in UnwrapComponent()
H A Dformatting.cpp122 u_); in AsFortran()
636 u_); in AsFortran()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcall.h83 std::get_if<common::CopyableIndirection<Expr<SomeType>>>(&u_)}) { in UnwrapExpr()
91 std::get_if<common::CopyableIndirection<Expr<SomeType>>>(&u_)}) { in UnwrapExpr()
99 if (const AssumedType * aType{std::get_if<AssumedType>(&u_)}) { in GetAssumedTypeDummy()
106 common::Label GetLabel() const { return std::get<common::Label>(u_); } in GetLabel()
119 return std::holds_alternative<common::Label>(u_); in isAlternateReturn()
154 u_;
H A Dvariable.h102 explicit NamedEntity(const Symbol &symbol) : u_{symbol} {} in CLASS_BOILERPLATE()
103 explicit NamedEntity(Component &&c) : u_{std::move(c)} {} in NamedEntity()
105 bool IsSymbol() const { return std::holds_alternative<SymbolRef>(u_); } in IsSymbol()
108 const Component &GetComponent() const { return std::get<Component>(u_); } in GetComponent()
109 Component &GetComponent() { return std::get<Component>(u_); } in GetComponent()
119 std::variant<SymbolRef, Component> u_;
/llvm-project-15.0.7/flang/runtime/
H A Dio-stmt.cpp464 [&](auto &x) { return x.get().GetNextDataEdit(*this, n); }, u_); in GetNextDataEdit()
517 [&](auto &x) { return x.get().GetNextInputBytes(p); }, u_); in GetNextInputBytes()
525 common::visit([](auto &x) { x.get().BackspaceRecord(); }, u_); in BackspaceRecord()
537 common::visit([](auto &x) { x.get().CompleteOperation(); }, u_); in CompleteOperation()
547 u_); in GetConnectionState()
557 [](auto &x) { return x.get().BeginReadingRecord(); }, u_); in BeginReadingRecord()
565 u_); in GetIoErrorHandler()
570 [](auto &x) { return x.get().GetExternalFileUnit(); }, u_); in GetExternalFileUnit()
607 u_); in EmitRepeated()
712 [&](auto &x) { return x.get().Inquire(inquiry, out); }, u_); in Inquire()
[all …]
H A Dunit.h75 A &state{u_.emplace<A>(std::forward<X>(xs)...)}; in BeginIoStatement()
154 u_; variable
178 A &state{u_.emplace<A>(std::forward<X>(xs)...)}; in BeginIoStatement()
198 u_; variable
H A Dio-stmt.h74 template <typename A> explicit IoStatementState(A &x) : u_{x} {} in IoStatementState()
124 u_); in get_if()
244 u_;
H A Dunit.cpp700 u_.emplace<std::monostate>(); in EndIoStatement()
981 u_.emplace<std::monostate>(); in EndIoStatement()
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dmessage.h159 u_ = SetOfChars{*s}; in MessageExpectedText()
161 u_ = CharBlock{s, n}; in MessageExpectedText()
164 constexpr explicit MessageExpectedText(CharBlock cb) : u_{cb} {} in MessageExpectedText()
165 constexpr explicit MessageExpectedText(char ch) : u_{SetOfChars{ch}} {} in MessageExpectedText()
166 constexpr explicit MessageExpectedText(SetOfChars set) : u_{set} {} in MessageExpectedText()
176 std::variant<CharBlock, SetOfChars> u_;
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h290 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
299 fp.u_.bits_ = bits; in ReinterpretBits()
300 return fp.u_.value_; in ReinterpretBits()
314 const Bits &bits() const { return u_.bits_; } in bits()
317 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits()
320 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits()
323 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit()
343 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals()
388 FloatingPointUnion u_; variable
/llvm-project-15.0.7/flang/lib/Parser/
H A Dmessage.cpp123 u_); in ToString()
134 u_, that.u_); in Merge()
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfp_div_impl.inc222 // u_{n+1} <= 2 * u_n * U + max(2 * u_n^2 * U + 1, 2)
288 // abs(E_{N-1}) <= (u_{N-1} + 2 /* due to conversion e_n -> E_n */) * 2^-HW
290 // abs(E_{N-1}) <= (u_{N-1} + 3.01) * 2^-HW
296 // abs(E_N) <= 2^-W * [ 4 * (u_{N-1} + 3.01) * 2^-HW + max(4 + 2 * (u_{N-1} + 3.01)^2, 8) ]
/llvm-project-15.0.7/polly/lib/External/isl/imath/
H A Dimath.c101 unsigned char *u_ = A; in REV() local
102 unsigned char *v_ = u_ + N - 1; in REV()
103 while (u_ < v_) { in REV()
104 unsigned char xch = *u_; in REV()
105 *u_++ = *v_; in REV()