Lines Matching refs:Mapper
388 void findCandidates(InstructionMapper &Mapper,
398 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum);
402 InstructionMapper &Mapper,
424 void populateMapper(InstructionMapper &Mapper, Module &M,
516 InstructionMapper &Mapper, std::vector<OutlinedFunction> &FunctionList) { in findCandidates() argument
518 SuffixTree ST(Mapper.UnsignedVec); in findCandidates()
559 MachineBasicBlock::iterator StartIt = Mapper.InstrList[StartIdx]; in findCandidates()
560 MachineBasicBlock::iterator EndIt = Mapper.InstrList[EndIdx]; in findCandidates()
565 Mapper.MBBFlagsMap[MBB]); in findCandidates()
599 Module &M, OutlinedFunction &OF, InstructionMapper &Mapper, unsigned Name) { in createOutlinedFunction() argument
738 InstructionMapper &Mapper, in outline() argument
754 erase_if(OF.Candidates, [&Mapper](Candidate &C) { in outline()
756 Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
757 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
767 OF.MF = createOutlinedFunction(M, OF, Mapper, OutlinedFunctionNum); in outline()
846 std::for_each(Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
847 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
860 void MachineOutliner::populateMapper(InstructionMapper &Mapper, Module &M, in populateMapper() argument
909 Mapper.convertToUnsignedVec(MBB, *TII); in populateMapper()
1030 InstructionMapper Mapper; in doOutline() local
1033 populateMapper(Mapper, M, MMI); in doOutline()
1037 findCandidates(Mapper, FunctionList); in doOutline()
1055 outline(M, FunctionList, Mapper, OutlinedFunctionNum); in doOutline()