Lines Matching refs:Args
158 std::vector<ExprAST*> Args;
160 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
161 : Callee(callee), Args(args) {}
201 std::vector<std::string> Args;
205 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
207 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
209 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
210 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
282 std::vector<ExprAST*> Args;
287 Args.push_back(Arg);
300 return new CallExprAST(IdName, Args);
708 if (CalleeF->arg_size() != Args.size())
712 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
713 ArgsV.push_back(Args[i]->Codegen());
918 std::vector<Type*> Doubles(Args.size(),
935 // If F took a different number of args, reject.
936 if (F->arg_size() != Args.size()) {
937 ErrorF("redefinition of function with different # args");
944 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
946 AI->setName(Args[Idx]);
955 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
957 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
963 NamedValues[Args[Idx]] = Alloca;