Lines Matching defs:Args
167 std::vector<std::unique_ptr<ExprAST>> Args)
168 : CalleeName(std::move(CalleeName)), Args(std::move(Args)) {}
173 std::vector<std::unique_ptr<ExprAST>> Args;
217 PrototypeAST(std::string Name, std::vector<std::string> Args,
219 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator),
225 bool isUnaryOp() const { return IsOperator && Args.size() == 1; }
226 bool isBinaryOp() const { return IsOperator && Args.size() == 2; }
234 std::vector<std::string> Args;
305 std::vector<std::unique_ptr<ExprAST>> Args;
310 Args.push_back(std::move(Arg));
323 return llvm::make_unique<CallExprAST>(IdName, std::move(Args));
831 if (CalleeF->arg_size() != Args.size())
835 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
836 ArgsV.push_back(Args[i]->IRGen(C));
1045 std::vector<Type*> Doubles(Args.size(),
1065 // If F took a different number of args, reject.
1066 if (F->arg_size() != Args.size()) {
1067 ErrorP<Function>("redefinition of function with different # args");
1074 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1076 AI->setName(Args[Idx]);
1085 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1087 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1093 C.NamedValues[Args[Idx]] = Alloca;