Searched refs:FunctionAST (Results 1 - 12 of 12) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp139 /// FunctionAST - This class represents a function definition itself.
140 class FunctionAST { class
144 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
180 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
318 static FunctionAST *ParseDefinition() {
324 return new FunctionAST(Proto, E);
329 static FunctionAST *ParseTopLevelExpr() {
333 return new FunctionAST(Proto, E);
443 Function *FunctionAST::Codegen() {
474 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp124 /// FunctionAST - This class represents a function definition itself.
125 class FunctionAST { class
127 FunctionAST(PrototypeAST *proto, ExprAST *body) {} function in class:FunctionAST
160 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
298 static FunctionAST *ParseDefinition() {
304 return new FunctionAST(Proto, E);
309 static FunctionAST *ParseTopLevelExpr() {
313 return new FunctionAST(Proto, E);
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp146 /// FunctionAST - This class represents a function definition itself.
147 class FunctionAST { class
151 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
187 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
325 static FunctionAST *ParseDefinition() {
331 return new FunctionAST(Proto, E);
336 static FunctionAST *ParseTopLevelExpr() {
340 return new FunctionAST(Proto, E);
451 Function *FunctionAST::Codegen() {
487 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp175 /// FunctionAST - This class represents a function definition itself.
176 class FunctionAST { class
180 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
216 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
426 static FunctionAST *ParseDefinition() {
432 return new FunctionAST(Proto, E);
437 static FunctionAST *ParseTopLevelExpr() {
441 return new FunctionAST(Proto, E);
696 Function *FunctionAST::Codegen() {
732 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp203 /// FunctionAST - This class represents a function definition itself.
204 class FunctionAST { class
208 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
244 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
511 static FunctionAST *ParseDefinition() {
517 return new FunctionAST(Proto, E);
522 static FunctionAST *ParseTopLevelExpr() {
526 return new FunctionAST(Proto, E);
800 Function *FunctionAST::Codegen() {
843 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp221 /// FunctionAST - This class represents a function definition itself.
222 class FunctionAST { class
226 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
262 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
576 static FunctionAST *ParseDefinition() {
582 return new FunctionAST(Proto, E);
587 static FunctionAST *ParseTopLevelExpr() {
591 return new FunctionAST(Proto, E);
960 Function *FunctionAST::Codegen() {
1006 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp239 /// FunctionAST - This class represents a function definition itself.
240 class FunctionAST { class
244 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
594 static FunctionAST *ParseDefinition() {
600 return new FunctionAST(Proto, E);
605 static FunctionAST *ParseTopLevelExpr() {
609 return new FunctionAST(Proto, E);
985 Function *FunctionAST::Codegen() {
1031 if (FunctionAST *
[all...]
H A Dtoy.cpp245 /// FunctionAST - This class represents a function definition itself.
246 class FunctionAST { class
250 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
286 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
600 static FunctionAST *ParseDefinition() {
606 return new FunctionAST(Proto, E);
611 static FunctionAST *ParseTopLevelExpr() {
615 return new FunctionAST(Proto, E);
1356 Function *FunctionAST::Codegen() {
1397 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp222 /// FunctionAST - This class represents a function definition itself.
223 class FunctionAST { class
227 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
263 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
577 static FunctionAST *ParseDefinition() {
583 return new FunctionAST(Proto, E);
588 static FunctionAST *ParseTopLevelExpr() {
592 return new FunctionAST(Proto, E);
1214 Function *FunctionAST::Codegen() {
1255 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp224 /// FunctionAST - This class represents a function definition itself.
225 class FunctionAST { class
229 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
579 static FunctionAST *ParseDefinition() {
585 return new FunctionAST(Proto, E);
590 static FunctionAST *ParseTopLevelExpr() {
594 return new FunctionAST(Proto, E);
967 Function *FunctionAST::Codegen() {
1013 if (FunctionAST *
[all...]
H A Dtoy.cpp224 /// FunctionAST - This class represents a function definition itself.
225 class FunctionAST { class
229 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
265 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
579 static FunctionAST *ParseDefinition() {
585 return new FunctionAST(Proto, E);
590 static FunctionAST *ParseTopLevelExpr() {
594 return new FunctionAST(Proto, E);
1254 Function *FunctionAST::Codegen() {
1295 if (FunctionAST *
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp269 /// FunctionAST - This class represents a function definition itself.
270 class FunctionAST { class
274 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
310 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
624 static FunctionAST *ParseDefinition() {
630 return new FunctionAST(Proto, E);
635 static FunctionAST *ParseTopLevelExpr() {
639 return new FunctionAST(Proto, E);
1537 Function *FunctionAST::Codegen() {
1582 if (FunctionAST *
[all...]

Completed in 71 milliseconds