Changeset View
Changeset View
Standalone View
Standalone View
include/llvm/Transforms/Scalar.h
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | |||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// LICM - This pass is a loop invariant code motion and memory promotion pass. | // LICM - This pass is a loop invariant code motion and memory promotion pass. | ||||
// | // | ||||
Pass *createLICMPass(); | Pass *createLICMPass(); | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// LoopInterchange - This pass interchanges loops to provide a more | |||||
hfinkel: How about, "This pass interchanges loops to provide a more cache-friendly memory access… | |||||
Not Done ReplyInline ActionsYes of course your comment makes more sense. karthikthecool: Yes of course your comment makes more sense. | |||||
// cache-friendly memory access patterns. | |||||
Not Done ReplyInline ActionsYou've un-improved this comment; please change it back. hfinkel: You've un-improved this comment; please change it back. | |||||
// | |||||
Pass *createLoopInterchangePass(); | |||||
//===----------------------------------------------------------------------===// | |||||
// | |||||
// LoopStrengthReduce - This pass is strength reduces GEP instructions that use | // LoopStrengthReduce - This pass is strength reduces GEP instructions that use | ||||
// a loop's canonical induction variable as one of their indices. | // a loop's canonical induction variable as one of their indices. | ||||
// | // | ||||
Pass *createLoopStrengthReducePass(); | Pass *createLoopStrengthReducePass(); | ||||
Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset); | Pass *createGlobalMergePass(const TargetMachine *TM, unsigned MaximalOffset); | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
▲ Show 20 Lines • Show All 295 Lines • Show Last 20 Lines |
How about, "This pass interchanges loops to provide a more cache-friendly memory access patterns."