/llvm-project/flang/tools/f18-parse-demo/ |
H A D | stub-evaluate.cpp | 23 struct ProcedureRef { struct 24 static void Deleter(ProcedureRef *); 26 void ProcedureRef::Deleter(ProcedureRef *) {} in Deleter() argument
|
/llvm-project/flang/include/flang/Evaluate/ |
H A D | call.h | 232 class ProcedureRef { 234 CLASS_BOILERPLATE(ProcedureRef) in CLASS_BOILERPLATE() argument 235 ProcedureRef(ProcedureDesignator &&p, ActualArguments &&a, in CLASS_BOILERPLATE() 239 ~ProcedureRef(); 240 static void Deleter(ProcedureRef *); 272 bool operator==(const ProcedureRef &) const; 282 template <typename A> class FunctionRef : public ProcedureRef { 286 explicit FunctionRef(ProcedureRef &&pr) : ProcedureRef{std::move(pr)} {} in FunctionRef() 288 : ProcedureRef{st in FunctionRef() [all...] |
H A D | traverse.h | 189 Result operator()(const ProcedureRef &x) const { in operator() 193 return visitor_(static_cast<const ProcedureRef &>(x)); in operator()
|
H A D | tools.h | 65 std::holds_alternative<ProcedureRef>(x.u)) { in operator() 277 // UnwrapProcedureRef() returns a pointer to a ProcedureRef when the whole in UnwrapProcedureRef() 279 template <typename A> inline const ProcedureRef *UnwrapProcedureRef(const A &) { 283 inline const ProcedureRef *UnwrapProcedureRef(const ProcedureRef &proc) { in ExtractBareLenParameter() 290 inline const ProcedureRef *UnwrapProcedureRef(const FunctionRef<T> &func) { in ExtractBareLenParameter() 295 inline const ProcedureRef *UnwrapProcedureRef(const Expr<T> &expr) { in ExtractBareLenParameter() 1131 FoldingContext &, const ProcedureRef &);
|
H A D | shape.h | 186 Result operator()(const ProcedureRef &) const; in ScalarShape()
|
/llvm-project/flang/lib/Evaluate/ |
H A D | call.cpp | 201 std::optional<Expr<SubscriptInteger>> ProcedureRef::LEN() const { in LEN() 231 int ProcedureRef::Rank() const { in Rank() 246 ProcedureRef::~ProcedureRef() {} in ~ProcedureRef() 248 void ProcedureRef::Deleter(ProcedureRef *p) { delete p; } in Deleter()
|
H A D | check-expression.cpp | 60 bool operator()(const ProcedureRef &) const; 114 const ProcedureRef &call) const { in operator ()() 311 bool operator()(const ProcedureRef &x) const { in operator ()() 646 Result operator()(const ProcedureRef &x) const { in operator ()() 965 Result operator()(const ProcedureRef &x) const { in CheckSubscripts()
|
H A D | tools.cpp | 654 [&](ProcedureRef &&) { in Relate() 956 [](const ProcedureRef &) { return true; }, in operator ()() 983 bool operator()(const ProcedureRef &call) const { in GetLastTarget() 1116 semantics::UnorderedSymbolSet operator()(const ProcedureRef &) const { in CheckProcCompatibility() 1141 bool operator()(const ProcedureRef &) const { in CheckProcCompatibility() 1209 Result operator()(const ProcedureRef &call) const { in DataConstantConversionHelper() 1228 FoldingContext &context, const ProcedureRef &proc) { in DataConstantConversionExtension() 569 __anon7bee07872502(ProcedureRef &&) Negation() argument 860 __anon7bee07873f02(const ProcedureRef &) IsProcedurePointerTarget() argument
|
H A D | variable.cpp | 367 // ProcedureRef::LEN() before coming here. in LEN() 766 bool ProcedureRef::operator==(const ProcedureRef &that) const {
|
H A D | formatting.cpp | 242 llvm::raw_ostream &ProcedureRef::AsFortran(llvm::raw_ostream &o) const { in AsFortran() 823 [&](const ProcedureRef &proc) { proc.AsFortran(o << "CALL "); }, in AsFortran()
|
/llvm-project/flang/include/flang/Lower/ |
H A D | ConvertCall.h | 13 /// Implements the conversion from evaluate::ProcedureRef to FIR. 54 bool isIntrinsicModuleProcRef(const Fortran::evaluate::ProcedureRef &procRef); 56 /// Lower a ProcedureRef to HLFIR. If this is a function call, return the 60 const evaluate::ProcedureRef &procRef, std::optional<mlir::Type> resultType, 65 const evaluate::ProcedureRef &procRef, hlfir::Entity lhs, hlfir::Entity rhs,
|
H A D | CustomIntrinsicCall.h | 35 class ProcedureRef; variable 45 const Fortran::evaluate::ProcedureRef &procRef, 81 const Fortran::evaluate::ProcedureRef &procRef,
|
H A D | CallInterface.h | 284 CallerInterface(const Fortran::evaluate::ProcedureRef &p, 298 const Fortran::evaluate::ProcedureRef &getCallDescription() const { 407 const Fortran::evaluate::ProcedureRef &procRef;
|
H A D | ConvertExpr.h | 222 const evaluate::ProcedureRef &call,
|
H A D | DumpEvaluateExpr.h | 124 void show(const Fortran::evaluate::ProcedureRef &x) { in show()
|
/llvm-project/flang/lib/Lower/ |
H A D | CustomIntrinsicCall.cpp | 27 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef) { in isMinOrMaxWithDynamicallyOptionalArg() 47 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef) { in isIshftcWithDynamicallyOptionalArg() 67 llvm::StringRef name, const Fortran::evaluate::ProcedureRef &procRef) { in isAssociatedWithDynamicallyOptionalArg() 79 const Fortran::evaluate::ProcedureRef &procRef, in intrinsicRequiresCustomOptionalHandling() 112 const Fortran::evaluate::ProcedureRef &procRef, in prepareMinOrMaxArguments() 191 const Fortran::evaluate::ProcedureRef &procRef, in prepareIshftcArguments() 251 const Fortran::evaluate::ProcedureRef &procRef, in prepareAssociatedArguments() 308 const Fortran::evaluate::ProcedureRef &procRef, in prepareCustomIntrinsicArgument()
|
H A D | IterationSpace.cpp | 205 RT find(const Fortran::evaluate::ProcedureRef &x) { in find() 220 (void)find(static_cast<const Fortran::evaluate::ProcedureRef &>(x)); in find()
|
H A D | ConvertExpr.cpp | 532 isElementalProcWithArrayArgs(const Fortran::evaluate::ProcedureRef &procRef) { 546 if (const auto *procRef = std::get_if<Fortran::evaluate::ProcedureRef>(&x.u)) in createBoxProcCharTuple() 639 isOptimizableTranspose(const Fortran::evaluate::ProcedureRef &procRef, in isOptimizableTranspose() 657 static_cast<const Fortran::evaluate::ProcedureRef &>(funcRef), converter); 1845 const Fortran::evaluate::ProcedureRef &procRef, in genIntrinsicRef() 1990 isStatementFunctionCall(const Fortran::evaluate::ProcedureRef &procRef) { in genStmtFunctionRef() 1999 ExtValue genStmtFunctionRef(const Fortran::evaluate::ProcedureRef &procRef) { 2001 assert(symbol && "expected symbol in ProcedureRef of statement functions"); 2091 ExtValue genProcedureRef(const Fortran::evaluate::ProcedureRef &procRef, in genTempExtAddr() 2582 ExtValue genRawProcedureRef(const Fortran::evaluate::ProcedureRef in genRawProcedureRef() [all...] |
/llvm-project/flang/include/flang/Parser/ |
H A D | unparse.h | 24 class ProcedureRef; variable 44 std::function<void(llvm::raw_ostream &, const evaluate::ProcedureRef &)> call;
|
/llvm-project/flang/include/flang/Frontend/ |
H A D | CompilerInvocation.h | 142 [](llvm::raw_ostream &o, const Fortran::evaluate::ProcedureRef &x) {
|
/llvm-project/flang/lib/Semantics/ |
H A D | pointer-assignment.cpp | 73 bool Check(const evaluate::ProcedureRef &); 419 bool PointerAssignmentChecker::Check(const evaluate::ProcedureRef &ref) {
|
H A D | assignment.cpp | 71 std::holds_alternative<evaluate::ProcedureRef>(assignment->u)}; in Analyze()
|
H A D | check-do-forall.cpp | 236 std::get_if<evaluate::ProcedureRef>(&assignment->u)}) { in Post() 466 std::get_if<evaluate::ProcedureRef>(&assignment->u)}) { in Check() 472 [&](const evaluate::ProcedureRef &proc) { in Check() 1095 // intents of the dummy arguments from the ProcedureRef in the "typedCall" in operator ()()
|
H A D | expression.cpp | 176 std::optional<ProcedureRef> TryDefinedAssignment(); 177 std::optional<ProcedureRef> GetDefinedAssignmentProc(); 3257 new ProcedureRef{std::move(*proc), std::move(callee->arguments), in Analyze() 3259 ProcedureRef::Deleter); in Analyze() 3283 std::optional<ProcedureRef> procRef{analyzer.TryDefinedAssignment()}; 4186 ProcedureRef procRef{std::move(proc), std::move(arguments)}; 4191 return TypedWrapper<FunctionRef, ProcedureRef>( in Analyze() 4561 std::optional<ProcedureRef> ArgumentAnalyzer::TryDefinedAssignment() { in GetDefinedAssignmentProc() 4600 if (std::optional<ProcedureRef> procRef{GetDefinedAssignmentProc()}) { in GetDefinedAssignmentProc() 4641 std::optional<ProcedureRef> ArgumentAnalyze in AnalyzeExpr() [all...] |
/llvm-project/flang/include/flang/Lower/Support/ |
H A D | Utils.h | 280 static unsigned getHashValue(const Fortran::evaluate::ProcedureRef &x) { in getHashValue() 543 static bool isEqual(const Fortran::evaluate::ProcedureRef &x, in isEqual() 544 const Fortran::evaluate::ProcedureRef &y) { in isEqual()
|