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);
947 if (CalleeF->arg_size() != Args.size())
951 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
952 ArgsV.push_back(Args[i]->Codegen());
1155 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext));
1178 // If F took a different number of args, reject.
1179 if (F->arg_size() != Args.size()) {
1180 ErrorF("redefinition of function with different # args");
1187 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1189 AI->setName(Args[Idx]);
1198 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1200 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1206 NamedValues[Args[Idx]] = Alloca;