Home | History | Annotate | Download | only in cached

Lines Matching refs:Args

174   std::vector<ExprAST*> Args;
176 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
177 : Callee(callee), Args(args) {}
217 std::vector<std::string> Args;
221 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
223 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
225 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
226 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
298 std::vector<ExprAST*> Args;
303 Args.push_back(Arg);
316 return new CallExprAST(IdName, Args);
727 if (CalleeF->arg_size() != Args.size())
731 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
732 ArgsV.push_back(Args[i]->Codegen());
937 std::vector<Type*> Doubles(Args.size(),
954 // If F took a different number of args, reject.
955 if (F->arg_size() != Args.size()) {
956 ErrorF("redefinition of function with different # args");
963 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
965 AI->setName(Args[Idx]);
974 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
976 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
982 NamedValues[Args[Idx]] = Alloca;