Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DRegisterBankInfo.cpp684 unsigned NumVal) const { in getNewVRegsEnd()
685 return const_cast<OperandsMapper *>(this)->getNewVRegsEnd(StartIdx, NumVal); in getNewVRegsEnd()
689 unsigned NumVal) { in getNewVRegsEnd() argument
690 assert((NewVRegs.size() == StartIdx + NumVal || in getNewVRegsEnd()
691 NewVRegs.size() > StartIdx + NumVal) && in getNewVRegsEnd()
693 return NewVRegs.size() <= StartIdx + NumVal ? NewVRegs.end() in getNewVRegsEnd()
694 : &NewVRegs[StartIdx + NumVal]; in getNewVRegsEnd()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp29 static double NumVal; // Filled in if tok_number variable
58 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
199 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A 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()
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/
H A 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()
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp64 static double NumVal; // Filled in if tok_number variable
107 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
315 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
570 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
572 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl01.rst85 static double NumVal; // Filled in if tok_number
91 the current token is a numeric literal (like 1.0), ``NumVal`` holds its
146 NumVal = strtod(NumStr.c_str(), 0);
152 convert it to a numeric value that we store in ``NumVal``. Note that
H A DLangImpl06.rst197 if (NumVal < 1 || NumVal > 100)
199 BinaryPrecedence = (unsigned)NumVal;
H A DLangImpl02.rst211 auto Result = std::make_unique<NumberExprAST>(NumVal);
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp70 static double NumVal; // Filled in if tok_number variable
115 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
338 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
644 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
646 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp64 static double NumVal; // Filled in if tok_number variable
109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
332 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
638 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
640 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp69 static double NumVal; // Filled in if tok_number variable
114 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
337 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
643 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
645 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp64 static double NumVal; // Filled in if tok_number variable
109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
332 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
638 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
640 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp64 static double NumVal; // Filled in if tok_number variable
109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
332 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
638 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
640 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp64 static double NumVal; // Filled in if tok_number variable
109 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
315 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
621 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
623 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp42 static double NumVal; // Filled in if tok_number variable
71 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
226 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp52 static double NumVal; // Filled in if tok_number variable
81 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
236 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp120 static double NumVal; // Filled in if tok_number variable
167 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
445 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
758 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
760 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegisterBankInfo.h315 getNewVRegsEnd(unsigned StartIdx, unsigned NumVal) const;
317 unsigned NumVal);
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp60 static double NumVal; // Filled in if tok_number variable
99 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
281 auto Result = std::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()