Searched refs:FunctionAST (Results 1 - 6 of 6) 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.cpp128 /// FunctionAST - This class represents a function definition itself.
129 class FunctionAST { class
133 FunctionAST(PrototypeAST *proto, ExprAST *body) function in class:FunctionAST
168 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
306 static FunctionAST *ParseDefinition() {
312 return new FunctionAST(Proto, E);
317 static FunctionAST *ParseTopLevelExpr() {
321 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...]

Completed in 112 milliseconds