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);
948 if (CalleeF->arg_size() != Args.size())
952 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
953 ArgsV.push_back(Args[i]->Codegen());
1158 std::vector<Type*> Doubles(Args.size(),
1182 // If F took a different number of args, reject.
1183 if (F->arg_size() != Args.size()) {
1184 ErrorF("redefinition of function with different # args");
1191 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1193 AI->setName(Args[Idx]);
1202 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1204 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1210 NamedValues[Args[Idx]] = Alloca;