Lines Matching defs:Tokens
188 std::vector<IfcvtToken*> &Tokens);
191 void AnalyzeBlocks(MachineFunction &MF, std::vector<IfcvtToken*> &Tokens);
296 std::vector<IfcvtToken*> Tokens;
304 AnalyzeBlocks(MF, Tokens);
305 while (!Tokens.empty()) {
306 IfcvtToken *Token = Tokens.back();
307 Tokens.pop_back();
401 // Delete tokens in case of early exit.
402 while (!Tokens.empty()) {
403 IfcvtToken *Token = Tokens.back();
404 Tokens.pop_back();
408 Tokens.clear();
751 std::vector<IfcvtToken*> &Tokens) {
784 BBInfo &TrueBBI = AnalyzeBlock(BBI.TrueBB, Tokens);
785 BBInfo &FalseBBI = AnalyzeBlock(BBI.FalseBB, Tokens);
820 Tokens.push_back(new IfcvtToken(BBI, ICDiamond, TNeedSub|FNeedSub, Dups,
836 Tokens.push_back(new IfcvtToken(BBI, ICTriangle, TNeedSub, Dups));
844 Tokens.push_back(new IfcvtToken(BBI, ICTriangleRev, TNeedSub, Dups));
859 Tokens.push_back(new IfcvtToken(BBI, ICSimple, TNeedSub, Dups));
871 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFalse, FNeedSub, Dups));
881 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFRev, FNeedSub, Dups));
890 Tokens.push_back(new IfcvtToken(BBI, ICSimpleFalse, FNeedSub, Dups));
904 std::vector<IfcvtToken*> &Tokens) {
907 AnalyzeBlock(BB, Tokens);
911 std::stable_sort(Tokens.begin(), Tokens.end(), IfcvtTokenCmp);