/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 80 class ExprAST { class 82 virtual ~ExprAST() {} in ~ExprAST() 86 class NumberExprAST : public ExprAST { 92 class VariableExprAST : public ExprAST { 99 class BinaryExprAST : public ExprAST { 101 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) {} in BinaryExprAST() 105 class CallExprAST : public ExprAST { 107 std::vector<ExprAST*> Args; 109 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args) in CallExprAST() 128 FunctionAST(PrototypeAST *proto, ExprAST *body) {} in FunctionAST() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy-jit.cpp | 127 class ExprAST { class 129 virtual ~ExprAST() {} in ~ExprAST() 134 class NumberExprAST : public ExprAST { 142 class VariableExprAST : public ExprAST { 151 class UnaryExprAST : public ExprAST { 153 ExprAST *Operand; 155 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 161 class BinaryExprAST : public ExprAST { 163 ExprAST *LHS, *RHS; 165 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
D | toy.cpp | 134 class ExprAST { class 136 virtual ~ExprAST() {} in ~ExprAST() 141 class NumberExprAST : public ExprAST { 149 class VariableExprAST : public ExprAST { 158 class UnaryExprAST : public ExprAST { 160 ExprAST *Operand; 162 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 168 class BinaryExprAST : public ExprAST { 170 ExprAST *LHS, *RHS; 172 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 129 class ExprAST { class 131 virtual ~ExprAST() {} in ~ExprAST() 136 class NumberExprAST : public ExprAST { 145 class VariableExprAST : public ExprAST { 155 class UnaryExprAST : public ExprAST { 157 ExprAST *Operand; 160 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 166 class BinaryExprAST : public ExprAST { 168 ExprAST *LHS, *RHS; 171 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy-jit.cpp | 112 class ExprAST { class 114 virtual ~ExprAST() {} in ~ExprAST() 119 class NumberExprAST : public ExprAST { 127 class VariableExprAST : public ExprAST { 136 class UnaryExprAST : public ExprAST { 138 ExprAST *Operand; 140 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 146 class BinaryExprAST : public ExprAST { 148 ExprAST *LHS, *RHS; 150 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
D | toy.cpp | 113 class ExprAST { class 115 virtual ~ExprAST() {} in ~ExprAST() 120 class NumberExprAST : public ExprAST { 128 class VariableExprAST : public ExprAST { 137 class UnaryExprAST : public ExprAST { 139 ExprAST *Operand; 141 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 147 class BinaryExprAST : public ExprAST { 149 ExprAST *LHS, *RHS; 151 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 124 class ExprAST { class 126 virtual ~ExprAST() {} in ~ExprAST() 131 class NumberExprAST : public ExprAST { 140 class VariableExprAST : public ExprAST { 149 class UnaryExprAST : public ExprAST { 151 ExprAST *Operand; 154 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 160 class BinaryExprAST : public ExprAST { 162 ExprAST *LHS, *RHS; 165 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 116 class ExprAST { class 118 virtual ~ExprAST() {} in ~ExprAST() 123 class NumberExprAST : public ExprAST { 132 class VariableExprAST : public ExprAST { 141 class BinaryExprAST : public ExprAST { 143 ExprAST *LHS, *RHS; 146 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() 152 class CallExprAST : public ExprAST { 154 std::vector<ExprAST *> Args; 157 CallExprAST(const std::string &callee, std::vector<ExprAST *> &args) in CallExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 92 class ExprAST; 101 void emitLocation(ExprAST *AST); 204 class ExprAST { class 210 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {} in ExprAST() function in __anon664ddea60211::ExprAST 214 virtual ~ExprAST() {} in ~ExprAST() 219 class NumberExprAST : public ExprAST { 225 return ExprAST::dump(out << Val, ind); in dump() 231 class VariableExprAST : public ExprAST { 236 : ExprAST(Loc), Name(name) {} in VariableExprAST() 239 return ExprAST::dump(out << Name, ind); in dump() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 85 class ExprAST { class 87 virtual ~ExprAST() {} in ~ExprAST() 92 class NumberExprAST : public ExprAST { 100 class VariableExprAST : public ExprAST { 108 class BinaryExprAST : public ExprAST { 110 ExprAST *LHS, *RHS; 112 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() 118 class CallExprAST : public ExprAST { 120 std::vector<ExprAST*> Args; 122 CallExprAST(const std::string &callee, std::vector<ExprAST*> &args) in CallExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 111 class ExprAST { class 113 virtual ~ExprAST() {} in ~ExprAST() 118 class NumberExprAST : public ExprAST { 126 class VariableExprAST : public ExprAST { 135 class UnaryExprAST : public ExprAST { 137 ExprAST *Operand; 139 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 145 class BinaryExprAST : public ExprAST { 147 ExprAST *LHS, *RHS; 149 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 153 class ExprAST { class 155 virtual ~ExprAST() {} in ~ExprAST() 160 class NumberExprAST : public ExprAST { 168 class VariableExprAST : public ExprAST { 177 class UnaryExprAST : public ExprAST { 179 ExprAST *Operand; 181 UnaryExprAST(char opcode, ExprAST *operand) in UnaryExprAST() 187 class BinaryExprAST : public ExprAST { 189 ExprAST *LHS, *RHS; 191 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 98 class ExprAST { class 100 virtual ~ExprAST() {} in ~ExprAST() 105 class NumberExprAST : public ExprAST { 114 class VariableExprAST : public ExprAST { 123 class BinaryExprAST : public ExprAST { 125 ExprAST *LHS, *RHS; 128 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) in BinaryExprAST() 134 class CallExprAST : public ExprAST { 136 std::vector<ExprAST *> Args; 139 CallExprAST(const std::string &callee, std::vector<ExprAST *> &args) in CallExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 119 struct ExprAST { struct 120 virtual ~ExprAST() {} in ~ExprAST() argument 125 struct NumberExprAST : public ExprAST { 133 struct VariableExprAST : public ExprAST { 141 struct UnaryExprAST : public ExprAST { 142 UnaryExprAST(char Opcode, std::unique_ptr<ExprAST> Operand) in UnaryExprAST() 148 std::unique_ptr<ExprAST> Operand; 152 struct BinaryExprAST : public ExprAST { 153 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, in BinaryExprAST() 154 std::unique_ptr<ExprAST> RHS) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 119 struct ExprAST { struct 120 virtual ~ExprAST() {} in ~ExprAST() argument 125 struct NumberExprAST : public ExprAST { 133 struct VariableExprAST : public ExprAST { 141 struct UnaryExprAST : public ExprAST { 142 UnaryExprAST(char Opcode, std::unique_ptr<ExprAST> Operand) in UnaryExprAST() 148 std::unique_ptr<ExprAST> Operand; 152 struct BinaryExprAST : public ExprAST { 153 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, in BinaryExprAST() 154 std::unique_ptr<ExprAST> RHS) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 119 struct ExprAST { struct 120 virtual ~ExprAST() {} in ~ExprAST() argument 125 struct NumberExprAST : public ExprAST { 133 struct VariableExprAST : public ExprAST { 141 struct UnaryExprAST : public ExprAST { 142 UnaryExprAST(char Opcode, std::unique_ptr<ExprAST> Operand) in UnaryExprAST() 148 std::unique_ptr<ExprAST> Operand; 152 struct BinaryExprAST : public ExprAST { 153 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, in BinaryExprAST() 154 std::unique_ptr<ExprAST> RHS) in BinaryExprAST() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 120 struct ExprAST { struct 121 virtual ~ExprAST() {} in ~ExprAST() argument 126 struct NumberExprAST : public ExprAST { 134 struct VariableExprAST : public ExprAST { 142 struct UnaryExprAST : public ExprAST { 143 UnaryExprAST(char Opcode, std::unique_ptr<ExprAST> Operand) in UnaryExprAST() 149 std::unique_ptr<ExprAST> Operand; 153 struct BinaryExprAST : public ExprAST { 154 BinaryExprAST(char Op, std::unique_ptr<ExprAST> LHS, in BinaryExprAST() 155 std::unique_ptr<ExprAST> RHS) in BinaryExprAST() [all …]
|
/external/llvm/docs/tutorial/ |
D | LangImpl2.rst | 38 /// ExprAST - Base class for all expression nodes. 39 class ExprAST { 41 virtual ~ExprAST() {} 45 class NumberExprAST : public ExprAST { 51 The code above shows the definition of the base ExprAST class and one 66 class VariableExprAST : public ExprAST { 73 class BinaryExprAST : public ExprAST { 75 ExprAST *LHS, *RHS; 77 BinaryExprAST(char op, ExprAST *lhs, ExprAST *rhs) 82 class CallExprAST : public ExprAST { [all …]
|
D | LangImpl5.rst | 92 class IfExprAST : public ExprAST { 93 ExprAST *Cond, *Then, *Else; 95 IfExprAST(ExprAST *cond, ExprAST *then, ExprAST *_else) 112 static ExprAST *ParseIfExpr() { 116 ExprAST *Cond = ParseExpression(); 123 ExprAST *Then = ParseExpression(); 131 ExprAST *Else = ParseExpression(); 141 static ExprAST *ParsePrimary() { 465 class ForExprAST : public ExprAST { 467 ExprAST *Start, *End, *Step, *Body; [all …]
|
D | LangImpl6.rst | 306 class UnaryExprAST : public ExprAST { 308 ExprAST *Operand; 310 UnaryExprAST(char opcode, ExprAST *operand) 325 static ExprAST *ParseUnary() { 333 if (ExprAST *Operand = ParseUnary()) 353 static ExprAST *ParseBinOpRHS(int ExprPrec, ExprAST *LHS) { 356 ExprAST *RHS = ParseUnary(); 363 static ExprAST *ParseExpression() { 364 ExprAST *LHS = ParseUnary();
|
D | LangImpl7.rst | 665 class VarExprAST : public ExprAST { 666 std::vector<std::pair<std::string, ExprAST*> > VarNames; 667 ExprAST *Body; 669 VarExprAST(const std::vector<std::pair<std::string, ExprAST*> > &varnames, 670 ExprAST *body) 693 static ExprAST *ParsePrimary() { 711 static ExprAST *ParseVarExpr() { 714 std::vector<std::pair<std::string, ExprAST*> > VarNames; 730 ExprAST *Init = 0; 758 ExprAST *Body = ParseExpression(); [all …]
|
D | LangImpl3.rst | 34 /// ExprAST - Base class for all expression nodes. 35 class ExprAST { 37 virtual ~ExprAST() {} 42 class NumberExprAST : public ExprAST { 62 Note that instead of adding virtual methods to the ExprAST class
|
D | LangImpl8.rst | 306 class ExprAST { 312 ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {} 332 void DebugInfo::emitLocation(ExprAST *AST) {
|
D | OCamlLangImpl2.rst | 44 The code above shows the definition of the base ExprAST class and one
|