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

1 2 3 4 5 6 7

  /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/include/llvm/Transforms/Utils/
UnrollLoop.h 26 unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM);
  /external/llvm/lib/CodeGen/
LiveRangeCalc.h 72 // LI - The live range that is live-in to this block. The algorithms can
74 LiveInterval *LI;
77 // Cleared when the final value has been determined and LI has been updated.
82 // determined, the range from the block start to Kill will be added to LI.
88 LiveInBlock(LiveInterval *li, MachineDomTreeNode *node, SlotIndex kill)
89 : LI(li), DomNode(node), Kill(kill), Value(0) {}
98 /// findReachingDefs - Assuming that LI is live-in to KillMBB and killed at
99 /// Kill, search for values that can reach KillMBB. All blocks that need LI
103 VNInfo *findReachingDefs(LiveInterval *LI,
    [all...]
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...]
LiveRangeCalc.cpp 44 I->LI->addRange(LiveRange(Start, I->Kill, VNI));
46 I->LI->addRange(LiveRange(Start, End, VNI));
57 void LiveRangeCalc::extend(LiveInterval *LI,
62 assert(LI && "Missing live range");
71 if (LI->extendInBlock(Indexes->getMBBStartIdx(KillMBB), Kill))
78 VNInfo *VNI = findReachingDefs(LI, KillMBB, Kill, Indexes, DomTree);
101 VNInfo *LiveRangeCalc::findReachingDefs(LiveInterval *LI,
106 // Blocks where LI should be live-in.
136 VNInfo *VNI = LI->extendInBlock(Start, End);
159 addLiveInBlock(LI, DomTree->getNode(WorkList.pop_back_val()))
    [all...]
MachineVerifier.cpp 664 const LiveInterval &LI = LiveInts->getInterval(Reg);
665 if (!LI.liveAt(UseIdx)) {
667 *OS << UseIdx << " is not live in " << LI << '\n';
671 if (MO->isKill() && !LI.killedAt(UseIdx.getDefIndex())) {
673 *OS << "Live range: " << LI << '\n';
715 const LiveInterval &LI = LiveInts->getInterval(Reg);
716 if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) {
721 << DefIdx << " in " << LI << '\n';
725 *OS << DefIdx << " is not live in " << LI << '\n';
801 LiveInterval &LI = LiveStks->getInterval(MO->getIndex())
    [all...]
StrongPHIElimination.cpp 147 LiveIntervals *LI;
182 MIIndexCompare(LiveIntervals *LiveIntervals) : LI(LiveIntervals) { }
185 return LI->getInstructionIndex(LHS) < LI->getInstructionIndex(RHS);
188 LiveIntervals *LI;
238 LI = &getAnalysis<LiveIntervals>();
328 LI->RemoveMachineInstrFromMaps(PHI);
345 LiveInterval &DestLI = LI->getInterval(DestReg);
346 LiveInterval &NewLI = LI->getInterval(NewReg);
354 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 55 for (MachineBasicBlock::livein_iterator LI = Header->livein_begin(),
56 LE = Header->livein_end(); LI != LE; ++LI)
57 LoopLiveIns.insert(*LI);
  /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...]
  /external/llvm/tools/llvm-diff/
DifferenceEngine.cpp 197 BasicBlock::iterator LI = L->begin(), LE = L->end();
203 assert(LI != LE && RI != R->end());
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...]
LowerAtomic.cpp 98 static bool LowerLoadInst(LoadInst *LI) {
99 LI->setAtomic(NotAtomic);
124 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
125 if (LI->isAtomic())
126 LowerLoadInst(LI);
ScalarReplAggregates.cpp 156 void RewriteLoadUserOfWholeAlloca(LoadInst *LI, AllocaInst *AI,
418 if (LoadInst *LI = dyn_cast<LoadInst>(User)) {
420 if (!LI->isSimple())
423 if (LI->getType()->isX86_MMXTy())
426 MergeInTypeForLoadOrStore(LI->getType(), Offset);
546 if (LoadInst *LI = dyn_cast<LoadInst>(User)) {
550 = ConvertScalar_ExtractValue(LoadedVal, LI->getType(), Offset, Builder);
551 LI->replaceAllUsesWith(NewLoadVal);
552 LI->eraseFromParent();
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp 89 static Instruction *InstCombineLoadCast(InstCombiner &IC, LoadInst &LI,
91 User *CI = cast<User>(LI.getOperand(0));
113 Idxs[0] = Constant::getNullValue(Type::getInt32Ty(LI.getContext()));
125 (SrcPTy->isPointerTy() == LI.getType()->isPointerTy()) &&
133 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName());
134 NewLoad->setAlignment(LI.getAlignment());
135 NewLoad->setAtomic(LI.getOrdering(), LI.getSynchScope());
137 return new BitCastInst(NewLoad, LI.getType());
144 Instruction *InstCombiner::visitLoadInst(LoadInst &LI) {
    [all...]
  /external/clang/www/analyzer/scripts/
menu.js 6 if (node.nodeName=="LI") {
  /external/llvm/include/llvm/Analysis/
LoopIterator.h 65 void perform(LoopInfo *LI);
120 LoopInfo *LI;
124 DFS(Storage), LI(LInfo) {}
145 if (!DFS.L->contains(LI->getLoopFor(BB)))
166 return !DFS.L->contains(LI->getLoopFor(BB)) || DFS.PostNumbers.count(BB);
  /external/llvm/lib/Transforms/Utils/
PromoteMemoryToRegister.cpp 88 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
91 if (LI->isVolatile())
331 LoadInst *LI = cast<LoadInst>(User);
334 UsingBlocks.push_back(LI->getParent());
335 AllocaPointerVal = LI;
703 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
704 if (LI->getOperand(0) != AI) continue;
848 LoadInst *LI = cast<LoadInst>(UserInst);
855 if (LI->getParent() == StoreBB) {
862 if (unsigned(StoreIndex) > LBI.getInstructionIndex(LI)) {
    [all...]
BreakCriticalEdges.cpp 241 LoopInfo *LI = P->getAnalysisIfAvailable<LoopInfo>();
245 if (DT == 0 && LI == 0 && PI == 0)
304 if (LI) {
305 if (Loop *TIL = LI->getLoopFor(TIBB)) {
307 // either, and thus LI doesn't need to be updated.
308 if (Loop *DestLoop = LI->getLoopFor(DestBB)) {
311 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase());
314 TIL->addBasicBlockToLoop(NewBB, LI->getBase());
317 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase());
326 P->addBasicBlockToLoop(NewBB, LI->getBase())
    [all...]
  /external/llvm/lib/Analysis/
LoopInfo.cpp 398 LoopInfo *LI;
414 Unloop(UL), LI(LInfo), DFS(UL), FoundIB(false) {}
433 LoopBlocksTraversal Traversal(DFS, LI);
437 Loop *L = LI->getLoopFor(*POI);
444 LI->changeLoopFor(*POI, NL);
465 Loop *L = LI->getLoopFor(*POI);
470 LI->changeLoopFor(*POI, NL);
483 Loop *NewParent = LI->getLoopFor(*BI);
513 LI->addTopLevelLoop(Subloop);
551 Loop *L = LI->getLoopFor(*I)
    [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) {
176 LI = &getAnalysis<LoopInfo>();
Loads.cpp 141 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
142 if (AreEquivalentAddressValues(LI->getOperand(0), V)) return true;
193 if (LoadInst *LI = dyn_cast<LoadInst>(Inst))
194 if (AreEquivalentAddressValues(LI->getOperand(0), Ptr))
195 return LI;
AliasSetTracker.cpp 297 bool AliasSetTracker::add(LoadInst *LI) {
298 if (LI->getOrdering() > Monotonic) return addUnknown(LI);
300 if (!LI->isUnordered()) ATy = AliasSet::ModRef;
302 AliasSet &AS = addPointer(LI->getOperand(0),
303 AA.getTypeStoreSize(LI->getType()),
304 LI->getMetadata(LLVMContext::MD_tbaa),
306 if (LI->isVolatile()) AS.setVolatile();
352 if (LoadInst *LI = dyn_cast<LoadInst>(I))
353 return add(LI);
    [all...]
  /external/llvm/lib/VMCore/
Instruction.cpp 197 if (const LoadInst *LI = dyn_cast<LoadInst>(this))
198 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() &&
199 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() &&
200 LI->getOrdering() == cast<LoadInst>(I)->getOrdering() &&
201 LI->getSynchScope() == cast<LoadInst>(I)->getSynchScope();
252 if (const LoadInst *LI = dyn_cast<LoadInst>(this))
253 return LI->isVolatile() == cast<LoadInst>(I)->isVolatile() &&
254 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() &&
255 LI->getOrdering() == cast<LoadInst>(I)->getOrdering() &&
256 LI->getSynchScope() == cast<LoadInst>(I)->getSynchScope()
    [all...]
  /external/clang/utils/TableGen/
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();

Completed in 446 milliseconds

1 2 3 4 5 6 7