Lines Matching refs:Args
179 std::vector<ExprAST*> Args;
181 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
182 : Callee(callee), Args(args) {}
222 std::vector<std::string> Args;
226 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
228 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
230 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
231 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
303 std::vector<ExprAST*> Args;
308 Args.push_back(Arg);
321 return new CallExprAST(IdName, Args);
1090 if (CalleeF->arg_size() != Args.size())
1094 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
1095 ArgsV.push_back(Args[i]->Codegen());
1300 std::vector<Type*> Doubles(Args.size(),
1324 // If F took a different number of args, reject.
1325 if (F->arg_size() != Args.size()) {
1326 ErrorF("redefinition of function with different # args");
1333 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1335 AI->setName(Args[Idx]);
1344 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1346 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1352 NamedValues[Args[Idx]] = Alloca;