|
using | Result = T |
using | Base = ConstantBase<T> |
using | Element = Scalar<T> |
using | Result |
using | Element |
|
std::optional< Scalar< T > > | GetScalarValue () const |
Element | At (const ConstantSubscripts &) const |
Constant | Reshape (ConstantSubscripts &&) const |
std::size_t | CopyFrom (const Constant &source, std::size_t count, ConstantSubscripts &resultSubscripts, const std::vector< int > *dimOrder) |
| ConstantBase (const A &x, Result res=Result{}) |
| ConstantBase (Scalar< T > &&x, Result res=Result{}) |
| ConstantBase (std::vector< Element > &&, ConstantSubscripts &&, Result=Result{}) |
bool | operator== (const ConstantBase &) const |
bool | empty () const |
std::size_t | size () const |
const std::vector< Element > & | values () const |
Result & | result () |
const Result & | result () const |
constexpr DynamicType | GetType () const |
llvm::raw_ostream & | AsFortran (llvm::raw_ostream &) const |
std::string | AsFortran () const |
| ConstantBounds (const ConstantSubscripts &shape) |
| ConstantBounds (ConstantSubscripts &&shape) |
const ConstantSubscripts & | shape () const |
int | Rank () const |
Constant< SubscriptInteger > | SHAPE () const |
const ConstantSubscripts & | lbounds () const |
ConstantSubscripts | ComputeUbounds (std::optional< int > dim) const |
void | set_lbounds (ConstantSubscripts &&) |
void | SetLowerBoundsToOne () |
bool | HasNonDefaultLowerBound () const |
bool | IncrementSubscripts (ConstantSubscripts &, const std::vector< int > *dimOrder=nullptr) const |
|
static constexpr int | Corank () |
std::vector< Element > | Reshape (const ConstantSubscripts &) const |
std::size_t | CopyFrom (const ConstantBase &source, std::size_t count, ConstantSubscripts &resultSubscripts, const std::vector< int > *dimOrder) |
ConstantSubscript | SubscriptsToOffset (const ConstantSubscripts &) const |
Result | result_ |
std::vector< Element > | values_ |
The documentation for this class was generated from the following files:
- include/flang/Evaluate/constant.h
- lib/Evaluate/constant.cpp