forked from OSchip/llvm-project
parent
7c494217f3
commit
75bd66e51d
|
@ -444,7 +444,7 @@ class ScopStmt {
|
|||
TempScop &tempScop);
|
||||
__isl_give isl_set *buildDomain(TempScop &tempScop, const Region &CurRegion);
|
||||
void buildScattering(SmallVectorImpl<unsigned> &Scatter);
|
||||
void buildAccesses(TempScop &tempScop, const Region &CurRegion);
|
||||
void buildAccesses(TempScop &tempScop);
|
||||
|
||||
/// @brief Detect and mark reductions in the ScopStmt
|
||||
void checkForReductions();
|
||||
|
|
|
@ -723,7 +723,7 @@ void ScopStmt::buildScattering(SmallVectorImpl<unsigned> &Scatter) {
|
|||
Scattering = isl_map_align_params(Scattering, Parent.getParamSpace());
|
||||
}
|
||||
|
||||
void ScopStmt::buildAccesses(TempScop &tempScop, const Region &CurRegion) {
|
||||
void ScopStmt::buildAccesses(TempScop &tempScop) {
|
||||
for (const auto &AccessPair : *tempScop.getAccessFunctions(BB)) {
|
||||
const IRAccess &Access = AccessPair.first;
|
||||
Instruction *AccessInst = AccessPair.second;
|
||||
|
@ -867,7 +867,7 @@ ScopStmt::ScopStmt(Scop &parent, TempScop &tempScop, const Region &CurRegion,
|
|||
|
||||
Domain = buildDomain(tempScop, CurRegion);
|
||||
buildScattering(Scatter);
|
||||
buildAccesses(tempScop, CurRegion);
|
||||
buildAccesses(tempScop);
|
||||
checkForReductions();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue