Home | History | Annotate | Download | only in complete

Lines Matching refs:Args

204   std::vector<ExprAST*> Args;
206 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args)
207 : Callee(callee), Args(args) {}
247 std::vector<std::string> Args;
251 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
253 : Name(name), Args(args), isOperator(isoperator), Precedence(prec) {}
255 bool isUnaryOp() const { return isOperator && Args.size() == 1; }
256 bool isBinaryOp() const { return isOperator && Args.size() == 2; }
328 std::vector<ExprAST*> Args;
333 Args.push_back(Arg);
346 return new CallExprAST(IdName, Args);
1269 if (CalleeF->arg_size() != Args.size())
1273 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
1274 ArgsV.push_back(Args[i]->Codegen());
1479 std::vector<Type*> Doubles(Args.size(),
1506 // If F took a different number of args, reject.
1507 if (F->arg_size() != Args.size()) {
1508 ErrorF("redefinition of function with different # args");
1515 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1517 AI->setName(Args[Idx]);
1526 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1528 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1534 NamedValues[Args[Idx]] = Alloca;