Searched refs:ActualArgument (Results 1 – 15 of 15) sorted by relevance
/external/llvm-project/flang/lib/Evaluate/ |
D | call.cpp | 18 DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS(ActualArgument) in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS() argument 19 ActualArgument::ActualArgument(Expr<SomeType> &&x) : u_{std::move(x)} {} in DEFINE_DEFAULT_CONSTRUCTORS_AND_ASSIGNMENTS() 20 ActualArgument::ActualArgument(common::CopyableIndirection<Expr<SomeType>> &&v) in ActualArgument() function in Fortran::evaluate::ActualArgument 22 ActualArgument::ActualArgument(AssumedType x) : u_{x} {} in ActualArgument() function in Fortran::evaluate::ActualArgument 23 ActualArgument::~ActualArgument() {} in ~ActualArgument() 25 ActualArgument::AssumedType::AssumedType(const Symbol &symbol) in AssumedType() 31 int ActualArgument::AssumedType::Rank() const { return symbol_->Rank(); } in Rank() 33 ActualArgument &ActualArgument::operator=(Expr<SomeType> &&expr) { in operator =() 38 std::optional<DynamicType> ActualArgument::GetType() const { in GetType() 48 int ActualArgument::Rank() const { in Rank() [all …]
|
D | fold.cpp | 182 const std::optional<ActualArgument> &arg) { in GetInt64Arg() 191 const std::optional<ActualArgument> &arg, std::int64_t defaultValue) { in GetInt64ArgOr()
|
D | intrinsics.cpp | 1069 std::vector<ActualArgument *> actualForDummy(nonRepeatedDummies, nullptr); in Match() 1071 for (std::optional<ActualArgument> &arg : arguments) { in Match() 1132 const ActualArgument *sameArg{nullptr}; in Match() 1133 const ActualArgument *operandArg{nullptr}; in Match() 1135 const ActualArgument *kindArg{nullptr}; in Match() 1143 const ActualArgument *arg{actualForDummy[j]}; in Match() 1277 const ActualArgument *arrayArg{nullptr}; in Match() 1278 const ActualArgument *knownArg{nullptr}; in Match() 1283 if (const ActualArgument * arg{actualForDummy[j]}) { in Match() 1545 if (ActualArgument * arg{actualForDummy[j]}) { in Match() [all …]
|
D | shape.cpp | 583 ActualArgument{AsGenericExpr(std::move(*arraySize))}, in operator ()() 584 ActualArgument{AsGenericExpr(ExtentExpr{0})}, in operator ()() 595 ActualArguments toCount{ActualArgument{common::Clone( in operator ()()
|
D | fold-implementation.h | 62 Constant<T> *Folding(std::optional<ActualArgument> &); 373 Constant<T> *Folder<T>::Folding(std::optional<ActualArgument> &arg) { in Folding() 513 std::optional<std::int64_t> GetInt64Arg(const std::optional<ActualArgument> &); 515 const std::optional<ActualArgument> &, std::int64_t defaultValue); 673 for (std::optional<ActualArgument> &arg : args) { in FoldOperation()
|
D | formatting.cpp | 102 llvm::raw_ostream &ActualArgument::AssumedType::AsFortran( in AsFortran() 107 llvm::raw_ostream &ActualArgument::AsFortran(llvm::raw_ostream &o) const { in AsFortran()
|
D | characteristics.cpp | 147 const ActualArgument &arg, FoldingContext &context) { in Characterize()
|
D | tools.cpp | 671 bool IsAssumedRank(const ActualArgument &arg) { in IsAssumedRank()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | call.h | 52 class ActualArgument { 72 DECLARE_CONSTRUCTORS_AND_ASSIGNMENTS(ActualArgument) 73 explicit ActualArgument(Expr<SomeType> &&); 74 explicit ActualArgument(common::CopyableIndirection<Expr<SomeType>> &&); 75 explicit ActualArgument(AssumedType); 76 ~ActualArgument(); 77 ActualArgument &operator=(Expr<SomeType> &&); 106 bool operator==(const ActualArgument &) const; 118 ActualArgument &set_dummyIntent(common::Intent intent) { in set_dummyIntent() 141 using ActualArguments = std::vector<std::optional<ActualArgument>>;
|
D | characteristics.h | 88 const ActualArgument &, FoldingContext &);
|
D | traverse.h | 167 Result operator()(const ActualArgument &x) const { in operator()
|
D | tools.h | 76 bool IsAssumedRank(const ActualArgument &); 153 } else if constexpr (std::is_same_v<Ty, ActualArgument>) {
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-call.cpp | 28 evaluate::ActualArgument &arg, parser::ContextualMessages &messages) { in CheckImplicitInterfaceArg() 498 static void CheckProcedureArg(evaluate::ActualArgument &arg, in CheckProcedureArg() 598 static void CheckExplicitInterfaceArg(evaluate::ActualArgument &arg, in CheckExplicitInterfaceArg() 666 std::map<std::string, evaluate::ActualArgument> kwArgs; in RearrangeArguments() 685 evaluate::ActualArgument &x{iter->second}; in RearrangeArguments() 699 evaluate::ActualArgument &x{bad.second}; in RearrangeArguments()
|
D | expression.cpp | 154 std::optional<ActualArgument> AnalyzeExpr(const parser::Expr &); 1045 name, ActualArguments{ActualArgument{std::move(*base)}}); in Analyze() 1767 ActualArgument passed{AsGenericExpr(common::Clone(expr))}; in AddPassArg() 1845 const ActualArgument &actual, const characteristics::DummyArgument &dummy) { in CheckCompatibleArgument() 1878 const std::optional<ActualArgument> &actual{actuals[i]}; in CheckCompatibleArguments() 2334 std::optional<ActualArgument> arg; in Analyze() 2336 arg = ActualArgument{ActualArgument::AssumedType{*assumedTypeDummy}}; in Analyze() 2338 arg = ActualArgument{std::move(*argExpr)}; in Analyze() 2853 std::optional<ActualArgument> actual; in Analyze() 3119 std::optional<ActualArgument> ArgumentAnalyzer::AnalyzeExpr( in AnalyzeExpr() [all …]
|
D | check-do-forall.cpp | 25 using ActualArgumentRef = common::Reference<const ActualArgument>; 948 static void CheckIfArgIsDoVar(const evaluate::ActualArgument &arg, in CheckIfArgIsDoVar() 985 const evaluate::ActualArgument &checkedArg{*checkedOptionalArg}; in Leave() 1011 ActualArgumentSet operator()(const evaluate::ActualArgument &arg) const { in operator ()()
|