Home | History | Annotate | Download | only in Chapter7

Lines Matching refs:PrototypeAST

195 /// PrototypeAST - This class represents the "prototype" for a function,
197 class PrototypeAST {
203 PrototypeAST(const std::string &name, const std::vector<std::string> &args,
224 PrototypeAST *Proto;
227 FunctionAST(PrototypeAST *proto, ExprAST *body)
263 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
516 static PrototypeAST *ParsePrototype() {
574 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
580 PrototypeAST *Proto = ParsePrototype();
592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
599 static PrototypeAST *ParseExtern() {
908 Function *PrototypeAST::Codegen() {
948 void PrototypeAST::CreateArgumentAllocas(Function *F) {
1020 if (PrototypeAST *P = ParseExtern()) {