Home
last modified time | relevance | path

Searched refs:SomeExpr (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/flang/include/flang/Lower/
H A DConvertExpr.h46 const SomeExpr &expr,
54 const SomeExpr &expr,
62 const SomeExpr &expr,
69 const SomeExpr &expr,
78 const SomeExpr &expr,
109 const SomeExpr &lhs, const SomeExpr &rhs,
122 const SomeExpr &rhs, SymMap &symMap,
162 const SomeExpr &lhs, const SomeExpr &rhs,
171 const SomeExpr &lhs, const SomeExpr &rhs,
182 AbstractConverter &converter, const SomeExpr &lhs, const SomeExpr &rhs,
[all …]
H A DAbstractConverter.h61 using SomeExpr = Fortran::evaluate::Expr<Fortran::evaluate::SomeType>; variable
124 virtual fir::ExtendedValue genExprAddr(const SomeExpr &expr,
129 fir::ExtendedValue genExprAddr(mlir::Location loc, const SomeExpr *expr, in genExprAddr()
133 fir::ExtendedValue genExprAddr(mlir::Location loc, const SomeExpr &expr, in genExprAddr()
139 virtual fir::ExtendedValue genExprValue(const SomeExpr &expr,
144 fir::ExtendedValue genExprValue(mlir::Location loc, const SomeExpr *expr, in genExprValue()
148 fir::ExtendedValue genExprValue(mlir::Location loc, const SomeExpr &expr, in genExprValue()
157 const SomeExpr &expr,
164 const SomeExpr &expr) = 0;
183 virtual mlir::Type genType(const SomeExpr &) = 0;
H A DAllocatable.h41 bool isArraySectionWithoutVectorSubscript(const SomeExpr &expr);
66 const SomeExpr &source, mlir::ValueRange lbounds,
70 bool isWholeAllocatable(const SomeExpr &expr);
73 bool isWholePointer(const SomeExpr &expr);
H A DBoxAnalyzer.h74 const Fortran::lower::SomeExpr &len) in ScalarDynamicChar()
79 llvm::Optional<Fortran::lower::SomeExpr> charLen() const { in charLen()
80 if (auto *l = std::get_if<Fortran::lower::SomeExpr>(&len)) in charLen()
89 std::variant<FromBox, Fortran::lower::SomeExpr> len;
95 llvm::SmallVectorImpl<Fortran::lower::SomeExpr> &&lens) in ScalarDynamicDerived()
99 llvm::SmallVector<Fortran::lower::SomeExpr> lens;
173 const Fortran::lower::SomeExpr &len, in StaticArrayDynamicChar()
205 const Fortran::lower::SomeExpr &len, in DynamicArrayDynamicChar()
329 llvm::Optional<Fortran::lower::SomeExpr> getCharLenExpr() const { in getCharLenExpr()
330 using A = llvm::Optional<Fortran::lower::SomeExpr>; in getCharLenExpr()
[all …]
H A DConvertType.h56 using SomeExpr = evaluate::Expr<evaluate::SomeType>; variable
73 const SomeExpr &expr);
H A DConvertVariable.h89 const SomeExpr &initialTarget);
94 mlir::Location loc, const SomeExpr &addr);
H A DPFTDefs.h52 using SomeExpr = Fortran::evaluate::Expr<Fortran::evaluate::SomeType>; variable
H A DCustomIntrinsicCall.h50 using OperandPrepare = std::function<void(const Fortran::lower::SomeExpr &)>;
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dpointer-assignment.h31 bool CheckPointerAssignment(evaluate::FoldingContext &, const SomeExpr &lhs,
32 const SomeExpr &rhs, bool isBoundsRemapping = false);
34 evaluate::FoldingContext &, const Symbol &lhs, const SomeExpr &rhs);
37 const evaluate::characteristics::DummyDataObject &, const SomeExpr &rhs);
42 evaluate::FoldingContext &, const SomeExpr &pointer, const SomeExpr &init);
H A Dassignment.cpp46 bool CheckForPureContext(const SomeExpr &lhs, const SomeExpr &rhs,
48 void CheckShape(parser::CharBlock, const SomeExpr *);
65 const SomeExpr &lhs{assignment->lhs}; in Analyze()
66 const SomeExpr &rhs{assignment->rhs}; in Analyze()
87 const SomeExpr &lhs{assignment->lhs}; in Analyze()
88 const SomeExpr &rhs{assignment->rhs}; in Analyze()
136 const SomeExpr &expr) { in GetPointerComponentDesignatorName()
150 const SomeExpr &expr, const Scope &scope) { in CheckCopyabilityInPureScope()
165 bool AssignmentContext::CheckForPureContext(const SomeExpr &lhs, in CheckForPureContext()
166 const SomeExpr &rhs, parser::CharBlock source, bool isPointerAssignment) { in CheckForPureContext()
[all …]
H A Druntime-type-info.cpp48 SomeExpr GetEnumValue(const char *) const;
67 SomeExpr PackageIntValueExpr(const SomeExpr &genre, std::int64_t = 0) const;
132 SomeExpr
218 const std::string &name, SomeExpr &&x) { in AddValue()
230 static SomeExpr IntToExpr(std::int64_t n) { in IntToExpr()
263 static SomeExpr SaveNumericPointerTarget( in SaveNumericPointerTarget()
328 static SomeExpr SaveObjectInit( in SaveObjectInit()
461 SomeExpr{evaluate::NullPointer{}}); in DescribeType()
779 SomeExpr{evaluate::NullPointer{}}); in DescribeComponent()
792 SomeExpr{evaluate::NullPointer{}}); in DescribeComponent()
[all …]
H A Dpointer-assignment.cpp59 bool Check(const SomeExpr &);
124 bool PointerAssignmentChecker::Check(const SomeExpr &rhs) { in Check()
324 const SomeExpr &lhs{assignment.lhs}; in CheckPointerBounds()
325 const SomeExpr &rhs{assignment.rhs}; in CheckPointerBounds()
384 const SomeExpr &lhs, const SomeExpr &rhs, bool isBoundsRemapping) { in CheckPointerAssignment()
405 evaluate::FoldingContext &context, const Symbol &lhs, const SomeExpr &rhs) { in CheckPointerAssignment()
412 const DummyDataObject &lhs, const SomeExpr &rhs) { in CheckPointerAssignment()
421 const SomeExpr &pointer, const SomeExpr &init) { in CheckInitialTarget()
H A Ddata-to-inits.cpp116 bool InitDesignator(const SomeExpr &);
120 std::optional<std::pair<SomeExpr, bool>> ConvertElement(
121 const SomeExpr &, const evaluate::DynamicType &);
182 auto foldedStep{evaluate::Fold(context, SomeExpr{*stepExpr})}; in Scan()
190 auto foldedLower{evaluate::Fold(context, SomeExpr{*lowerExpr})}; in Scan()
192 auto foldedUpper{evaluate::Fold(context, SomeExpr{*upperExpr})}; in Scan()
246 const SomeExpr &designator) { in InitDesignator()
271 std::optional<std::pair<SomeExpr, bool>>
273 const SomeExpr &expr, const evaluate::DynamicType &type) { in ConvertElement()
352 const SomeExpr *expr{*values_}; in InitElement()
[all …]
H A Dcheck-case.cpp86 auto folded{evaluate::Fold(foldingContext, SomeExpr{*x->v})}; in GetValue()
88 evaluate::ConvertToType(T::GetType(), SomeExpr{folded}))}) { in GetValue()
91 evaluate::ConvertToType(*type, SomeExpr{*converted}))}; in GetValue()
H A Dcheck-select-rank.h22 const SomeExpr *GetExprFromSelector(const parser::Selector &);
H A Dcheck-select-type.h27 const SomeExpr *GetExprFromSelector(const parser::Selector &);
H A Dcheck-arithmeticif.cpp16 bool IsNumericExpr(const SomeExpr &expr) { in IsNumericExpr()
H A Dcheck-io.h90 if (const SomeExpr * expr{GetExpr(context_, x)}) { in ENUM_CLASS()
130 const SomeExpr &, GenericKind::DefinedIo, parser::CharBlock) const;
/llvm-project-15.0.7/flang/include/flang/Lower/Support/
H A DUtils.h26 using SomeExpr = Fortran::evaluate::Expr<Fortran::evaluate::SomeType>; variable
57 static Fortran::lower::SomeExpr toEvExpr(const A &x) { in toEvExpr()
62 static Fortran::lower::SomeExpr ignoreEvConvert( in ignoreEvConvert()
69 static Fortran::lower::SomeExpr ignoreEvConvert(const A &x) { in ignoreEvConvert()
76 inline Fortran::lower::SomeExpr
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtools.h253 using SomeExpr = evaluate::Expr<evaluate::SomeType>; variable
256 const SomeExpr &expr, const common::TypeCategory &type);
258 const SomeExpr &expr, const SemanticsContext &context);
266 const SomeExpr *Get(const parser::Expr &);
267 const SomeExpr *Get(const parser::Variable &);
268 const SomeExpr *Get(const parser::DataStmtConstant &);
269 const SomeExpr *Get(const parser::AllocateObject &);
270 const SomeExpr *Get(const parser::PointerObject &);
278 template <typename T> const SomeExpr *Get(const T &x) { in Get()
301 const SomeExpr *GetExpr(SemanticsContext *context, const T &x) { in GetExpr()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp56 const Fortran::lower::SomeExpr *statExpr, in init()
57 const Fortran::lower::SomeExpr *errMsgExpr) { in init()
440 Fortran::lower::SomeExpr lenExpr{*intExpr}; in lowerAllocateLengthParameters()
486 const Fortran::lower::SomeExpr *sourceExpr{nullptr};
487 const Fortran::lower::SomeExpr *moldExpr{nullptr};
488 const Fortran::lower::SomeExpr *statExpr{nullptr};
489 const Fortran::lower::SomeExpr *errMsgExpr{nullptr};
529 const Fortran::lower::SomeExpr *statExpr = nullptr; in genDeallocateStmt()
530 const Fortran::lower::SomeExpr *errMsgExpr = nullptr; in genDeallocateStmt()
675 const Fortran::lower::SomeExpr &expr) { in isArraySectionWithoutVectorSubscript()
[all …]
H A DCustomIntrinsicCall.cpp34 Fortran::evaluate::UnwrapExpr<Fortran::lower::SomeExpr>(args[i])) in isMinOrMaxWithDynamicallyOptionalArg()
49 auto *expr = Fortran::evaluate::UnwrapExpr<Fortran::lower::SomeExpr>( in isIshftcWithDynamicallyOptionalArg()
65 auto *expr = Fortran::evaluate::UnwrapExpr<Fortran::lower::SomeExpr>(arg); in isRandomSeedWithDynamicallyOptionalArg()
98 Fortran::evaluate::UnwrapExpr<Fortran::lower::SomeExpr>(arg.value()); in prepareMinOrMaxArguments()
172 Fortran::evaluate::UnwrapExpr<Fortran::lower::SomeExpr>(arg.value()); in prepareIshftcArguments()
H A DBridge.cpp88 const Fortran::lower::SomeExpr *lowerExpr;
89 const Fortran::lower::SomeExpr *upperExpr;
90 const Fortran::lower::SomeExpr *stepExpr;
91 const Fortran::lower::SomeExpr *maskExpr = nullptr;
1462 const Fortran::lower::SomeExpr *lo = in genFIR()
1464 const Fortran::lower::SomeExpr *hi = in genFIR()
1505 const Fortran::lower::SomeExpr *lo = in genFIR()
1507 const Fortran::lower::SomeExpr *hi = in genFIR()
1723 const Fortran::lower::SomeExpr *expr = in genFIR()
2074 const Fortran::lower::SomeExpr *expr = in genFIR()
[all …]
H A DConvertExpr.cpp3603 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in lowerAnyMaskedArrayAssignment()
3629 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in lowerArrayOfPointerAssignment()
3650 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in lowerArrayOfPointerAssignment()
3673 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in lowerAllocatableArrayAssignment()
4025 const Fortran::lower::SomeExpr &lhs, in lowerScalarUserAssignment()
5533 static Fortran::lower::SomeExpr
7444 const Fortran::lower::SomeExpr &expr, in createDenseGlobal()
7497 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in createSomeArrayAssignment()
7523 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in createAnyMaskedArrayAssignment()
7538 const Fortran::lower::SomeExpr &lhs, const Fortran::lower::SomeExpr &rhs, in createAllocatableArrayAssignment()
[all …]
H A DConvertType.cpp138 mlir::Type genExprType(const Fortran::lower::SomeExpr &expr) { in genExprType()
189 mlir::Type genTypelessExprType(const Fortran::lower::SomeExpr &expr) { in genTypelessExprType()
392 getCharacterLength(const Fortran::lower::SomeExpr &expr) { in getCharacterLength()
448 Fortran::lower::AbstractConverter &converter, const SomeExpr &expr) { in translateSomeExprToFIRType()

12