Home
last modified time | relevance | path

Searched refs:FoldingContext (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/flang/include/flang/Evaluate/
Dshape.h30 class FoldingContext; variable
42 std::optional<Shape> AsShape(FoldingContext &, ExtentExpr &&);
47 FoldingContext &, const Shape &);
52 FoldingContext &, const Shape &);
57 std::optional<Shape> GetShape(FoldingContext &, const A &);
61 ExtentExpr GetLowerBound(FoldingContext &, const NamedEntity &, int dimension);
63 FoldingContext &, const NamedEntity &, int dimension);
65 FoldingContext &, ExtentExpr &&lower, MaybeExtentExpr &&extent);
66 Shape GetLowerBounds(FoldingContext &, const NamedEntity &);
67 Shape GetUpperBounds(FoldingContext &, const NamedEntity &);
[all …]
Dcheck-expression.h59 Expr<SomeType> &&, FoldingContext &,
68 const A &, const semantics::Scope &, FoldingContext &);
70 const Expr<SomeType> &x, const semantics::Scope &, FoldingContext &);
72 const Expr<SomeInteger> &x, const semantics::Scope &, FoldingContext &);
74 const semantics::Scope &, FoldingContext &);
77 FoldingContext &);
80 FoldingContext &);
83 FoldingContext &);
86 template <typename A> bool IsSimplyContiguous(const A &, FoldingContext &);
88 const Expr<SomeType> &, FoldingContext &);
Dcharacteristics.h80 const semantics::Symbol &, FoldingContext &);
82 const semantics::ObjectEntityDetails &, FoldingContext &);
88 const ActualArgument &, FoldingContext &);
92 const A &x, FoldingContext &context) { in Characterize()
115 const std::optional<A> &x, FoldingContext &context) { in Characterize()
124 const A *x, FoldingContext &context) { in Characterize()
151 FoldingContext * = nullptr) const;
157 const semantics::AssocEntityDetails &, FoldingContext &);
160 void AcquireShape(const semantics::ObjectEntityDetails &, FoldingContext &);
185 const semantics::Symbol &, FoldingContext &);
[all …]
Dcommon.h208 class FoldingContext {
210 FoldingContext(
213 FoldingContext(const parser::ContextualMessages &m,
218 FoldingContext(const FoldingContext &that)
223 FoldingContext(
224 const FoldingContext &that, const parser::ContextualMessages &m)
265 void RealFlagWarnings(FoldingContext &, const RealFlags &, const char *op);
Dfold-designator.h63 explicit DesignatorFolder(FoldingContext &c) : context_{c} {} in DesignatorFolder()
159 FoldingContext &context_;
167 FoldingContext &, const Symbol &, ConstantSubscript offset, std::size_t);
169 FoldingContext &, const OffsetSymbol &);
186 static ConstantObjectPointer From(FoldingContext &, const Expr<SomeType> &);
Dintrinsics-library.h21 class FoldingContext; variable
37 FoldingContext &, std::vector<Expr<SomeType>> &&)>;
Dintrinsics.h28 class FoldingContext; variable
96 const CallCharacteristics &, ActualArguments &, FoldingContext &) const; in ENUM_CLASS()
Dfold.h31 template <typename T> Expr<T> Fold(FoldingContext &context, Expr<T> &&expr) { in Fold()
37 FoldingContext &context, std::optional<Expr<T>> &&expr) { in Fold()
/external/llvm-project/flang/lib/Semantics/
Dpointer-assignment.h22 class FoldingContext; variable
30 evaluate::FoldingContext &, const evaluate::Assignment &);
31 bool CheckPointerAssignment(evaluate::FoldingContext &, const SomeExpr &lhs,
34 evaluate::FoldingContext &, const Symbol &lhs, const SomeExpr &rhs);
35 bool CheckPointerAssignment(evaluate::FoldingContext &,
42 evaluate::FoldingContext &, const SomeExpr &pointer, const SomeExpr &init);
Dcheck-call.h24 class FoldingContext; variable
35 evaluate::ActualArguments &, evaluate::FoldingContext &, const Scope &,
43 const evaluate::FoldingContext &, const Scope &,
48 evaluate::ActualArguments &, const evaluate::FoldingContext &);
Dpointer-assignment.cpp42 PointerAssignmentChecker(evaluate::FoldingContext &context, in PointerAssignmentChecker()
45 PointerAssignmentChecker(evaluate::FoldingContext &context, const Symbol &lhs) in PointerAssignmentChecker()
73 evaluate::FoldingContext &context_;
316 evaluate::FoldingContext &context, const evaluate::Assignment &assignment) { in CheckPointerBounds()
372 evaluate::FoldingContext &context, const evaluate::Assignment &assignment) { in CheckPointerAssignment()
377 bool CheckPointerAssignment(evaluate::FoldingContext &context, in CheckPointerAssignment()
399 evaluate::FoldingContext &context, const Symbol &lhs, const SomeExpr &rhs) { in CheckPointerAssignment()
404 bool CheckPointerAssignment(evaluate::FoldingContext &context, in CheckPointerAssignment()
414 bool CheckInitialTarget(evaluate::FoldingContext &context, in CheckInitialTarget()
Dcheck-call.cpp78 evaluate::FoldingContext &context, parser::ContextualMessages &messages) { in PadShortCharacterActual()
142 bool actualIsArrayElement, evaluate::FoldingContext &context, in CheckExplicitDataArg()
500 evaluate::FoldingContext &context) { in CheckProcedureArg()
600 const characteristics::Procedure &proc, evaluate::FoldingContext &context, in CheckExplicitInterfaceArg()
709 const evaluate::FoldingContext &context, const Scope *scope, in CheckExplicitInterface()
716 evaluate::FoldingContext localContext{context, messages}; in CheckExplicitInterface()
741 evaluate::ActualArguments &actuals, const evaluate::FoldingContext &context, in CheckExplicitInterface()
748 const evaluate::FoldingContext &context) { in CheckInterfaceForGeneric()
754 evaluate::ActualArguments &actuals, evaluate::FoldingContext &context, in CheckArguments()
/external/llvm-project/flang/lib/Evaluate/
Dfold.cpp15 FoldingContext &context, Subscript &ss, const NamedEntity &base, int dim) { in GetConstantSubscript()
59 FoldingContext &context, StructureConstructor &&structure) { in FoldOperation()
90 Component FoldOperation(FoldingContext &context, Component &&component) { in FoldOperation()
95 NamedEntity FoldOperation(FoldingContext &context, NamedEntity &&x) { in FoldOperation()
103 Triplet FoldOperation(FoldingContext &context, Triplet &&triplet) { in FoldOperation()
110 Subscript FoldOperation(FoldingContext &context, Subscript &&subscript) { in FoldOperation()
124 ArrayRef FoldOperation(FoldingContext &context, ArrayRef &&arrayRef) { in FoldOperation()
132 CoarrayRef FoldOperation(FoldingContext &context, CoarrayRef &&coarrayRef) { in FoldOperation()
153 DataRef FoldOperation(FoldingContext &context, DataRef &&dataRef) { in FoldOperation()
163 Substring FoldOperation(FoldingContext &context, Substring &&substring) { in FoldOperation()
[all …]
Dfold-implementation.h51 explicit Folder(FoldingContext &c) : context_{c} {} in Folder()
66 FoldingContext &context_;
70 FoldingContext &, Subscript &, const NamedEntity &, int dim);
74 std::optional<std::function<Scalar<TR>(FoldingContext &, Scalar<TA>...)>>
79 FoldingContext &context, Scalar<TA>... args) -> Scalar<TR> { in GetHostRuntimeWrapper()
99 FoldingContext &, A &&x) { in FoldOperation() argument
105 Component FoldOperation(FoldingContext &, Component &&);
106 NamedEntity FoldOperation(FoldingContext &, NamedEntity &&);
107 Triplet FoldOperation(FoldingContext &, Triplet &&);
108 Subscript FoldOperation(FoldingContext &, Subscript &&);
[all …]
Dcommon.cpp17 FoldingContext &context, const RealFlags &flags, const char *operation) { in RealFlagWarnings()
36 ConstantSubscript &FoldingContext::StartImpliedDo( in StartImpliedDo()
43 std::optional<ConstantSubscript> FoldingContext::GetImpliedDo( in GetImpliedDo()
52 void FoldingContext::EndImpliedDo(parser::CharBlock name) { in EndImpliedDo()
Dcheck-expression.cpp296 Expr<SomeType> &&x, FoldingContext &context, in NonPointerInitializationExpr()
381 const semantics::Scope &s, FoldingContext &context) in CheckSpecificationExprHelper()
497 FoldingContext &context_;
505 const A &x, const semantics::Scope &scope, FoldingContext &context) { in CheckSpecificationExpr()
513 const Expr<SomeType> &, const semantics::Scope &, FoldingContext &);
515 const Expr<SomeInteger> &, const semantics::Scope &, FoldingContext &);
517 const Expr<SubscriptInteger> &, const semantics::Scope &, FoldingContext &);
519 const semantics::Scope &, FoldingContext &);
521 const semantics::Scope &, FoldingContext &);
524 FoldingContext &);
[all …]
Dshape.cpp53 std::optional<Shape> AsShape(FoldingContext &context, ExtentExpr &&arrayExpr) { in AsShape()
88 FoldingContext &context, const Shape &shape) { in AsConstantShape()
116 FoldingContext &context, const Shape &shape) { in AsConstantExtents()
124 static ExtentExpr ComputeTripCount(FoldingContext &context, ExtentExpr &&lower, in ComputeTripCount()
135 ExtentExpr CountTrips(FoldingContext &context, ExtentExpr &&lower, in CountTrips()
141 ExtentExpr CountTrips(FoldingContext &context, const ExtentExpr &lower, in CountTrips()
147 MaybeExtentExpr CountTrips(FoldingContext &context, MaybeExtentExpr &&lower, in CountTrips()
185 GetLowerBoundHelper(FoldingContext &c, int d) in GetLowerBoundHelper()
193 FoldingContext &context_;
245 FoldingContext &context, const NamedEntity &base, int dimension) { in GetLowerBound()
[all …]
Dfold-logical.cpp16 FoldingContext &context, in FoldIntrinsicFunction()
121 FoldingContext &context, Relational<T> &&relation) { in FoldOperation()
151 FoldingContext &context, Relational<SomeType> &&relation) { in FoldOperation()
161 FoldingContext &context, Not<KIND> &&x) { in FoldOperation()
175 FoldingContext &context, LogicalOperation<KIND> &&operation) { in FoldOperation()
Dfold-character.cpp15 FoldingContext &context, in FoldIntrinsicFunction()
62 FoldingContext &context, Concat<KIND> &&x) { in FoldOperation()
75 FoldingContext &context, SetLength<KIND> &&x) { in FoldOperation()
Dcharacteristics.cpp64 const semantics::Symbol &symbol, FoldingContext &context) { in Characterize()
109 const semantics::ObjectEntityDetails &object, FoldingContext &context) { in Characterize()
120 const semantics::AssocEntityDetails &assoc, FoldingContext &context) { in Characterize()
147 const ActualArgument &arg, FoldingContext &context) { in Characterize()
168 FoldingContext *foldingContext) const { in MeasureSizeInBytes()
182 const semantics::ObjectEntityDetails &object, FoldingContext &context) { in AcquireShape()
263 const semantics::Symbol &symbol, FoldingContext &context) { in Characterize()
332 const semantics::Symbol &symbol, FoldingContext &context) { in Characterize()
372 const semantics::Symbol &symbol, FoldingContext &context) { in Characterize()
385 std::string &&name, const Expr<SomeType> &expr, FoldingContext &context) { in FromActual()
[all …]
Dhost.cpp22 FoldingContext &context) { in SetUpHostFloatingPointEnvironment()
112 FoldingContext &context) { in CheckAndRestoreFloatingPointEnvironment()
Dfold-complex.cpp15 FoldingContext &context, in FoldIntrinsicFunction()
66 FoldingContext &context, ComplexConstructor<KIND> &&x) { in FoldOperation()
Dinitial-image.cpp71 AsConstantHelper(FoldingContext &context, const DynamicType &type, in AsConstantHelper()
147 FoldingContext &context_;
154 std::optional<Expr<SomeType>> InitialImage::AsConstant(FoldingContext &context, in AsConstant()
/external/llvm-project/flang/unittests/Evaluate/
Dfolding.cpp34 HostRuntimeWrapper func, FoldingContext &context, Scalar<T> x) { in CallHostRt()
47 FoldingContext flushingContext{ in TestHostRuntimeSubnormalFlushing()
49 FoldingContext noFlushingContext{ in TestHostRuntimeSubnormalFlushing()
/external/llvm-project/flang/include/flang/Lower/
DAbstractConverter.h24 class FoldingContext; variable
82 virtual Fortran::evaluate::FoldingContext &getFoldingContext() = 0;

123