forked from OSchip/llvm-project
[ScopInfo] Make simplifySCoP() public. NFC.
This function may need to be called after the scop construction. The upcoming DeLICM will use this to cleanup statement that all write accesses have been removed from. llvm-svn: 283221
This commit is contained in:
parent
6203c91eac
commit
9116899615
|
@ -1752,9 +1752,6 @@ private:
|
|||
/// Add parameter constraints to @p C that imply a non-empty domain.
|
||||
__isl_give isl_set *addNonEmptyDomainConstraints(__isl_take isl_set *C) const;
|
||||
|
||||
/// Simplify the SCoP representation
|
||||
void simplifySCoP(bool AfterHoisting);
|
||||
|
||||
/// Return the access for the base ptr of @p MA if any.
|
||||
MemoryAccess *lookupBasePtrAccess(MemoryAccess *MA);
|
||||
|
||||
|
@ -2443,6 +2440,13 @@ public:
|
|||
///
|
||||
/// @return true if @p Schedule contains extension nodes.
|
||||
static bool containsExtensionNode(__isl_keep isl_schedule *Schedule);
|
||||
|
||||
/// Simplify the SCoP representation.
|
||||
///
|
||||
/// @param AfterHoisting Whether it is called after invariant load hoisting.
|
||||
/// When true, also removes statements without
|
||||
/// side-effects.
|
||||
void simplifySCoP(bool AfterHoisting);
|
||||
};
|
||||
|
||||
/// Print Scop scop to raw_ostream O.
|
||||
|
|
Loading…
Reference in New Issue