Home | History | Annotate | Download | only in Chapter6

Lines Matching refs:Args

151   std::vector<ExprAST*> Args;
153 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
154 : Callee(callee), Args(args) {}
183 std::vector<std::string> Args;
187 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
189 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
191 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
192 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
263 std::vector<ExprAST*> Args;
268 Args.push_back(Arg);
281 return new CallExprAST(IdName, Args);
604 if (CalleeF->arg_size() != Args.size())
608 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
609 ArgsV.push_back(Args[i]->Codegen());
762 std::vector<Type*> Doubles(Args.size(),
782 // If F took a different number of args, reject.
783 if (F->arg_size() != Args.size()) {
784 ErrorF("redefinition of function with different # args");
791 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
793 AI->setName(Args[Idx]);
796 NamedValues[Args[Idx]] = AI;