Lines Matching refs:Mapper
386 void findCandidates(InstructionMapper &Mapper,
396 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum);
400 InstructionMapper &Mapper,
422 void populateMapper(InstructionMapper &Mapper, Module &M,
514 InstructionMapper &Mapper, std::vector<OutlinedFunction> &FunctionList) { in findCandidates() argument
516 SuffixTree ST(Mapper.UnsignedVec); in findCandidates()
555 MachineBasicBlock::iterator StartIt = Mapper.InstrList[StartIdx]; in findCandidates()
556 MachineBasicBlock::iterator EndIt = Mapper.InstrList[EndIdx]; in findCandidates()
561 Mapper.MBBFlagsMap[MBB]); in findCandidates()
595 Module &M, OutlinedFunction &OF, InstructionMapper &Mapper, unsigned Name) { in createOutlinedFunction() argument
734 InstructionMapper &Mapper, in outline() argument
750 erase_if(OF.Candidates, [&Mapper](Candidate &C) { in outline()
752 Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
753 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
763 OF.MF = createOutlinedFunction(M, OF, Mapper, OutlinedFunctionNum); in outline()
842 std::for_each(Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
843 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
856 void MachineOutliner::populateMapper(InstructionMapper &Mapper, Module &M, in populateMapper() argument
905 Mapper.convertToUnsignedVec(MBB, *TII); in populateMapper()
1026 InstructionMapper Mapper; in doOutline() local
1029 populateMapper(Mapper, M, MMI); in doOutline()
1033 findCandidates(Mapper, FunctionList); in doOutline()
1051 outline(M, FunctionList, Mapper, OutlinedFunctionNum); in doOutline()