Home
last modified time | relevance | path

Searched refs:BinopPrecedence (Results 1 – 6 of 6) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp152 static std::map<char, int> BinopPrecedence; variable
160 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
385 BinopPrecedence['<'] = 10; in main()
386 BinopPrecedence['+'] = 20; in main()
387 BinopPrecedence['-'] = 20; in main()
388 BinopPrecedence['*'] = 40; // highest. in main()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp164 static std::map<char, int> BinopPrecedence; variable
172 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
544 BinopPrecedence['<'] = 10; in main()
545 BinopPrecedence['+'] = 20; in main()
546 BinopPrecedence['-'] = 20; in main()
547 BinopPrecedence['*'] = 40; // highest. in main()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp171 static std::map<char, int> BinopPrecedence; variable
179 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
563 BinopPrecedence['<'] = 10; in main()
564 BinopPrecedence['+'] = 20; in main()
565 BinopPrecedence['-'] = 20; in main()
566 BinopPrecedence['*'] = 40; // highest. in main()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp228 static std::map<char, int> BinopPrecedence; variable
236 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
809 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
832 BinopPrecedence.erase(Proto->getOperatorName()); in Codegen()
926 BinopPrecedence['<'] = 10; in main()
927 BinopPrecedence['+'] = 20; in main()
928 BinopPrecedence['-'] = 20; in main()
929 BinopPrecedence['*'] = 40; // highest. in main()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp246 static std::map<char, int> BinopPrecedence; variable
254 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
969 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
995 BinopPrecedence.erase(Proto->getOperatorName()); in Codegen()
1089 BinopPrecedence['='] = 2; in main()
1090 BinopPrecedence['<'] = 10; in main()
1091 BinopPrecedence['+'] = 20; in main()
1092 BinopPrecedence['-'] = 20; in main()
1093 BinopPrecedence['*'] = 40; // highest. in main()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp200 static std::map<char, int> BinopPrecedence; variable
208 int TokPrec = BinopPrecedence[CurTok]; in GetTokPrecedence()
808 BinopPrecedence['<'] = 10; in main()
809 BinopPrecedence['+'] = 20; in main()
810 BinopPrecedence['-'] = 20; in main()
811 BinopPrecedence['*'] = 40; // highest. in main()