Lines Matching defs:Mapper
493 /// \param Mapper Contains outlining mapping information.
497 findCandidates(InstructionMapper &Mapper,
503 /// \param Mapper Contains outlining mapping information.
507 InstructionMapper &Mapper,
515 /// \param Mapper Contains the instruction mappings for the module.
519 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum);
523 InstructionMapper &Mapper,
556 void populateMapper(InstructionMapper &Mapper, Module &M);
658 static SmallVector<MatchedEntry> getMatchedEntries(InstructionMapper &Mapper) {
659 auto &InstrList = Mapper.InstrList;
660 auto &UnsignedVec = Mapper.UnsignedVec;
670 if (UnsignedVec[Index] >= Mapper.LegalInstrNumber)
713 InstructionMapper &Mapper,
716 auto &InstrList = Mapper.InstrList;
717 auto &MBBFlagsMap = Mapper.MBBFlagsMap;
720 for (auto &ME : getMatchedEntries(Mapper)) {
745 InstructionMapper &Mapper,
748 SuffixTree ST(Mapper.UnsignedVec, OutlinerLeafDescendants);
809 MachineBasicBlock::iterator StartIt = Mapper.InstrList[StartIdx];
810 MachineBasicBlock::iterator EndIt = Mapper.InstrList[EndIdx];
814 Mapper.MBBFlagsMap[MBB]);
888 Module &M, OutlinedFunction &OF, InstructionMapper &Mapper, unsigned Name) {
1029 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum) {
1045 auto *UnsignedVecBegin = Mapper.UnsignedVec.begin();
1080 OF->MF = createOutlinedFunction(M, *OF, Mapper, OutlinedFunctionNum);
1189 void MachineOutliner::populateMapper(InstructionMapper &Mapper, Module &M) {
1254 Mapper.convertToUnsignedVec(MBB, *TII);
1258 UnsignedVecSize = Mapper.UnsignedVec.size();
1431 InstructionMapper Mapper(*MMI);
1434 populateMapper(Mapper, M);
1439 findGlobalCandidates(Mapper, FunctionList);
1441 findCandidates(Mapper, FunctionList);
1459 outline(M, FunctionList, Mapper, OutlinedFunctionNum);