|
| BasicBlock * | llvm::InsertPreheaderForLoop (Loop *L, DominatorTree *DT, LoopInfo *LI, bool PreserveLCSSA) |
| | InsertPreheaderForLoop - Once we discover that a loop doesn't have a preheader, this method is called to insert one. More...
|
| |
| bool | llvm::formDedicatedExitBlocks (Loop *L, DominatorTree *DT, LoopInfo *LI, bool PreserveLCSSA) |
| | Ensure that all exit blocks of the loop are dedicated exits. More...
|
| |
| bool | llvm::formLCSSAForInstructions (SmallVectorImpl< Instruction *> &Worklist, DominatorTree &DT, LoopInfo &LI) |
| | Ensures LCSSA form for every instruction from the Worklist in the scope of innermost containing loop. More...
|
| |
| bool | llvm::formLCSSA (Loop &L, DominatorTree &DT, LoopInfo *LI, ScalarEvolution *SE) |
| | Put loop into LCSSA form. More...
|
| |
| bool | llvm::formLCSSARecursively (Loop &L, DominatorTree &DT, LoopInfo *LI, ScalarEvolution *SE) |
| | Put a loop nest into LCSSA form. More...
|
| |
| bool | llvm::sinkRegion (DomTreeNode *, AliasAnalysis *, LoopInfo *, DominatorTree *, TargetLibraryInfo *, TargetTransformInfo *, Loop *, AliasSetTracker *, LoopSafetyInfo *, OptimizationRemarkEmitter *ORE) |
| | Walk the specified region of the CFG (defined by all blocks dominated by the specified block, and that are in the current loop) in reverse depth first order w.r.t the DominatorTree. More...
|
| |
| bool | llvm::hoistRegion (DomTreeNode *, AliasAnalysis *, LoopInfo *, DominatorTree *, TargetLibraryInfo *, Loop *, AliasSetTracker *, LoopSafetyInfo *, OptimizationRemarkEmitter *ORE) |
| | Walk the specified region of the CFG (defined by all blocks dominated by the specified block, and that are in the current loop) in depth first order w.r.t the DominatorTree. More...
|
| |
| void | llvm::deleteDeadLoop (Loop *L, DominatorTree *DT, ScalarEvolution *SE, LoopInfo *LI) |
| | This function deletes dead loops. More...
|
| |
| bool | llvm::promoteLoopAccessesToScalars (const SmallSetVector< Value *, 8 > &, SmallVectorImpl< BasicBlock *> &, SmallVectorImpl< Instruction *> &, PredIteratorCache &, LoopInfo *, DominatorTree *, const TargetLibraryInfo *, Loop *, AliasSetTracker *, LoopSafetyInfo *, OptimizationRemarkEmitter *) |
| | Try to promote memory values to scalars by sinking stores out of the loop and moving loads to before the loop. More...
|
| |
| SmallVector< DomTreeNode *, 16 > | llvm::collectChildrenInLoop (DomTreeNode *N, const Loop *CurLoop) |
| | Does a BFS from a given node to all of its children inside a given loop. More...
|
| |
| SmallVector< Instruction *, 8 > | llvm::findDefsUsedOutsideOfLoop (Loop *L) |
| | Returns the instructions that use values defined in the loop. More...
|
| |
| Optional< const MDOperand * > | llvm::findStringMetadataForLoop (Loop *TheLoop, StringRef Name) |
| | Find string metadata for loop. More...
|
| |
| void | llvm::addStringMetadataToLoop (Loop *TheLoop, const char *MDString, unsigned V=0) |
| | Set input string into loop metadata by keeping other values intact. More...
|
| |
| Optional< unsigned > | llvm::getLoopEstimatedTripCount (Loop *L) |
| | Get a loop's estimated trip count based on branch weight metadata. More...
|
| |
| void | llvm::getLoopAnalysisUsage (AnalysisUsage &AU) |
| | Helper to consistently add the set of standard passes to a loop pass's AnalysisUsage. More...
|
| |
| bool | llvm::canSinkOrHoistInst (Instruction &I, AAResults *AA, DominatorTree *DT, Loop *CurLoop, AliasSetTracker *CurAST, LoopSafetyInfo *SafetyInfo, OptimizationRemarkEmitter *ORE=nullptr) |
| | Returns true if the hoister and sinker can handle this instruction. More...
|
| |
| Value * | llvm::getOrderedReduction (IRBuilder<> &Builder, Value *Acc, Value *Src, unsigned Op, RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind=RecurrenceDescriptor::MRK_Invalid, ArrayRef< Value *> RedOps=None) |
| | Generates an ordered vector reduction using extracts to reduce the value. More...
|
| |
| Value * | llvm::getShuffleReduction (IRBuilder<> &Builder, Value *Src, unsigned Op, RecurrenceDescriptor::MinMaxRecurrenceKind MinMaxKind=RecurrenceDescriptor::MRK_Invalid, ArrayRef< Value *> RedOps=None) |
| | Generates a vector reduction using shufflevectors to reduce the value. More...
|
| |
| Value * | llvm::createSimpleTargetReduction (IRBuilder<> &B, const TargetTransformInfo *TTI, unsigned Opcode, Value *Src, TargetTransformInfo::ReductionFlags Flags=TargetTransformInfo::ReductionFlags(), ArrayRef< Value *> RedOps=None) |
| | Create a target reduction of the given vector. More...
|
| |
| Value * | llvm::createTargetReduction (IRBuilder<> &B, const TargetTransformInfo *TTI, RecurrenceDescriptor &Desc, Value *Src, bool NoNaN=false) |
| | Create a generic target reduction using a recurrence descriptor Desc The target is queried to determine if intrinsics or shuffle sequences are required to implement the reduction. More...
|
| |
| void | llvm::propagateIRFlags (Value *I, ArrayRef< Value *> VL, Value *OpValue=nullptr) |
| | Get the intersection (logical and) of all of the potential IR flags of each scalar operation (VL) that will be converted into a vector (I). More...
|
| |