Home | History | Annotate | Download | only in lazy_irgen

Lines Matching refs:Args

166               std::vector<std::unique_ptr<ExprAST>> Args)
167 : CalleeName(std::move(CalleeName)), Args(std::move(Args)) {}
172 std::vector<std::unique_ptr<ExprAST>> Args;
216 PrototypeAST(std::string Name, std::vector<std::string> Args,
218 : Name(std::move(Name)), Args(std::move(Args)), IsOperator(IsOperator),
224 bool isUnaryOp() const { return IsOperator && Args.size() == 1; }
225 bool isBinaryOp() const { return IsOperator && Args.size() == 2; }
233 std::vector<std::string> Args;
304 std::vector<std::unique_ptr<ExprAST>> Args;
309 Args.push_back(std::move(Arg));
322 return llvm::make_unique<CallExprAST>(IdName, std::move(Args));
829 if (CalleeF->arg_size() != Args.size())
833 for (unsigned i = 0, e = Args.size(); i != e; ++i) {
834 ArgsV.push_back(Args[i]->IRGen(C));
1042 std::vector<Type*> Doubles(Args.size(),
1062 // If F took a different number of args, reject.
1063 if (F->arg_size() != Args.size()) {
1064 ErrorP<Function>("redefinition of function with different # args");
1071 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1073 AI->setName(Args[Idx]);
1082 Args.size(); Idx != e; ++Idx, ++AI) {
1084 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1090 C.NamedValues[Args[Idx]] = Alloca;