Home
last modified time | relevance | path

Searched refs:NumVal (Results 1 – 6 of 6) 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()
208 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/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/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()