Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp548 unsigned NumVal) const { in getNewVRegsEnd()
549 return const_cast<OperandsMapper *>(this)->getNewVRegsEnd(StartIdx, NumVal); in getNewVRegsEnd()
553 unsigned NumVal) { in getNewVRegsEnd() argument
554 assert((NewVRegs.size() == StartIdx + NumVal || in getNewVRegsEnd()
555 NewVRegs.size() > StartIdx + NumVal) && in getNewVRegsEnd()
557 return NewVRegs.size() <= StartIdx + NumVal ? NewVRegs.end() in getNewVRegsEnd()
558 : &NewVRegs[StartIdx + NumVal]; in getNewVRegsEnd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp685 unsigned NumVal) const { in getNewVRegsEnd()
686 return const_cast<OperandsMapper *>(this)->getNewVRegsEnd(StartIdx, NumVal); in getNewVRegsEnd()
690 unsigned NumVal) { in getNewVRegsEnd() argument
691 assert((NewVRegs.size() == StartIdx + NumVal || in getNewVRegsEnd()
692 NewVRegs.size() > StartIdx + NumVal) && in getNewVRegsEnd()
694 return NewVRegs.size() <= StartIdx + NumVal ? NewVRegs.end() in getNewVRegsEnd()
695 : &NewVRegs[StartIdx + NumVal]; in getNewVRegsEnd()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp685 unsigned NumVal) const { in getNewVRegsEnd()
686 return const_cast<OperandsMapper *>(this)->getNewVRegsEnd(StartIdx, NumVal); in getNewVRegsEnd()
690 unsigned NumVal) { in getNewVRegsEnd() argument
691 assert((NewVRegs.size() == StartIdx + NumVal || in getNewVRegsEnd()
692 NewVRegs.size() > StartIdx + NumVal) && in getNewVRegsEnd()
694 return NewVRegs.size() <= StartIdx + NumVal ? NewVRegs.end() in getNewVRegsEnd()
695 : &NewVRegs[StartIdx + NumVal]; in getNewVRegsEnd()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter2/
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()
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp40 static double NumVal; // Filled in if tok_number variable
69 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
205 auto Result = helper::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
/external/llvm-project/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()
/external/llvm-project/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()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter6/
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()
/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()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp62 static double NumVal; // Filled in if tok_number variable
105 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
300 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
555 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
557 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()
/external/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/
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
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp66 static double NumVal; // Filled in if tok_number variable
111 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
320 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
626 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
628 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp66 static double NumVal; // Filled in if tok_number variable
111 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
320 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
626 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
628 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp67 static double NumVal; // Filled in if tok_number variable
112 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
308 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
614 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
616 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp66 static double NumVal; // Filled in if tok_number variable
111 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
320 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
626 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
628 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
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()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
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()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
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()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter8/
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()
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
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()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter7/
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()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp82 static double NumVal; // Filled in if tok_number variable
127 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
323 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
629 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
631 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp66 static double NumVal; // Filled in if tok_number variable
111 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
320 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
626 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
628 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp63 static double NumVal; // Filled in if tok_number variable
108 NumVal = strtod(NumStr.c_str(), nullptr); in gettok()
317 auto Result = llvm::make_unique<NumberExprAST>(NumVal); in ParseNumberExpr()
623 if (NumVal < 1 || NumVal > 100) in ParsePrototype()
625 BinaryPrecedence = (unsigned)NumVal; in ParsePrototype()

12