Lines Matching refs:InstrMap
122 InstrMapTy InstrMap; in generatePipelinedLoop() local
139 InstrMap[NewMI] = CI; in generatePipelinedLoop()
150 InstrMap[NewMI] = &*I; in generatePipelinedLoop()
158 InstrMap, MaxStageCount, MaxStageCount, false); in generatePipelinedLoop()
159 generatePhis(KernelBB, PrologBBs.back(), KernelBB, KernelBB, VRMap, InstrMap, in generatePipelinedLoop()
195 InstrMapTy InstrMap; in generateProlog() local
223 InstrMap[NewMI] = &*BBI; in generateProlog()
227 rewritePhiValues(NewBB, i, VRMap, InstrMap); in generateProlog()
270 InstrMapTy InstrMap; in generateEpilog() local
300 InstrMap[NewMI] = In; in generateEpilog()
305 InstrMap, LastStage, EpilogStage, i == 1); in generateEpilog()
306 generatePhis(NewBB, PrologBBs[i - 1], PredBB, KernelBB, VRMap, InstrMap, in generateEpilog()
366 MachineBasicBlock *KernelBB, ValueMapTy *VRMap, InstrMapTy &InstrMap, in generateExistingPhis() argument
405 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, 0, &*BBI, Def, in generateExistingPhis()
528 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, in generateExistingPhis()
556 InstrMap[NewPhi] = &*BBI; in generateExistingPhis()
564 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, Def, in generateExistingPhis()
569 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, R, in generateExistingPhis()
588 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, NumPhis, &*BBI, Def, in generateExistingPhis()
604 MachineBasicBlock *KernelBB, ValueMapTy *VRMap, InstrMapTy &InstrMap, in generatePhis() argument
672 InstrMap[NewPhi] = &*BBI; in generatePhis()
677 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, PhiOp1, in generatePhis()
679 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, PhiOp2, in generatePhis()
687 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, Def, in generatePhis()
1114 InstrMapTy &InstrMap) { in rewritePhiValues() argument
1131 rewriteScheduledInstr(NewBB, InstrMap, StageNum - np, np, &PHI, PhiDef, in rewritePhiValues()
1141 MachineBasicBlock *BB, InstrMapTy &InstrMap, unsigned CurStageNum, in rewriteScheduledInstr() argument
1162 InstrMapTy::iterator OrigInstr = InstrMap.find(UseMI); in rewriteScheduledInstr()
1163 assert(OrigInstr != InstrMap.end() && "Instruction not scheduled."); in rewriteScheduledInstr()