Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
polly/trunk/include/polly/Support/ScopHelper.h
Show First 20 Lines • Show All 385 Lines • ▼ Show 20 Lines | |||||
/// Check if @p LInst can be hoisted in @p R. | /// Check if @p LInst can be hoisted in @p R. | ||||
/// | /// | ||||
/// @param LInst The load to check. | /// @param LInst The load to check. | ||||
/// @param R The analyzed region. | /// @param R The analyzed region. | ||||
/// @param LI The loop info. | /// @param LI The loop info. | ||||
/// @param SE The scalar evolution analysis. | /// @param SE The scalar evolution analysis. | ||||
/// @param DT The dominator tree of the function. | /// @param DT The dominator tree of the function. | ||||
/// @param KnownInvariantLoads The invariant load set. | |||||
/// | /// | ||||
/// @return True if @p LInst can be hoisted in @p R. | /// @return True if @p LInst can be hoisted in @p R. | ||||
bool isHoistableLoad(llvm::LoadInst *LInst, llvm::Region &R, llvm::LoopInfo &LI, | bool isHoistableLoad(llvm::LoadInst *LInst, llvm::Region &R, llvm::LoopInfo &LI, | ||||
llvm::ScalarEvolution &SE, const llvm::DominatorTree &DT); | llvm::ScalarEvolution &SE, const llvm::DominatorTree &DT, | ||||
const InvariantLoadsSetTy &KnownInvariantLoads); | |||||
/// Return true iff @p V is an intrinsic that we ignore during code | /// Return true iff @p V is an intrinsic that we ignore during code | ||||
/// generation. | /// generation. | ||||
bool isIgnoredIntrinsic(const llvm::Value *V); | bool isIgnoredIntrinsic(const llvm::Value *V); | ||||
/// Check whether a value an be synthesized by the code generator. | /// Check whether a value an be synthesized by the code generator. | ||||
/// | /// | ||||
/// Some value will be recalculated only from information that is code generated | /// Some value will be recalculated only from information that is code generated | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |