Home | History | Annotate | Download | only in lazy

Lines Matching refs:Args

159   std::vector<ExprAST*> Args;
161 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
162 : Callee(callee), Args(args) {}
202 std::vector<std::string> Args;
206 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
208 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
210 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
211 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
283 std::vector<ExprAST*> Args;
288 Args.push_back(Arg);
301 return new CallExprAST(IdName, Args);
709 if (CalleeF->arg_size() != Args.size())
713 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
714 ArgsV.push_back(Args[i]->Codegen());
919 std::vector<Type*> Doubles(Args.size(),
936 // If F took a different number of args, reject.
937 if (F->arg_size() != Args.size()) {
938 ErrorF("redefinition of function with different # args");
945 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
947 AI->setName(Args[Idx]);
956 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
958 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
964 NamedValues[Args[Idx]] = Alloca;