Lines Matching refs:Args
150 std::vector<ExprAST*> Args;
152 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
153 : Callee(callee), Args(args) {}
182 std::vector<std::string> Args;
186 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
188 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
190 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
191 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
261 std::vector<ExprAST*> Args;
266 Args.push_back(Arg);
279 return new CallExprAST(IdName, Args);
602 if (CalleeF->arg_size() != Args.size())
606 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
607 ArgsV.push_back(Args[i]->Codegen());
760 std::vector<Type*> Doubles(Args.size(),
780 // If F took a different number of args, reject.
781 if (F->arg_size() != Args.size()) {
782 ErrorF("redefinition of function with different # args");
789 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
791 AI->setName(Args[Idx]);
794 NamedValues[Args[Idx]] = AI;