Lines Matching defs:Args
280 std::vector<ExprAST *> Args;
284 std::vector<ExprAST *> &args)
285 : ExprAST(Loc), Callee(callee), Args(args) {}
288 for (ExprAST *Arg : Args)
356 std::vector<std::string> Args;
363 const std::vector<std::string> &args, bool isoperator = false,
365 : Name(name), Args(args), isOperator(isoperator), Precedence(prec),
368 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
369 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
381 const std::vector<std::string> &getArgs() const { return Args; }
460 std::vector<ExprAST *> Args;
466 Args.push_back(Arg);
480 return new CallExprAST(LitLoc, IdName, Args);
967 if (CalleeF->arg_size() != Args.size())
971 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
972 ArgsV.push_back(Args[i]->Codegen());
1192 std::vector<Type *> Doubles(Args.size(),
1213 // If F took a different number of args, reject.
1214 if (F->arg_size() != Args.size()) {
1215 ErrorF("redefinition of function with different # args");
1222 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1224 AI->setName(Args[Idx]);
1234 CreateFunctionType(Args.size(), Unit), false /* internal linkage */,
1245 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1247 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1254 *Scope, Args[Idx], Unit, Line,
1265 NamedValues[Args[Idx]] = Alloca;