Home
last modified time | relevance | path

Searched refs:ConstantBase (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/flang/include/flang/Evaluate/
Dconstant.h91 class ConstantBase : public ConstantBounds {
99 ConstantBase(const A &x, Result res = Result{}) : result_{res}, values_{x} {}
100 ConstantBase(ELEMENT &&x, Result res = Result{})
102 ConstantBase(
105 DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS(ConstantBase)
106 ~ConstantBase();
108 bool operator==(const ConstantBase &) const;
119 std::size_t CopyFrom(const ConstantBase &source, std::size_t count,
126 template <typename T> class Constant : public ConstantBase<T> {
129 using Base = ConstantBase<T>;
[all …]
/external/llvm-project/flang/lib/Evaluate/
Dconstant.cpp106 ConstantBase<RESULT, ELEMENT>::ConstantBase( in ConstantBase() function in Fortran::evaluate::ConstantBase
113 ConstantBase<RESULT, ELEMENT>::~ConstantBase() {} in ~ConstantBase()
116 bool ConstantBase<RESULT, ELEMENT>::operator==(const ConstantBase &that) const { in operator ==()
121 auto ConstantBase<RESULT, ELEMENT>::Reshape( in Reshape()
137 std::size_t ConstantBase<RESULT, ELEMENT>::CopyFrom( in CopyFrom()
138 const ConstantBase<RESULT, ELEMENT> &source, std::size_t count, in CopyFrom()
Dformatting.cpp35 llvm::raw_ostream &ConstantBase<RESULT, VALUE>::AsFortran( in AsFortran()