Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp25 static double NumVal; // Filled in if tok_number variable
52 NumVal = strtod(NumStr.c_str(), 0); in gettok()
201 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp52 static double NumVal; // Filled in if tok_number variable
95 NumVal = strtod(NumStr.c_str(), 0); in gettok()
321 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
536 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
538 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.cpp71 static double NumVal; // Filled in if tok_number variable
106 NumVal = strtod(NumStr.c_str(), 0); in gettok()
327 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
573 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
575 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp55 static double NumVal; // Filled in if tok_number variable
100 NumVal = strtod(NumStr.c_str(), 0); in gettok()
341 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
607 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
609 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.cpp50 static double NumVal; // Filled in if tok_number variable
85 NumVal = strtod(NumStr.c_str(), 0); in gettok()
306 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
552 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
554 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp30 static double NumVal; // Filled in if tok_number variable
57 NumVal = strtod(NumStr.c_str(), 0); in gettok()
222 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp48 static double NumVal; // Filled in if tok_number variable
83 NumVal = strtod(NumStr.c_str(), 0); in gettok()
304 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
550 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
552 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp106 static double NumVal; // Filled in if tok_number variable
170 NumVal = strtod(NumStr.c_str(), 0); in gettok()
485 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
756 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
758 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp90 static double NumVal; // Filled in if tok_number variable
125 NumVal = strtod(NumStr.c_str(), 0); in gettok()
346 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
592 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
594 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp54 static double NumVal; // Filled in if tok_number variable
89 NumVal = strtod(NumStr.c_str(), 0); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
589 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
591 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp54 static double NumVal; // Filled in if tok_number variable
89 NumVal = strtod(NumStr.c_str(), 0); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
589 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
591 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp54 static double NumVal; // Filled in if tok_number variable
89 NumVal = strtod(NumStr.c_str(), 0); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
589 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
591 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp55 static double NumVal; // Filled in if tok_number variable
90 NumVal = strtod(NumStr.c_str(), 0); in gettok()
328 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
590 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
592 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp40 static double NumVal; // Filled in if tok_number variable
69 NumVal = strtod(NumStr.c_str(), 0); in gettok()
250 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp48 static double NumVal; // Filled in if tok_number variable
87 NumVal = strtod(NumStr.c_str(), 0); in gettok()
290 ExprAST *Result = new NumberExprAST(NumVal); in ParseNumberExpr()
/external/llvm/docs/tutorial/
DLangImpl1.rst179 static double NumVal; // Filled in if tok_number
185 the current token is a numeric literal (like 1.0), ``NumVal`` holds its
238 NumVal = strtod(NumStr.c_str(), 0);
244 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);