Home
last modified time | relevance | path

Searched refs:Scop (Results 1 – 25 of 138) sorted by relevance

123456

/external/llvm-project/polly/include/polly/CodeGen/
DIslAst.h41 static IslAst create(Scop &Scop, const Dependences &D);
59 static isl_ast_expr *buildRunCondition(Scop &S,
63 Scop &S;
68 IslAst(Scop &Scop);
112 Scop &S;
116 IslAstInfo(Scop &S, const Dependences &D) : S(S), Ast(IslAst::create(S, D)) {} in IslAstInfo()
179 IslAstInfo run(Scop &S, ScopAnalysisManager &SAM,
195 bool runOnScop(Scop &S) override;
204 void printScop(raw_ostream &OS, Scop &S) const override;
210 PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
DBlockGenerators.h124 void finalizeSCoP(Scop &S);
386 void handleOutsideUsers(const Scop &S, ScopArrayInfo *Array);
396 void findOutsideUsers(Scop &S);
401 void createScalarInitialization(Scop &S);
417 void createExitPHINodeMerges(Scop &S);
424 void createScalarFinalization(Scop &S);
597 void invalidateScalarEvolution(Scop &S);
DUtils.h29 class Scop; variable
69 executeScopConditionally(Scop &S, llvm::Value *RTC, llvm::DominatorTree &DT,
DPerfMonitor.h23 PerfMonitor(const Scop &S, llvm::Module *M);
46 const Scop &S;
/external/llvm-project/polly/include/polly/
DScopPass.h29 class Scop; variable
34 AnalysisManager<Scop, ScopStandardAnalysisResults &>;
38 OuterAnalysisManagerProxy<FunctionAnalysisManager, Scop,
43 using polly::Scop;
83 struct RequireAnalysisPass<AnalysisT, Scop, ScopAnalysisManager,
86 RequireAnalysisPass<AnalysisT, Scop, ScopAnalysisManager,
88 PreservedAnalyses run(Scop &L, ScopAnalysisManager &AM,
102 PassManager<Scop, ScopAnalysisManager, ScopStandardAnalysisResults &,
103 SPMUpdater &>::run(Scop &InitialS, ScopAnalysisManager &AM,
105 extern template class PassManager<Scop, ScopAnalysisManager,
[all …]
DDependenceInfo.h127 bool isValidSchedule(Scop &S, const StatementToIslMapTy &NewSchedules) const;
161 void calculateDependences(Scop &S);
195 Scop &S;
209 Result run(Scop &S, ScopAnalysisManager &SAM,
217 PreservedAnalyses run(Scop &S, ScopAnalysisManager &,
242 bool runOnScop(Scop &S) override;
245 void printScop(raw_ostream &OS, Scop &) const override;
257 Scop *S;
278 const Dependences &getDependences(Scop *S, Dependences::AnalysisLevel Level);
281 const Dependences &recomputeDependences(Scop *S,
[all …]
DSimplify.h33 Scop *S;
111 bool visit(Scop &S, LoopInfo *LI);
113 void printScop(raw_ostream &OS, Scop &S) const;
153 llvm::PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
162 PreservedAnalyses run(Scop &S, ScopAnalysisManager &,
DScopInfo.h210 const DataLayout &DL, Scop *S, const char *BaseName = nullptr);
414 Scop &S;
423 friend class Scop; variable
1149 ScopStmt(Scop &parent, BasicBlock &bb, StringRef Name, Loop *SurroundingLoop,
1160 ScopStmt(Scop &parent, Region &R, StringRef Name, Loop *SurroundingLoop,
1170 ScopStmt(Scop &parent, isl::map SourceRel, isl::map TargetRel,
1182 Scop &Parent;
1533 Scop *getParent() { return &Parent; } in getParent()
1534 const Scop *getParent() const { return &Parent; } in getParent()
1626 bool buildConditionSets(Scop &S, BasicBlock *BB, Value *Condition,
[all …]
DPolyhedralInfo.h30 class Scop; variable
55 const Scop *getScopContainingLoop(llvm::Loop *L) const;
63 __isl_give isl_union_map *getScheduleForLoop(const Scop *S,
DJSONExporter.h19 llvm::PreservedAnalyses run(Scop &, ScopAnalysisManager &,
26 llvm::PreservedAnalyses run(Scop &, ScopAnalysisManager &,
DZoneAlgo.h31 class Scop; variable
63 Scop *S;
164 ZoneAlgorithm(const char *PassName, Scop *S, llvm::LoopInfo *LI);
378 Scop *getScop() const { return S; } in getScop()
/external/llvm-project/polly/lib/Analysis/
DScopInfo.cpp201 static const ScopArrayInfo *identifyBasePtrOriginSAI(Scop *S, Value *BasePtr) { in identifyBasePtrOriginSAI()
226 const DataLayout &DL, Scop *S, in ScopArrayInfo()
1196 ScopStmt::ScopStmt(Scop &parent, Region &R, StringRef Name, in ScopStmt()
1203 ScopStmt::ScopStmt(Scop &parent, BasicBlock &bb, StringRef Name, in ScopStmt()
1210 ScopStmt::ScopStmt(Scop &parent, isl::map SourceRel, isl::map TargetRel, in ScopStmt()
1388 void Scop::setContext(isl::set NewContext) { in setContext()
1429 const Scop *S;
1433 const Scop *S) in SCEVFindInsideScop()
1437 const ValueToValueMap &VMap, const Scop *S) { in hasVariant()
1457 const SCEV *Scop::getRepresentingInvariantLoadSCEV(const SCEV *E) const { in getRepresentingInvariantLoadSCEV()
[all …]
DScopPass.cpp64 template class PassManager<Scop, ScopAnalysisManager,
67 template class OuterAnalysisManagerProxy<FunctionAnalysisManager, Scop,
72 PassManager<Scop, ScopAnalysisManager, ScopStandardAnalysisResults &,
73 SPMUpdater &>::run(Scop &S, ScopAnalysisManager &AM, in run()
86 PA.preserveSet<AllAnalysesOn<Scop>>(); in run()
112 bool allPreserved = PA.allAnalysesInSetPreserved<AllAnalysesOn<Scop>>(); in invalidate()
DPolyhedralInfo.cpp75 const Scop *S = getScopContainingLoop(L); in checkParallel()
79 DI->getDependences(const_cast<Scop *>(S), Dependences::AL_Access); in checkParallel()
101 const Scop *PolyhedralInfo::getScopContainingLoop(Loop *L) const { in getScopContainingLoop()
124 __isl_give isl_union_map *PolyhedralInfo::getScheduleForLoop(const Scop *S, in getScheduleForLoop()
DPruneUnprofitable.cpp45 void updateStatistics(Scop &S, bool Pruned) { in updateStatistics()
72 bool runOnScop(Scop &S) override { in runOnScop()
/external/llvm-project/polly/lib/CodeGen/
DIslAst.cpp348 static isl::ast_expr buildCondition(Scop &S, isl::ast_build Build, in buildCondition()
349 const Scop::MinMaxAccessTy *It0, in buildCondition()
350 const Scop::MinMaxAccessTy *It1) { in buildCondition()
408 IslAst::buildRunCondition(Scop &S, __isl_keep isl_ast_build *Build) { in buildRunCondition()
430 for (const Scop::MinMaxVectorPairTy &MinMaxAccessPair : S.getAliasGroups()) { in buildRunCondition()
442 for (const Scop::MinMaxAccessTy &ROAccIt : MinMaxReadOnly) in buildRunCondition()
460 static bool benefitsFromPolly(Scop &Scop, bool PerformParallelTest) { in benefitsFromPolly() argument
465 if (!PerformParallelTest && !Scop.isOptimized() && in benefitsFromPolly()
466 Scop.getAliasGroups().empty()) in benefitsFromPolly()
508 IslAst::IslAst(Scop &Scop) : S(Scop), Ctx(Scop.getSharedIslCtx()) {} in IslAst() argument
[all …]
/external/llvm-project/polly/lib/Transform/
DMaximalStaticExpansion.cpp48 bool runOnScop(Scop &S) override;
54 void printScop(raw_ostream &OS, Scop &S) const override;
75 SmallPtrSetImpl<MemoryAccess *> &Reads, Scop &S,
82 ScopArrayInfo *expandAccess(Scop &S, MemoryAccess *MA);
89 isl::union_map filterDependences(Scop &S,
102 void mapAccess(Scop &S, SmallPtrSetImpl<MemoryAccess *> &Accesses,
111 void expandPhi(Scop &S, const ScopArrayInfo *SAI,
133 Scop &S, const isl::union_map &Dependences, MemoryAccess *MA) { in filterDependences()
172 SmallPtrSetImpl<MemoryAccess *> &Reads, Scop &S, in isExpandable()
314 void MaximalStaticExpander::mapAccess(Scop &S, in mapAccess()
[all …]
DDeadCodeElimination.cpp59 bool runOnScop(Scop &S) override;
72 isl::union_set getLiveOut(Scop &S);
73 bool eliminateDeadCode(Scop &S, int PreciseSteps);
89 isl::union_set DeadCodeElim::getLiveOut(Scop &S) { in getLiveOut()
113 bool DeadCodeElim::eliminateDeadCode(Scop &S, int PreciseSteps) { in eliminateDeadCode()
159 bool DeadCodeElim::runOnScop(Scop &S) { in runOnScop()
/external/llvm-project/polly/lib/Exchange/
DJSONExporter.cpp58 bool runOnScop(Scop &S) override;
61 void printScop(raw_ostream &OS, Scop &S) const override;
72 bool runOnScop(Scop &S) override;
75 void printScop(raw_ostream &OS, Scop &S) const override;
82 static std::string getFileName(Scop &S, StringRef Suffix = "") { in getFileName()
97 static json::Array exportArrays(const Scop &S) { in exportArrays()
128 static json::Value getJSON(Scop &S) { in getJSON()
174 static void exportScop(Scop &S) { in exportScop()
209 static bool importContext(Scop &S, const json::Object &JScop) { in importContext()
263 static bool importSchedule(Scop &S, const json::Object &JScop, in importSchedule()
[all …]
/external/llvm-project/polly/test/ScopDetect/
Dbase_pointer.ll32 ; CHECK: Valid Region for Scop: pre => return
58 ; CHECK: Valid Region for Scop: for.i => exit
84 ; CHECK-LABEL: Valid Region for Scop: for.i => exit
112 ; CHECK: Valid Region for Scop: for.i => exit
141 ; CHECK: Valid Region for Scop: for.i => exit
174 ; CHECK-NOT: Valid Region for Scop
205 ; CHECK-NOT: Valid Region for Scop
235 ; CHECK-NOT: Valid Region for Scop
265 ; CHECK-NOT: Valid Region for Scop
296 ; CHECK: Valid Region for Scop: for.j => for.i.inc
/external/llvm-project/polly/test/ScopDetectionDiagnostics/
DReportMultipleNonAffineAccesses.ll24 ; CHECK: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop.
26 ; CHECK-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here.
28 ; ALL: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop.
38 ; ALL-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here.
40 ; DELIN: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop.
42 ; DELIN-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here.
44 ; DELIN-ALL: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop.
54 ; DELIN-ALL-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here.
56 ; NONAFFINE-NOT: remark: The following errors keep this region from being a Scop.
DReportUnprofitable.ll21 ; CHECK: remark: /tmp/test.c:2:3: The following errors keep this region from being a Scop.
23 ; CHECK: remark: /tmp/test.c:3:10: Invalid Scop candidate ends here.
25 ; CHECK: remark: /tmp/test.c:7:3: The following errors keep this region from being a Scop.
27 ; CHECK: remark: /tmp/test.c:8:10: Invalid Scop candidate ends here.
35 ; YAML: - String: The following errors keep this region from being a Scop.
51 ; YAML: - String: Invalid Scop candidate ends here.
59 ; YAML: - String: The following errors keep this region from being a Scop.
75 ; YAML: - String: Invalid Scop candidate ends here.
DReportLoopBound-01.ll22 …ELOOPS: remark: ReportLoopBound-01.c:1:12: The following errors keep this region from being a Scop.
24 ; REJECTNONAFFINELOOPS: remark: ReportLoopBound-01.c:3:5: Invalid Scop candidate ends here.
28 …ELOOPS: remark: ReportLoopBound-01.c:1:12: The following errors keep this region from being a Scop.
30 ; ALLOWNONAFFINELOOPS: remark: ReportLoopBound-01.c:3:5: Invalid Scop candidate ends here.
34 …INEALL: remark: ReportLoopBound-01.c:1:12: The following errors keep this region from being a Scop.
36 ; ALLOWNONAFFINEALL: remark: ReportLoopBound-01.c:3:5: Invalid Scop candidate ends here.
/external/llvm-project/polly/include/polly/Support/
DSCEVAffinator.h21 class Scop; variable
32 SCEVAffinator(Scop *S, llvm::LoopInfo &LI);
63 Scop *S;
DVirtualInstruction.h99 static VirtualUse create(Scop *S, const Use &U, LoopInfo *LI, bool Virtual);
120 static VirtualUse create(Scop *S, ScopStmt *UserStmt, Loop *UserScope,
266 Scop *getScop() const { return Stmt->getParent(); }
305 void markReachable(Scop *S, LoopInfo *LI,

123456