Lines Matching refs:Args
173 std::vector<ExprAST*> Args;
175 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
176 : Callee(callee), Args(args) {}
216 std::vector<std::string> Args;
220 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
222 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
224 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
225 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
297 std::vector<ExprAST*> Args;
302 Args.push_back(Arg);
315 return new CallExprAST(IdName, Args);
725 if (CalleeF->arg_size() != Args.size())
729 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
730 ArgsV.push_back(Args[i]->Codegen());
933 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
949 // If F took a different number of args, reject.
950 if (F->arg_size() != Args.size()) {
951 ErrorF("redefinition of function with different # args");
958 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
960 AI->setName(Args[Idx]);
969 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
971 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
977 NamedValues[Args[Idx]] = Alloca;