Home
last modified time | relevance | path

Searched refs:ProcedureRef (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/flang/tools/f18-parse-demo/
H A Dstub-evaluate.cpp23 struct ProcedureRef { struct
24 static void Deleter(ProcedureRef *);
26 void ProcedureRef::Deleter(ProcedureRef *) {} in Deleter() argument
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcall.h210 class ProcedureRef {
212 CLASS_BOILERPLATE(ProcedureRef) in CLASS_BOILERPLATE() argument
213 ProcedureRef(ProcedureDesignator &&p, ActualArguments &&a, in CLASS_BOILERPLATE()
217 ~ProcedureRef();
218 static void Deleter(ProcedureRef *);
245 bool operator==(const ProcedureRef &) const;
254 template <typename A> class FunctionRef : public ProcedureRef {
258 explicit FunctionRef(ProcedureRef &&pr) : ProcedureRef{std::move(pr)} {} in CLASS_BOILERPLATE()
260 : ProcedureRef{std::move(p), std::move(a)} {} in FunctionRef()
H A Dtraverse.h185 Result operator()(const ProcedureRef &x) const { in operator()
189 return visitor_(static_cast<const ProcedureRef &>(x)); in operator()
H A Dshape.h146 Result operator()(const ProcedureRef &) const;
H A Dcharacteristics.h320 const ProcedureRef &, FoldingContext &);
H A Dexpression.h797 ProcedureDesignator, ProcedureRef>;
851 std::variant<Intrinsic, ProcedureRef, BoundsSpec, BoundsRemapping> u;
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcall.cpp184 std::optional<Expr<SubscriptInteger>> ProcedureRef::LEN() const { in LEN()
214 int ProcedureRef::Rank() const { in Rank()
229 ProcedureRef::~ProcedureRef() {} in ~ProcedureRef()
231 void ProcedureRef::Deleter(ProcedureRef *p) { delete p; } in Deleter()
H A Dcheck-expression.cpp58 bool operator()(const ProcedureRef &) const;
112 const ProcedureRef &call) const { in operator ()()
284 bool operator()(const ProcedureRef &x) const { in operator ()()
595 Result operator()(const ProcedureRef &x) const { in operator ()()
751 Result operator()(const ProcedureRef &x) const { in operator ()()
H A Dtools.cpp477 [&](ProcedureRef &&) { in Negation() argument
748 [](const ProcedureRef &) { return true; }, in IsProcedurePointerTarget() argument
757 template <typename A> inline const ProcedureRef *UnwrapProcedureRef(const A &) { in UnwrapProcedureRef()
762 inline const ProcedureRef *UnwrapProcedureRef(const FunctionRef<T> &func) { in UnwrapProcedureRef()
767 inline const ProcedureRef *UnwrapProcedureRef(const Expr<T> &expr) { in UnwrapProcedureRef()
869 bool operator()(const ProcedureRef &) const { in operator ()()
919 Result operator()(const ProcedureRef &call) const { in operator ()()
938 FoldingContext &context, const ProcedureRef &proc) { in FindImpureCall()
H A Dvariable.cpp681 bool ProcedureRef::operator==(const ProcedureRef &that) const { in operator ==()
H A Dformatting.cpp130 llvm::raw_ostream &ProcedureRef::AsFortran(llvm::raw_ostream &o) const { in AsFortran()
760 [&](const ProcedureRef &proc) { proc.AsFortran(o << "CALL "); }, in AsFortran()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DCustomIntrinsicCall.h34 class ProcedureRef; variable
44 const Fortran::evaluate::ProcedureRef &procRef,
77 const Fortran::evaluate::ProcedureRef &procRef,
H A DCallInterface.h253 CallerInterface(const Fortran::evaluate::ProcedureRef &p,
269 const Fortran::evaluate::ProcedureRef &getCallDescription() const {
339 const Fortran::evaluate::ProcedureRef &procRef;
H A DConvertExpr.h220 const evaluate::ProcedureRef &call,
H A DDumpEvaluateExpr.h124 void show(const Fortran::evaluate::ProcedureRef &x) { in show()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCustomIntrinsicCall.cpp24 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef, in isMinOrMaxWithDynamicallyOptionalArg()
45 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef, in isIshftcWithDynamicallyOptionalArg()
60 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef, in isRandomSeedWithDynamicallyOptionalArg()
74 const Fortran::evaluate::ProcedureRef &procRef, in intrinsicRequiresCustomOptionalHandling()
85 const Fortran::evaluate::ProcedureRef &procRef, in prepareMinOrMaxArguments()
164 const Fortran::evaluate::ProcedureRef &procRef, in prepareIshftcArguments()
222 const Fortran::evaluate::ProcedureRef &procRef, in prepareCustomIntrinsicArgument()
H A DIterationSpace.cpp208 static unsigned getHashValue(const Fortran::evaluate::ProcedureRef &x) { in getHashValue()
480 static bool isEqual(const Fortran::evaluate::ProcedureRef &x, in isEqual()
481 const Fortran::evaluate::ProcedureRef &y) { in isEqual()
743 RT find(const Fortran::evaluate::ProcedureRef &x) { in find()
758 (void)find(static_cast<const Fortran::evaluate::ProcedureRef &>(x)); in find()
H A DConvertExpr.cpp588 isIntrinsicModuleProcRef(const Fortran::evaluate::ProcedureRef &procRef) { in isIntrinsicModuleProcRef()
607 isOptimizableTranspose(const Fortran::evaluate::ProcedureRef &procRef) { in isOptimizableTranspose()
617 static_cast<const Fortran::evaluate::ProcedureRef &>(funcRef)); in isOptimizableTranspose()
2190 const Fortran::evaluate::ProcedureRef &procRef, in genIntrinsicRef()
2442 ExtValue genProcedureRef(const Fortran::evaluate::ProcedureRef &procRef, in genProcedureRef()
3227 ExtValue genval(const Fortran::evaluate::ProcedureRef &procRef) { in genval()
4847 const Fortran::evaluate::ProcedureRef &procRef, in genElementalIntrinsicProcRef()
4963 const Fortran::evaluate::ProcedureRef &procRef, in genElementalUserDefinedProcRef()
5138 CC genProcRef(const Fortran::evaluate::ProcedureRef &procRef, in genProcRef()
5205 CC genarr(const Fortran::evaluate::ProcedureRef &x) { in genarr()
[all …]
H A DConvertType.cpp202 [&](const Fortran::evaluate::ProcedureRef &) -> mlir::Type { in genTypelessExprType() argument
H A DCallInterface.cpp484 getEntityContainer(const Fortran::evaluate::ProcedureRef &proc) { in getEntityContainer()
509 getResultEntity(const Fortran::evaluate::ProcedureRef &) { in getResultEntity() argument
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dunparse.h24 class ProcedureRef; variable
44 std::function<void(llvm::raw_ostream &, const evaluate::ProcedureRef &)> call;
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DCompilerInvocation.h119 [](llvm::raw_ostream &o, const Fortran::evaluate::ProcedureRef &x) {
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dpointer-assignment.cpp68 bool Check(const evaluate::ProcedureRef &);
279 bool PointerAssignmentChecker::Check(const evaluate::ProcedureRef &ref) { in Check()
H A Dexpression.cpp165 std::optional<ProcedureRef> TryDefinedAssignment();
166 std::optional<ProcedureRef> GetDefinedAssignmentProc();
2542 ProcedureRef::Deleter); in Analyze()
2563 std::optional<ProcedureRef> procRef{analyzer.TryDefinedAssignment()}; in Analyze()
3312 ProcedureRef{std::move(proc), std::move(arguments)}}; in MakeFunctionRef()
3315 return TypedWrapper<FunctionRef, ProcedureRef>( in MakeFunctionRef()
3317 ProcedureRef{std::move(proc), std::move(arguments)}); in MakeFunctionRef()
3566 std::optional<ProcedureRef> ArgumentAnalyzer::TryDefinedAssignment() { in TryDefinedAssignment()
3583 if (std::optional<ProcedureRef> procRef{GetDefinedAssignmentProc()}) { in TryDefinedAssignment()
3624 std::optional<ProcedureRef> ArgumentAnalyzer::GetDefinedAssignmentProc() { in GetDefinedAssignmentProc()
[all …]
H A Dcheck-do-forall.cpp441 std::get_if<evaluate::ProcedureRef>(&assignment->u)}) { in Check()
447 [&](const evaluate::ProcedureRef &proc) { in Check()

12