Lines Matching refs:Args
157 std::vector<ExprAST*> Args;
159 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
160 : Callee(callee), Args(args) {}
200 std::vector<std::string> Args;
204 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
206 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
208 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
209 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
281 std::vector<ExprAST*> Args;
286 Args.push_back(Arg);
299 return new CallExprAST(IdName, Args);
949 if (CalleeF->arg_size() != Args.size())
953 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
954 ArgsV.push_back(Args[i]->Codegen());
1159 std::vector<Type*> Doubles(Args.size(),
1183 // If F took a different number of args, reject.
1184 if (F->arg_size() != Args.size()) {
1185 ErrorF("redefinition of function with different # args");
1192 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1194 AI->setName(Args[Idx]);
1203 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1205 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1211 NamedValues[Args[Idx]] = Alloca;