Home
last modified time | relevance | path

Searched refs:NumVal (Results 1 – 15 of 15) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp24 static double NumVal; // Filled in if tok_number variable
51 NumVal = strtod(NumStr.c_str(), 0); in gettok()
200 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp43 static double NumVal; // Filled in if tok_number variable
77 NumVal = strtod(NumStr.c_str(), 0); in gettok()
284 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
483 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
485 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp29 static double NumVal; // Filled in if tok_number variable
56 NumVal = strtod(NumStr.c_str(), 0); in gettok()
220 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp46 static double NumVal; // Filled in if tok_number variable
81 NumVal = strtod(NumStr.c_str(), 0); in gettok()
302 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
548 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
550 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp64 static double NumVal; // Filled in if tok_number variable
99 NumVal = strtod(NumStr.c_str(), 0); in gettok()
320 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
566 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
568 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
Dtoy.cpp70 static double NumVal; // Filled in if tok_number variable
105 NumVal = strtod(NumStr.c_str(), 0); in gettok()
326 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
572 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
574 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp49 static double NumVal; // Filled in if tok_number variable
84 NumVal = strtod(NumStr.c_str(), 0); in gettok()
305 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
551 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
553 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
Dtoy.cpp49 static double NumVal; // Filled in if tok_number variable
84 NumVal = strtod(NumStr.c_str(), 0); in gettok()
305 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
551 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
553 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp36 static double NumVal; // Filled in if tok_number variable
63 NumVal = strtod(NumStr.c_str(), 0); in gettok()
227 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp47 static double NumVal; // Filled in if tok_number variable
82 NumVal = strtod(NumStr.c_str(), 0); in gettok()
303 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
549 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
551 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp94 static double NumVal; // Filled in if tok_number variable
129 NumVal = strtod(NumStr.c_str(), 0); in gettok()
350 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
596 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
598 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp40 static double NumVal; // Filled in if tok_number variable
72 NumVal = strtod(NumStr.c_str(), 0); in gettok()
256 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/docs/tutorial/
DLangImpl1.rst172 static double NumVal; // Filled in if tok_number
178 the current token is a numeric literal (like 1.0), ``NumVal`` holds its
231 NumVal = strtod(NumStr.c_str(), 0);
237 convert it to a numeric value that we store in ``NumVal``. Note that
DLangImpl6.rst189 if (NumVal < 1 || NumVal > 100)
191 BinaryPrecedence = (unsigned)NumVal;
DLangImpl2.rst194 ExprAST *Result = new NumberExprAST(NumVal);