Home
last modified time | relevance | path

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

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp39 static double NumVal; // Filled in if tok_number variable
68 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
204 auto Result = helper::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/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/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/Chapter6/
Dtoy.cpp50 static double NumVal; // Filled in if tok_number variable
93 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
288 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
543 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
545 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp53 static double NumVal; // Filled in if tok_number variable
98 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
307 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
613 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
615 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp33 static double NumVal; // Filled in if tok_number variable
62 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
207 auto Result = llvm::make_unique<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/Chapter4/
Dtoy.cpp39 static double NumVal; // Filled in if tok_number variable
68 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
213 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/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/initial/
Dtoy.cpp54 static double NumVal; // Filled in if tok_number variable
89 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
588 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
590 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(), nullptr); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
588 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
590 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp119 static double NumVal; // Filled in if tok_number variable
166 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
444 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
757 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
759 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(), nullptr); in gettok()
327 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
588 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
590 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(), nullptr); in gettok()
328 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/Chapter5/
Dtoy.cpp46 static double NumVal; // Filled in if tok_number variable
85 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
255 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/external/llvm/docs/tutorial/
DLangImpl1.rst181 static double NumVal; // Filled in if tok_number
187 the current token is a numeric literal (like 1.0), ``NumVal`` holds its
242 NumVal = strtod(NumStr.c_str(), 0);
248 convert it to a numeric value that we store in ``NumVal``. Note that
DLangImpl6.rst196 if (NumVal < 1 || NumVal > 100)
198 BinaryPrecedence = (unsigned)NumVal;
DLangImpl2.rst209 auto Result = llvm::make_unique<NumberExprAST>(NumVal);