Lines Matching refs:Tokens
201 void AnalyzeBlock(MachineBasicBlock *MBB, std::vector<IfcvtToken*> &Tokens);
204 void AnalyzeBlocks(MachineFunction &MF, std::vector<IfcvtToken*> &Tokens);
312 std::vector<IfcvtToken*> Tokens; in INITIALIZE_PASS_DEPENDENCY() local
320 AnalyzeBlocks(MF, Tokens); in INITIALIZE_PASS_DEPENDENCY()
321 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY()
322 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY()
323 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY()
418 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY()
419 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY()
420 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY()
424 Tokens.clear(); in INITIALIZE_PASS_DEPENDENCY()
768 std::vector<IfcvtToken*> &Tokens) { in AnalyzeBlock() argument
866 Tokens.push_back(new IfcvtToken(BBI, ICDiamond, TNeedSub|FNeedSub, Dups, in AnalyzeBlock()
882 Tokens.push_back(new IfcvtToken(BBI, ICTriangle, TNeedSub, Dups)); in AnalyzeBlock()
890 Tokens.push_back(new IfcvtToken(BBI, ICTriangleRev, TNeedSub, Dups)); in AnalyzeBlock()
905 Tokens.push_back(new IfcvtToken(BBI, ICSimple, TNeedSub, Dups)); in AnalyzeBlock()
917 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFalse, FNeedSub, Dups)); in AnalyzeBlock()
927 Tokens.push_back(new IfcvtToken(BBI, ICTriangleFRev, FNeedSub, Dups)); in AnalyzeBlock()
936 Tokens.push_back(new IfcvtToken(BBI, ICSimpleFalse, FNeedSub, Dups)); in AnalyzeBlock()
951 std::vector<IfcvtToken*> &Tokens) { in AnalyzeBlocks() argument
953 AnalyzeBlock(&BB, Tokens); in AnalyzeBlocks()
956 std::stable_sort(Tokens.begin(), Tokens.end(), IfcvtTokenCmp); in AnalyzeBlocks()