Lines Matching refs:Mapper
401 void findCandidates(InstructionMapper &Mapper,
411 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum);
415 InstructionMapper &Mapper,
437 void populateMapper(InstructionMapper &Mapper, Module &M,
529 InstructionMapper &Mapper, std::vector<OutlinedFunction> &FunctionList) { in findCandidates() argument
531 SuffixTree ST(Mapper.UnsignedVec); in findCandidates()
570 MachineBasicBlock::iterator StartIt = Mapper.InstrList[StartIdx]; in findCandidates()
571 MachineBasicBlock::iterator EndIt = Mapper.InstrList[EndIdx]; in findCandidates()
576 Mapper.MBBFlagsMap[MBB]); in findCandidates()
610 Module &M, OutlinedFunction &OF, InstructionMapper &Mapper, unsigned Name) { in createOutlinedFunction() argument
750 InstructionMapper &Mapper, in outline() argument
766 erase_if(OF.Candidates, [&Mapper](Candidate &C) { in outline()
768 Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
769 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
779 OF.MF = createOutlinedFunction(M, OF, Mapper, OutlinedFunctionNum); in outline()
862 llvm::make_range(Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
863 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1)) in outline()
876 void MachineOutliner::populateMapper(InstructionMapper &Mapper, Module &M, in populateMapper() argument
925 Mapper.convertToUnsignedVec(MBB, *TII); in populateMapper()
929 UnsignedVecSize = Mapper.UnsignedVec.size(); in populateMapper()
1049 InstructionMapper Mapper; in doOutline() local
1052 populateMapper(Mapper, M, MMI); in doOutline()
1056 findCandidates(Mapper, FunctionList); in doOutline()
1074 outline(M, FunctionList, Mapper, OutlinedFunctionNum); in doOutline()