Home | History | Annotate | Download | only in complete

Lines Matching refs:Args

199   std::vector<ExprAST*> Args;
201 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
202 : Callee(callee), Args(args) {}
242 std::vector<std::string> Args;
246 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
248 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
250 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
251 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
323 std::vector<ExprAST*> Args;
328 Args.push_back(Arg);
341 return new CallExprAST(IdName, Args);
1167 if (CalleeF->arg_size() != Args.size())
1171 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
1172 ArgsV.push_back(Args[i]->Codegen());
1375 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
1398 // If F took a different number of args, reject.
1399 if (F->arg_size() != Args.size()) {
1400 ErrorF("redefinition of function with different # args");
1407 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1409 AI->setName(Args[Idx]);
1418 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1420 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1426 NamedValues[Args[Idx]] = Alloca;