Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/include/llvm/Transforms/Scalar.h
Show First 20 Lines • Show All 350 Lines • ▼ Show 20 Lines | |||||
// | // | ||||
// GVNHoist - This pass performs a simple and fast GVN pass over the dominator | // GVNHoist - This pass performs a simple and fast GVN pass over the dominator | ||||
// tree to hoist common expressions from sibling branches. | // tree to hoist common expressions from sibling branches. | ||||
// | // | ||||
FunctionPass *createGVNHoistPass(); | FunctionPass *createGVNHoistPass(); | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// GVNSink - This pass uses an "inverted" value numbering to decide the | |||||
// similarity of expressions and sinks similar expressions into successors. | |||||
// | |||||
FunctionPass *createGVNSinkPass(); | |||||
//===----------------------------------------------------------------------===// | |||||
// | |||||
// MergedLoadStoreMotion - This pass merges loads and stores in diamonds. Loads | // MergedLoadStoreMotion - This pass merges loads and stores in diamonds. Loads | ||||
// are hoisted into the header, while stores sink into the footer. | // are hoisted into the header, while stores sink into the footer. | ||||
// | // | ||||
FunctionPass *createMergedLoadStoreMotionPass(); | FunctionPass *createMergedLoadStoreMotionPass(); | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// GVN - This pass performs global value numbering and redundant load | // GVN - This pass performs global value numbering and redundant load | ||||
▲ Show 20 Lines • Show All 206 Lines • Show Last 20 Lines |