HomeSort by relevance Sort by last modified time
    Searched refs:Loop (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /external/llvm/include/llvm/Transforms/Utils/
LoopUtils.h 1 //===- llvm/Transforms/Utils/LoopUtils.h - Loop utilities -*- C++ -*-=========//
10 // This file defines some loop transformation utilities.
19 class Loop;
22 BasicBlock *InsertPreheaderForLoop(Loop *L, Pass *P);
UnrollLoop.h 10 // This file defines some loop unrolling utilities. It does not define any
11 // actual pass or policy, but provides a single function to perform loop
21 class Loop;
25 bool UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, bool AllowRuntime,
28 bool UnrollRuntimeLoopProlog(Loop *L, unsigned Count, LoopInfo *LI,
SimplifyIndVar.h 12 // simplify a loop's induction variables based on ScalarEvolution.
26 class Loop;
46 /// loop. This does not actually change or add IVs.
47 bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM,
CodeExtractor.h 25 class Loop;
72 /// \brief Create a code extractor for a loop body.
75 /// block sequence of the loop.
76 CodeExtractor(DominatorTree &DT, Loop &L, bool AggregateArgs = false);
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
LoopMode.java 44 Loop,
47 * The animation will not loop. It will play until the last frame, and then
  /external/llvm/include/llvm/Analysis/
LoopPass.h 10 // This file defines LoopPass class. All loop optimization
34 /// to a Loop.
38 // whatever action is necessary for the specified Loop.
39 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
45 virtual bool doInitialization(Loop *L, LPPassManager &LPM) {
49 // Finalization hook does not supply Loop because at this time
50 // loop nest is completely different.
77 /// Each loop pass can override these simple analysis hooks to update
80 virtual void cloneBasicBlockAnalysis(BasicBlock *F, BasicBlock *T, Loop *L) {}
83 virtual void deleteAnalysisValue(Value *V, Loop *L) {
    [all...]
ScalarEvolutionNormalization.h 21 // While the expression for most uses of i inside the loop is {0,+,1}<%L>, the
22 // expression for the use of i outside the loop is {1,+,1}<%L>, since i is
23 // incremented at the end of the loop body. This is inconveient, since it
26 // the same induction variable, with uses inside the loop using the
27 // "pre-incremented" value, and uses after the loop using the
45 class Loop;
56 /// update the given loop set, and normalize.
59 /// given loop set.
64 typedef SmallPtrSet<const Loop *, 2> PostIncLoopSet;
LoopInfo.h 1 //===- llvm/Analysis/LoopInfo.h - Natural Loop Calculator -------*- C++ -*-===//
11 // and determine the loop depth of various nodes of the CFG. A natural loop
16 // each natural loop identified, this analysis identifies natural loops
17 // contained entirely within the loop and the basic blocks the make up the loop.
21 // * whether there is a preheader for the loop
23 // * whether or not a particular block branches out of the loop
24 // * the successor blocks of the loop
25 // * the loop dept
    [all...]
DependenceAnalysis.h 49 class Loop;
96 bool Splitable : 1; // Splitting the loop will break dependence.
134 /// isLoopIndependent - Returns true if this is a loop-independent
160 /// this loop will break this dependence.
164 /// this loop will break this dependence.
167 /// isSplitable - Returns true if splitting this loop will break
173 /// variable associated with the loop at this level.
228 /// isLoopIndependent - Returns true if this is a loop-independent
254 /// this loop will break this dependence.
258 /// this loop will break this dependence
    [all...]
IVUsers.h 72 /// given loop.
73 void transformToPostInc(const Loop *L);
121 Loop *L;
134 virtual bool runOnLoop(Loop *L, LPPassManager &LPM);
142 Loop *getLoop() const { return L; }
158 const SCEV *getStride(const IVStrideUse &IU, const Loop *L) const;
177 bool AddUsersImpl(Instruction *I, SmallPtrSet<Loop*,16> &SimpleLoopNests);
ScalarEvolution.h 46 class Loop;
87 /// purely in terms of the recurrence's loop, step size, and
89 /// abs(step) * max-iteration(loop) <= unsigned-max(bitwidth).
158 /// iterations of a linked-list traversal loop, you will get one of these.
175 /// SCEV and a loop.
177 LoopVariant, ///< The SCEV is loop-variant (unknown).
178 LoopInvariant, ///< The SCEV is loop-invariant.
179 LoopComputable ///< The SCEV varies predictably with the loop.
223 /// LI - The loop information for the function we are currently analyzing.
255 /// ExitLimit - Information about the number of loop iterations fo
    [all...]
ScalarEvolutionExpander.h 50 /// RelevantLoops - A memoization of the "relevant" loop for a given SCEV.
51 DenseMap<const SCEV *, const Loop *> RelevantLoops;
61 /// loop it indicates should be inserted with increments at
63 const Loop *IVIncInsertLoop;
65 /// IVIncInsertPos - When expanding addrecs in the IVIncInsertLoop loop,
119 /// loop (inserting one if there is none). A canonical induction variable
121 PHINode *getOrInsertCanonicalInductionVariable(const Loop *L, Type *Ty);
132 unsigned replaceCongruentIVs(Loop *L, const DominatorTree *DT,
141 /// setIVIncInsertPos - Set the current IV increment loop and position.
142 void setIVIncInsertPos(const Loop *L, Instruction *Pos)
    [all...]
  /external/llvm/lib/Analysis/
LoopInfo.cpp 1 //===- LoopInfo.cpp - Natural Loop Calculator -----------------------------===//
11 // and determine the loop depth of various nodes of the CFG. Note that the
13 // header node... not just a single natural loop.
35 template class llvm::LoopBase<BasicBlock, Loop>;
36 template class llvm::LoopInfoBase<BasicBlock, Loop>;
45 VerifyLoopInfoX("verify-loop-info", cl::location(VerifyLoopInfo),
46 cl::desc("Verify loop info (time consuming)"));
49 INITIALIZE_PASS_BEGIN(LoopInfo, "loops", "Natural Loop Information", true, true)
51 INITIALIZE_PASS_END(LoopInfo, "loops", "Natural Loop Information", true, true)
53 // Loop identifier metadata name
    [all...]
LoopPass.cpp 1 //===- LoopPass.cpp - Loop Pass and Loop Pass Manager ---------------------===//
10 // This file implements LoopPass and LPPassManager. All loop optimization
24 /// PrintLoopPass - Print a Function corresponding to a Loop.
40 bool runOnLoop(Loop *L, LPPassManager &) {
42 for (Loop::block_iterator b = L->block_begin(), be = L->block_end();
68 /// Delete loop from the loop queue and loop hierarchy (LoopInfo).
69 void LPPassManager::deleteLoopFromQueue(Loop *L)
    [all...]
IVUsers.cpp 48 /// given loop.
49 static bool isInteresting(const SCEV *S, const Instruction *I, const Loop *L,
53 // Keep things simple. Don't touch loop-variant strides unless they're
54 // only used outside the loop and we can simplify them.
83 /// Return true if all loop headers that dominate this block are in simplified
87 SmallPtrSet<Loop*,16> &SimpleLoopNests) {
88 Loop *NearestLoop = 0;
92 Loop *DomLoop = LI->getLoopFor(DomBB);
94 // If the domtree walk reaches a loop with no preheader, return false.
97 // If we have already checked this loop nest, stop checking
    [all...]
  /external/chromium_org/third_party/WebKit/public/web/
WebMediaPlayerAction.h 41 Loop,
  /external/llvm/test/MC/COFF/
simple-fixups.s 18 # =>This Inner Loop Header: Depth=1
31 # =>This Inner Loop Header: Depth=1
  /external/chromium_org/third_party/skia/include/utils/
SkThreadPool.h 60 static void Loop(void*); // Static because we pass in this.
  /external/skia/include/utils/
SkThreadPool.h 60 static void Loop(void*); // Static because we pass in this.
  /system/vold/
Loop.h 21 #include <linux/loop.h>
25 class Loop {
Loop.cpp 36 #include "Loop.h"
39 int Loop::dumpState(SocketClient *c) {
48 sprintf(filename, "/dev/block/loop%d", i);
66 SLOGE("Unable to get loop status for %s (%s)", filename,
81 int Loop::lookupActive(const char *id, char *buffer, size_t len) {
92 sprintf(filename, "/dev/block/loop%d", i);
110 SLOGE("Unable to get loop status for %s (%s)", filename,
127 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) {
136 sprintf(filename, "/dev/block/loop%d", i);
139 * The kernel starts us off with 8 loop nodes, but mor
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopUnswitch.cpp 1 //===-- LoopUnswitch.cpp - Hoist loop-invariant conditionals in loop ------===//
10 // This pass transforms loops that contain branches on loop-invariant conditions
21 // a loop is unswitched) so we only unswitch if the resultant code will be
25 // of the loop, to make the unswitching opportunity obvious.
29 #define DEBUG_TYPE "loop-unswitch"
66 Threshold("loop-unswitch-threshold", cl::desc("Max loop size to unswitch"),
85 // LoopProperties pointer for current loop for better performance.
86 typedef std::map<const Loop*, LoopProperties> LoopPropsMap
    [all...]
LoopDeletion.cpp 1 //===- LoopDeletion.cpp - Dead Loop Deletion Pass ---------------===//
10 // This file implements the Dead Loop Deletion Pass. This pass is responsible
17 #define DEBUG_TYPE "loop-delete"
36 // Possibly eliminate loop L if it is dead.
37 bool runOnLoop(Loop *L, LPPassManager &LPM);
54 bool isLoopDead(Loop *L, SmallVectorImpl<BasicBlock *> &exitingBlocks,
62 INITIALIZE_PASS_BEGIN(LoopDeletion, "loop-deletion",
69 INITIALIZE_PASS_END(LoopDeletion, "loop-deletion",
76 /// isLoopDead - Determined if a loop is dead. This assumes that we've already
79 bool LoopDeletion::isLoopDead(Loop *L
    [all...]
LoopUnrollPass.cpp 1 //===-- LoopUnroll.cpp - Loop unroller pass -------------------------------===//
10 // This pass implements a simple loop unroller. It works best when loops have
15 #define DEBUG_TYPE "loop-unroll"
33 cl::desc("The cut-off point for automatic loop unrolling"));
42 "-unroll-threshold loop size is reached."));
63 /// that the loop unroll should be performed regardless of how much
80 bool runOnLoop(Loop *L, LPPassManager &LPM);
82 /// This transformation requires natural loop information & requires that
83 /// loop preheaders be inserted into the CFG...
95 // FIXME: Loop unroll requires LCSSA. And LCSSA requires dom info
    [all...]
  /external/llvm/lib/Transforms/Utils/
LoopSimplify.cpp 1 //===- LoopSimplify.cpp - Loop Canonicalization Pass ----------------------===//
14 // Loop pre-header insertion guarantees that there is a single, non-critical
15 // entry edge from outside of the loop to the loop header. This simplifies a
18 // Loop exit-block insertion guarantees that all exit blocks from the loop
19 // (blocks which are outside of the loop that have predecessors inside of the
20 // loop) only have predecessors from inside of the loop (and are thus dominated
21 // by the loop header). This simplifies transformations such as store-sinkin
    [all...]

Completed in 628 milliseconds

1 2 3 4 5 6 7