/external/llvm/include/llvm/Transforms/Utils/ |
UnrollLoop.h | 25 bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM);
|
/external/llvm/include/llvm/CodeGen/ |
MachineLoopInfo.h | 61 LoopInfoBase<MachineBasicBlock, MachineLoop> LI; 74 LoopInfoBase<MachineBasicBlock, MachineLoop>& getBase() { return LI; } 80 inline iterator begin() const { return LI.begin(); } 81 inline iterator end() const { return LI.end(); } 82 bool empty() const { return LI.empty(); } 88 return LI.getLoopFor(BB); 94 return LI.getLoopFor(BB); 100 return LI.getLoopDepth(BB); 105 return LI.isLoopHeader(BB); 112 virtual void releaseMemory() { LI.releaseMemory(); [all...] |
/external/llvm/lib/CodeGen/ |
LiveRangeEdit.cpp | 39 LiveInterval &LI = LIS.getOrCreateInterval(VReg); 40 newRegs_.push_back(&LI); 41 return LI; 101 LiveInterval &li = lis.getInterval(MO.getReg()); 102 const VNInfo *OVNI = li.getVNInfoAt(OrigIdx); 105 if (OVNI != li.getVNInfoAt(UseIdx)) 162 bool LiveRangeEdit::foldAsLoad(LiveInterval *LI, 170 for (MachineRegisterInfo::reg_nodbg_iterator I = MRI.reg_nodbg_begin(LI->reg), 196 if (UseMI->readsWritesVirtualRegister(LI->reg, &Ops).second) 205 DefMI->addRegisterDead(LI->reg, 0) [all...] |
MachineVerifier.cpp | 648 const LiveInterval &LI = LiveInts->getInterval(Reg); 649 if (!LI.liveAt(UseIdx)) { 651 *OS << UseIdx << " is not live in " << LI << '\n'; 655 if (MO->isKill() && !LI.killedAt(UseIdx.getDefIndex())) { 657 *OS << "Live range: " << LI << '\n'; 694 const LiveInterval &LI = LiveInts->getInterval(Reg); 695 if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) { 700 << DefIdx << " in " << LI << '\n'; 704 *OS << DefIdx << " is not live in " << LI << '\n'; 767 LiveInterval &LI = LiveStks->getInterval(MO->getIndex()) [all...] |
StrongPHIElimination.cpp | 146 LiveIntervals *LI; 181 MIIndexCompare(LiveIntervals *LiveIntervals) : LI(LiveIntervals) { } 184 return LI->getInstructionIndex(LHS) < LI->getInstructionIndex(RHS); 187 LiveIntervals *LI; 237 LI = &getAnalysis<LiveIntervals>(); 327 LI->RemoveMachineInstrFromMaps(PHI); 344 LiveInterval &DestLI = LI->getInterval(DestReg); 345 LiveInterval &NewLI = LI->getInterval(NewReg); 353 NewVNI = NewLI.createValueCopy(DestLR->valno, LI->getVNInfoAllocator()) [all...] |
DeadMachineInstructionElim.cpp | 118 for (MachineBasicBlock::livein_iterator LI = (*S)->livein_begin(); 119 LI != (*S)->livein_end(); LI++) 120 LivePhysRegs.set(*LI);
|
ScheduleDAGInstrs.h | 54 for (MachineBasicBlock::livein_iterator LI = Header->livein_begin(), 55 LE = Header->livein_end(); LI != LE; ++LI) 56 LoopLiveIns.insert(*LI);
|
InlineSpiller.cpp | 140 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI); 367 LiveInterval &LI = LIS.getInterval(Reg); 371 VNInfo *PVNI = LI.getVNInfoAt(LIS.getMBBEndIdx(*PI).getPrevSlot()); 443 LiveInterval &LI = LIS.getInterval(Reg); 444 for (LiveInterval::const_vni_iterator VI = LI.vni_begin(), 445 VE = LI.vni_end(); VI != VE; ++VI) { 550 LiveInterval *LI; 551 tie(LI, VNI) = WorkList.pop_back_val(); 552 unsigned Reg = LI->reg; 554 << VNI->id << '@' << VNI->def << " in " << *LI << '\n') [all...] |
LiveDebugVariables.cpp | 190 /// @param LI Restrict liveness to where LI has the value VNI. May be null. 191 /// @param VNI When LI is not null, this is the value to restrict to. 196 LiveInterval *LI, const VNInfo *VNI, 200 /// addDefsFromCopies - The value in LI/LocNo may be copies to other 203 /// @param LI Scan for copies of the value in LI->reg. 204 /// @param LocNo Location number of LI->reg. 207 void addDefsFromCopies(LiveInterval *LI, unsigned LocNo, 448 LiveInterval *LI, const VNInfo *VNI [all...] |
/external/llvm/utils/TableGen/ |
StringMatcher.cpp | 106 for (std::map<char, std::vector<const StringPair*> >::iterator LI = 107 MatchesByLetter.begin(), E = MatchesByLetter.end(); LI != E; ++LI) { 109 OS << Indent << "case '" << LI->first << "':\t // " 110 << LI->second.size() << " string"; 111 if (LI->second.size() != 1) OS << 's'; 113 if (EmitStringMatcherForChar(LI->second, CharNo+1, IndentCount+1)) 139 for (std::map<unsigned, std::vector<const StringPair*> >::iterator LI = 140 MatchesByLength.begin(), E = MatchesByLength.end(); LI != E; ++LI) { [all...] |
OptParserEmitter.cpp | 161 const ListInit *LI = R.getValueAsListInit("Flags"); 162 if (LI->empty()) { 166 for (unsigned i = 0, e = LI->size(); i != e; ++i) { 169 OS << dynamic_cast<DefInit*>(LI->getElement(i))->getDef()->getName();
|
/external/llvm/tools/llvm-diff/ |
DifferenceEngine.cpp | 197 BasicBlock::iterator LI = L->begin(), LE = L->end(); 203 assert(LI != LE && RI != RE); 204 Instruction *LeftI = &*LI, *RightI = &*RI; 217 ++LI, ++RI; 218 } while (LI != LE); // This is sufficient: we can't get equality of 223 for (LI = L->begin(), RI = R->begin(); LI != LE; ++LI, ++RI) 224 unify(&*LI, &*RI); 228 void runBlockDiff(BasicBlock::iterator LI, BasicBlock::iterator RI) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopDeletion.cpp | 112 for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end(); 113 LI != LE; ++LI) { 114 for (BasicBlock::iterator BI = (*LI)->begin(), BE = (*LI)->end(); 205 for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end(); 206 LI != LE; ++LI) { 209 ChildNodes.insert(ChildNodes.begin(), DT[*LI]->begin(), DT[*LI]->end()) [all...] |
ScalarReplAggregates.cpp | 153 void RewriteLoadUserOfWholeAlloca(LoadInst *LI, AllocaInst *AI, 481 if (LoadInst *LI = dyn_cast<LoadInst>(User)) { 483 if (LI->isVolatile()) 486 if (LI->getType()->isX86_MMXTy()) 489 MergeInTypeForLoadOrStore(LI->getType(), Offset); 600 if (LoadInst *LI = dyn_cast<LoadInst>(User)) { 604 = ConvertScalar_ExtractValue(LoadedVal, LI->getType(), Offset, Builder); 605 LI->replaceAllUsesWith(NewLoadVal); 606 LI->eraseFromParent(); [all...] |
LoopInstSimplify.cpp | 65 LoopInfo *LI = &getAnalysis<LoopInfo>(); 108 if (V && LI->replacementPreservesLCSSAForm(I, V)) { 135 const Loop *SuccLoop = LI->getLoopFor(SuccBB); 145 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB))
|
LICM.cpp | 96 LoopInfo *LI; // Current LoopInfo 134 return LI->getLoopFor(BB) != CurLoop; 188 LI = &getAnalysis<LoopInfo>(); 221 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. 359 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) { 360 if (LI->isVolatile()) 365 if (AA->pointsToConstantMemory(LI->getOperand(0))) 370 if (LI->getType()->isSized()) 371 Size = AA->getTypeStoreSize(LI->getType()); 372 return !pointerInvalidatedByLoop(LI->getOperand(0), Size [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 90 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI, 92 User *CI = cast<User>(LI.getOperand(0)); 114 Idxs[0] = Constant::getNullValue(Type::getInt32Ty(LI.getContext())); 126 (SrcPTy->isPointerTy() == LI.getType()->isPointerTy()) && 134 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 135 NewLoad->setAlignment(LI.getAlignment()); 137 return new BitCastInst(NewLoad, LI.getType()); 144 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) { 145 Value *Op = LI.getOperand(0); 150 getOrEnforceKnownAlignment(Op, TD->getPrefTypeAlignment(LI.getType()),TD) [all...] |
/external/clang/www/analyzer/scripts/ |
menu.js | 6 if (node.nodeName=="LI") {
|
/external/llvm/lib/Analysis/ |
LoopPass.cpp | 80 LI = NULL; 92 if (LI->getLoopFor(*I) == L) // Don't change blocks in subloops. 93 LI->changeLoopFor(*I, ParentLoop); 114 if (LI->getLoopFor(L->getBlocks()[i]) == L) { 115 LI->removeBlock(L->getBlocks()[i]); 121 for (LoopInfo::iterator I = LI->begin(), E = LI->end();; ++I) { 124 LI->removeLoop(I); 131 LI->addTopLevelLoop(L->removeChildLoop(L->end()-1)); 162 LI->addTopLevelLoop(L) [all...] |
IVUsers.cpp | 49 ScalarEvolution *SE, LoopInfo *LI) { 57 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); 61 return isInteresting(AR->getStart(), I, L, SE, LI) && 62 !isInteresting(AR->getStepRecurrence(*SE), I, L, SE, LI); 70 if (isInteresting(*OI, I, L, SE, LI)) { 104 if (!isInteresting(ISE, I, L, SE, LI)) 125 if (LI->getLoopFor(User->getParent()) != L) { 175 LI = &getAnalysis<LoopInfo>();
|
Loads.cpp | 141 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) { 142 if (AreEquivalentAddressValues(LI->getOperand(0), V)) return true; 191 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) 192 if (AreEquivalentAddressValues(LI->getOperand(0), Ptr)) 193 return LI;
|
BranchProbabilityInfo.cpp | 42 LoopInfo *LI; 132 BranchProbabilityInfo *BP, LoopInfo *LI) 133 : Weights(W), BP(BP), LI(LI) { 202 Loop *L = LI->getLoopFor(BB); 211 Loop *SuccL = LI->getLoopFor(Succ); 267 LoopInfo &LI = getAnalysis<LoopInfo>(); 268 BranchProbabilityAnalysis BPA(&Weights, this, &LI);
|
/external/llvm/lib/Transforms/Utils/ |
PromoteMemoryToRegister.cpp | 88 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) { 89 if (LI->isVolatile()) 327 LoadInst *LI = cast<LoadInst>(User); 330 UsingBlocks.push_back(LI->getParent()); 331 AllocaPointerVal = LI; 699 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { 700 if (LI->getOperand(0) != AI) continue; 844 LoadInst *LI = cast<LoadInst>(UserInst); 851 if (LI->getParent() == StoreBB) { 858 if (unsigned(StoreIndex) > LBI.getInstructionIndex(LI)) { [all...] |
BreakCriticalEdges.cpp | 236 LoopInfo *LI = P->getAnalysisIfAvailable<LoopInfo>(); 240 if (DT == 0 && LI == 0 && PI == 0) 299 if (LI) { 300 if (Loop *TIL = LI->getLoopFor(TIBB)) { 302 // either, and thus LI doesn't need to be updated. 303 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { 306 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase()); 309 TIL->addBasicBlockToLoop(NewBB, LI->getBase()); 312 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase()); 321 P->addBasicBlockToLoop(NewBB, LI->getBase()) [all...] |
/external/llvm/lib/VMCore/ |
Instruction.cpp | 192 if (const LoadInst *LI = dyn_cast<LoadInst>(this)) 193 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() && 194 LI->getAlignment() == cast<LoadInst>(I)->getAlignment(); 231 if (const LoadInst *LI = dyn_cast<LoadInst>(this)) 232 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() && 233 LI->getAlignment() == cast<LoadInst>(I)->getAlignment(); 374 const LoadInst *LI = cast<LoadInst>(this); 375 if (LI->isVolatile()) 377 return LI->getPointerOperand()->isDereferenceablePointer();
|