reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
434 for (unsigned np = 0; np < NumPhis; ++np) { 434 for (unsigned np = 0; np < NumPhis; ++np) { 438 if (np > PrologStage || StageScheduled >= (int)LastStageNum) 441 else if (PrologStage >= AccessStage + StageDiff + np && 442 VRMap[PrologStage - StageDiff - np].count(LoopVal) != 0) 443 PhiOp1 = VRMap[PrologStage - StageDiff - np][LoopVal]; 446 else if (PrologStage >= AccessStage + StageDiff + np) { 454 if ((int)(PrologStage - StageDiff - np) < PhiStage + Indirects) 461 if (PhiOpStage != -1 && PrologStage - StageAdj >= Indirects + np && 462 VRMap[PrologStage - StageAdj - Indirects - np].count(PhiOp1)) { 463 PhiOp1 = VRMap[PrologStage - StageAdj - Indirects - np][PhiOp1]; 487 if (np == 0 && PrevStage == LastStageNum && 493 else if (np > 0 && PrevStage == LastStageNum && 494 VRMap[PrevStage - np + 1].count(Def)) 495 PhiOp2 = VRMap[PrevStage - np + 1][Def]; 498 VRMap[PrevStage - StageDiffAdj - np].count(LoopVal)) 499 PhiOp2 = VRMap[PrevStage - StageDiffAdj - np][LoopVal]; 502 else if (VRMap[PrevStage - np].count(Def) && 505 PhiOp2 = VRMap[PrevStage - np][Def]; 513 if (static_cast<int>(PrologStage - np) >= StageScheduled) { 518 if (LVNumStages > (int)np && VRMap[CurStageNum].count(LoopVal)) { 525 if (VRMap[ReuseStage - np].count(LoopVal)) { 526 NewReg = VRMap[ReuseStage - np][LoopVal]; 528 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, 531 VRMap[CurStageNum - np][Def] = NewReg; 533 if (VRMap[LastStageNum - np - 1].count(LoopVal)) 534 PhiOp2 = VRMap[LastStageNum - np - 1][LoopVal]; 536 if (IsLast && np == NumPhis - 1) 543 VRMap[CurStageNum - StageDiff - np].count(LoopVal)) 544 PhiOp2 = VRMap[CurStageNum - StageDiff - np][LoopVal]; 555 if (np == 0) 562 if (InKernel && VRMap[PrevStage - np].count(LoopVal)) 563 PrevReg = VRMap[PrevStage - np][LoopVal]; 564 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, Def, 567 if (VRMap[CurStageNum - np].count(Def)) { 568 unsigned R = VRMap[CurStageNum - np][Def]; 569 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, R, 576 if (IsLast && np == NumPhis - 1) 584 VRMap[CurStageNum - np][Def] = NewReg;