Lines Matching refs:LTS
66 LoopToScevMapT <S, in trySynthesizeNewValue() argument
78 const SCEV *NewScev = SCEVLoopAddRecRewriter::rewrite(Scev, LTS, SE); in trySynthesizeNewValue()
98 LoopToScevMapT <S, Loop *L) const { in getNewValue() argument
192 New = trySynthesizeNewValue(Stmt, Old, BBMap, LTS, L); in getNewValue()
215 ValueMapT &BBMap, LoopToScevMapT <S) { in copyInstScalar() argument
227 getNewValue(Stmt, OldOperand, BBMap, LTS, getLoopForStmt(Stmt)); in copyInstScalar()
257 ValueMapT &BBMap, LoopToScevMapT <S, in generateLocationAccessed() argument
262 Inst.isNull() ? nullptr : Inst.getPointerOperand(), BBMap, LTS, in generateLocationAccessed()
268 LoopToScevMapT <S, isl_id_to_ast_expr *NewAccesses, __isl_take isl_id *Id, in generateLocationAccessed() argument
291 return getNewValue(Stmt, Pointer, BBMap, LTS, L); in generateLocationAccessed()
296 LoopToScevMapT <S, ValueMapT &BBMap, in getImplicitAddress() argument
300 LTS, NewAccesses, Access.getId().release(), in getImplicitAddress()
312 ValueMapT &BBMap, LoopToScevMapT <S, in generateArrayLoad() argument
318 generateLocationAccessed(Stmt, Load, BBMap, LTS, NewAccesses); in generateArrayLoad()
330 ValueMapT &BBMap, LoopToScevMapT <S, in generateArrayStore() argument
338 generateLocationAccessed(Stmt, Store, BBMap, LTS, NewAccesses); in generateArrayStore()
340 LTS, getLoopForStmt(Stmt)); in generateArrayStore()
357 ValueMapT &BBMap, LoopToScevMapT <S, in copyInstruction() argument
369 Value *NewLoad = generateArrayLoad(Stmt, Load, BBMap, LTS, NewAccesses); in copyInstruction()
381 generateArrayStore(Stmt, Store, BBMap, LTS, NewAccesses); in copyInstruction()
386 copyPHIInstruction(Stmt, PHI, BBMap, LTS); in copyInstruction()
395 copyInstScalar(Stmt, Inst, BBMap, LTS); in copyInstruction()
416 void BlockGenerator::copyStmt(ScopStmt &Stmt, LoopToScevMapT <S, in copyStmt() argument
424 copyBB(Stmt, BB, BBMap, LTS, NewAccesses); in copyStmt()
436 ValueMapT &BBMap, LoopToScevMapT <S, in copyBB() argument
440 generateScalarLoads(Stmt, LTS, BBMap, NewAccesses); in copyBB()
441 generateBeginStmtTrace(Stmt, LTS, BBMap); in copyBB()
443 copyBB(Stmt, BB, CopyBB, BBMap, LTS, NewAccesses); in copyBB()
447 generateScalarStores(Stmt, LTS, BBMap, NewAccesses); in copyBB()
452 ValueMapT &BBMap, LoopToScevMapT <S, in copyBB() argument
463 copyInstruction(Stmt, Inst, BBMap, LTS, NewAccesses); in copyBB()
466 copyInstruction(Stmt, &Inst, BBMap, LTS, NewAccesses); in copyBB()
558 ScopStmt &Stmt, LoopToScevMapT <S, ValueMapT &BBMap, in generateScalarLoads() argument
573 getImplicitAddress(*MA, getLoopForStmt(Stmt), LTS, BBMap, NewAccesses); in generateScalarLoads()
661 void BlockGenerator::generateBeginStmtTrace(ScopStmt &Stmt, LoopToScevMapT <S, in generateBeginStmtTrace() argument
716 Values.push_back(getNewValue(Stmt, Inst, BBMap, LTS, in generateBeginStmtTrace()
739 Values.push_back(getNewValue(Stmt, OpInst, BBMap, LTS, in generateBeginStmtTrace()
757 ScopStmt &Stmt, LoopToScevMapT <S, ValueMapT &BBMap, in generateScalarStores() argument
788 auto Address = getImplicitAddress(*MA, getLoopForStmt(Stmt), LTS, in generateScalarStores()
791 Val = getNewValue(Stmt, Val, BBMap, LTS, L); in generateScalarStores()
1457 void RegionGenerator::copyStmt(ScopStmt &Stmt, LoopToScevMapT <S, in copyStmt() argument
1483 generateScalarLoads(Stmt, LTS, EntryBBMap, IdToAstExp); in copyStmt()
1484 generateBeginStmtTrace(Stmt, LTS, EntryBBMap); in copyStmt()
1521 copyBB(Stmt, BB, BBCopy, RegionMap, LTS, IdToAstExp); in copyStmt()
1529 addOperandToPHI(Stmt, PHINodePair.first, PHINodePair.second, BB, LTS); in copyStmt()
1575 copyInstScalar(Stmt, TI, RegionMap, LTS); in copyStmt()
1608 LTS[L] = SE.getUnknown(LoopPHI); in copyStmt()
1615 generateScalarStores(Stmt, LTS, ValueMap, IdToAstExp); in copyStmt()
1622 PHINode *RegionGenerator::buildExitPHI(MemoryAccess *MA, LoopToScevMapT <S, in buildExitPHI() argument
1656 getNewValue(*Stmt, OrigIncomingValue, *LocalBBMap, LTS, L); in buildExitPHI()
1663 Value *RegionGenerator::getExitScalar(MemoryAccess *MA, LoopToScevMapT <S, in getExitScalar() argument
1678 return getNewValue(*Stmt, OldVal, BBMap, LTS, L); in getExitScalar()
1681 return buildExitPHI(MA, LTS, BBMap, L); in getExitScalar()
1687 return getNewValue(*Stmt, OldVal, BBMap, LTS, L); in getExitScalar()
1691 ScopStmt &Stmt, LoopToScevMapT <S, ValueMapT &BBMap, in generateScalarStores() argument
1709 Value *NewVal = getExitScalar(MA, LTS, BBMap); in generateScalarStores()
1723 Value *Address = getImplicitAddress(*MA, getLoopForStmt(Stmt), LTS, in generateScalarStores()
1740 LoopToScevMapT <S) { in addOperandToPHI() argument
1767 OpCopy = getNewValue(Stmt, Op, BBCopyMap, LTS, getLoopForStmt(Stmt)); in addOperandToPHI()
1779 OpCopy = getNewValue(Stmt, PHI, BBCopyMap, LTS, getLoopForStmt(Stmt)); in addOperandToPHI()
1788 LoopToScevMapT <S) { in copyPHIInstruction() argument
1796 addOperandToPHI(Stmt, PHI, PHICopy, IncomingBB, LTS); in copyPHIInstruction()