/external/llvm/lib/Analysis/ |
D | SparsePropagation.cpp | 122 SmallVectorImpl<bool> &Succs, in getFeasibleSuccessors() argument 124 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors() 129 Succs[0] = true; in getFeasibleSuccessors() 142 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 153 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors() 165 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 170 Succs.assign(Succs.size(), true); in getFeasibleSuccessors() 184 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() 195 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 80 for (SmallVectorImpl<SDep>::iterator II = PredSU->Succs.begin(), in addPred() 81 EE = PredSU->Succs.end(); II != EE; ++II) { in addPred() 122 N->Succs.push_back(P); in addPred() 142 SmallVectorImpl<SDep>::iterator Succ = std::find(N->Succs.begin(), in removePred() 143 N->Succs.end(), P); in removePred() 144 assert(Succ != N->Succs.end() && "Mismatching preds / succs lists!"); in removePred() 145 N->Succs.erase(Succ); in removePred() 185 for (SUnit::const_succ_iterator I = SU->Succs.begin(), in setDepthDirty() 186 E = SU->Succs.end(); I != E; ++I) { in setDepthDirty() 275 for (SUnit::const_succ_iterator I = Cur->Succs.begin(), in ComputeHeight() [all …]
|
D | LatencyPriorityQueue.cpp | 77 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in push() 93 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in scheduledNode()
|
D | MachineSink.cpp | 573 SmallVector<MachineBasicBlock*, 4> Succs(MBB->succ_begin(), in FindSuccToSinkTo() local 590 Succs.push_back(DTChild->getBlock()); in FindSuccToSinkTo() 594 Succs.begin(), Succs.end(), in FindSuccToSinkTo() 602 for (SmallVectorImpl<MachineBasicBlock *>::iterator SI = Succs.begin(), in FindSuccToSinkTo() 603 E = Succs.end(); SI != E; ++SI) { in FindSuccToSinkTo()
|
D | TailDuplication.cpp | 105 SmallSetVector<MachineBasicBlock*, 8> &Succs); 216 SmallSetVector<MachineBasicBlock*, 8> Succs(MBB->succ_begin(), in TailDuplicateAndUpdate() local 234 UpdateSuccessorsPHIs(MBB, isDead, TDBBs, Succs); in TailDuplicateAndUpdate() 465 SmallSetVector<MachineBasicBlock*,8> &Succs) { in UpdateSuccessorsPHIs() argument 466 for (SmallSetVector<MachineBasicBlock*, 8>::iterator SI = Succs.begin(), in UpdateSuccessorsPHIs() 467 SE = Succs.end(); SI != SE; ++SI) { in UpdateSuccessorsPHIs() 674 SmallPtrSet<MachineBasicBlock*, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB() local 686 if (bothUsedInPHI(*PredBB, Succs)) in duplicateSimpleBB()
|
D | ScheduleDAGInstrs.cpp | 620 for (SUnit::const_succ_iterator I = SUb->Succs.begin(), E = SUb->Succs.end(); in iterateChainSucc() 653 for (SUnit::const_succ_iterator J = (*I)->Succs.begin(), in adjustChainDeps() 654 JE = (*I)->Succs.end(); J != JE; ++J) in adjustChainDeps() 1396 for (SUnit::const_succ_iterator SI = PredSU->Succs.begin(), in joinPredSubtree() 1397 SE = PredSU->Succs.end(); SI != SE; ++SI) { in joinPredSubtree() 1461 SI = SU->Succs.begin(), SE = SU->Succs.end(); SI != SE; ++SI) { in hasDataSucc()
|
D | IfConversion.cpp | 1615 std::vector<MachineBasicBlock *> Succs(FromBBI.BB->succ_begin(), in CopyAndPredicateBlock() local 1620 for (unsigned i = 0, e = Succs.size(); i != e; ++i) { in CopyAndPredicateBlock() 1621 MachineBasicBlock *Succ = Succs[i]; in CopyAndPredicateBlock() 1650 std::vector<MachineBasicBlock *> Succs(FromBBI.BB->succ_begin(), in MergeBlocks() local 1655 for (unsigned i = 0, e = Succs.size(); i != e; ++i) { in MergeBlocks() 1656 MachineBasicBlock *Succ = Succs[i]; in MergeBlocks()
|
D | PostRASchedulerList.cpp | 471 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ReleaseSuccessors()
|
D | MachineScheduler.cpp | 568 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in releaseSuccessors() 1298 SI = SUa->Succs.begin(), SE = SUa->Succs.end(); SI != SE; ++SI) { in clusterNeighboringLoads() 1513 I = LastLocalSU->Succs.begin(), E = LastLocalSU->Succs.end(); in constrainLocalCopy() 2835 SmallVectorImpl<SDep> &Deps = isTop ? SU->Preds : SU->Succs; in reschedulePhysRegCopies() 2844 if (isTop ? DepSU->Succs.size() > 1 : DepSU->Preds.size() > 1) in reschedulePhysRegCopies() 3257 return (Node->Preds.size() > 10 || Node->Succs.size() > 10); in isNodeHidden()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExplodedGraph.h | 121 NodeGroup Succs; variable 127 : Location(loc), State(state), Succs(IsSink) { in ExplodedNode() 178 unsigned succ_size() const { return Succs.size(); } in succ_size() 180 bool succ_empty() const { return Succs.empty(); } in succ_empty() 183 bool isSink() const { return Succs.getFlag(); } in isSink() 217 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() 218 succ_iterator succ_end() { return Succs.end(); } in succ_end() 240 void replaceSuccessor(ExplodedNode *node) { Succs.replaceNode(node); } in replaceSuccessor()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | ResourcePriorityQueue.cpp | 110 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in numberRCValSuccInSU() 147 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in numberCtrlDepsInSU() 235 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in push() 274 for (SUnit::const_succ_iterator I = Packet[i]->Succs.begin(), in isResourceAvailable() 275 E = Packet[i]->Succs.end(); I != E; ++I) { in isResourceAvailable() 525 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in scheduledNode() 543 HorizontalVerticalBalance += (SU->Succs.size() - numberCtrlDepsInSU(SU)); in scheduledNode()
|
D | ScheduleDAGFast.cpp | 194 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ScheduleNodeBottomUp() 296 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 366 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 403 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in InsertCopiesAndMoveSuccs() 542 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!"); in ListScheduleBottomUp()
|
D | ScheduleDAGRRList.cpp | 740 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ScheduleNodeBottomUp() 851 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in UnscheduleNodeBottomUp() 1031 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 1111 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 1151 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in InsertCopiesAndMoveSuccs() 1497 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!"); in ListScheduleBottomUp() 2133 if (PredSU->NumSuccsLeft != PredSU->Succs.size()) in unscheduledNode() 2195 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in closestSucc() 2249 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in hasOnlyLiveOutUses() 2720 for (SUnit::const_succ_iterator SI = SU->Succs.begin(), SE = SU->Succs.end(); in canClobberReachingPhysRegUse() [all …]
|
D | ScheduleDAGVLIW.cpp | 142 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in releaseSuccessors()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonMachineScheduler.cpp | 66 if (Packet[i]->Succs.size() == 0) in isResourceAvailable() 68 for (SUnit::const_succ_iterator I = Packet[i]->Succs.begin(), in isResourceAvailable() 69 E = Packet[i]->Succs.end(); I != E; ++I) { in isResourceAvailable() 247 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in releaseBottomNode() 447 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in getSingleUnscheduledSucc() 508 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in SchedulingCost()
|
D | HexagonVLIWPacketizer.cpp | 817 for (unsigned i = 0; i < PacketSU->Succs.size(); ++i) { in RestrictingDepExistInPacket() 818 if ((PacketSU->Succs[i].getSUnit() == PacketSUDep) && in RestrictingDepExistInPacket() 819 (PacketSU->Succs[i].getKind() == SDep::Anti) && in RestrictingDepExistInPacket() 820 (PacketSU->Succs[i].getReg() == DepReg)) { in RestrictingDepExistInPacket() 896 for (unsigned i = 0; i < PacketSU->Succs.size(); ++i) { in ArePredicatesComplements() 902 if (PacketSU->Succs[i].getSUnit() == SU && in ArePredicatesComplements() 903 PacketSU->Succs[i].getKind() == SDep::Data && in ArePredicatesComplements() 905 PacketSU->Succs[i].getReg()) && in ArePredicatesComplements() 912 RestrictingDepExistInPacket(*VIN,PacketSU->Succs[i].getReg(), in ArePredicatesComplements() 1133 (i < SUJ->Succs.size()) && !FoundSequentialDependence; in isLegalToPacketizeTogether() [all …]
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 475 AdjacentBlocks Succs; variable 494 BlockID(blockid), Preds(C, 1), Succs(C, 1), HasNoReturnElement(false), in CFGBlock() 542 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() 543 succ_iterator succ_end() { return Succs.end(); } in succ_end() 544 const_succ_iterator succ_begin() const { return Succs.begin(); } in succ_begin() 545 const_succ_iterator succ_end() const { return Succs.end(); } in succ_end() 547 succ_reverse_iterator succ_rbegin() { return Succs.rbegin(); } in succ_rbegin() 548 succ_reverse_iterator succ_rend() { return Succs.rend(); } in succ_rend() 549 const_succ_reverse_iterator succ_rbegin() const { return Succs.rbegin(); } in succ_rbegin() 550 const_succ_reverse_iterator succ_rend() const { return Succs.rend(); } in succ_rend() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 255 std::vector<BasicBlock*> Succs(succ_begin(BB), succ_end(BB)); in DeleteBasicBlock() local 257 for (unsigned i = 0, e = Succs.size(); i != e; ++i) in DeleteBasicBlock() 258 Succs[i]->removePredecessor(BB); in DeleteBasicBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 444 void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs); 519 SmallVectorImpl<bool> &Succs) { in getFeasibleSuccessors() argument 520 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors() 523 Succs[0] = true; in getFeasibleSuccessors() 533 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 538 Succs[CI->isZero()] = true; in getFeasibleSuccessors() 544 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 550 Succs[0] = true; in getFeasibleSuccessors() 559 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() 563 Succs[SI->findCaseValue(CI).getSuccessorIndex()] = true; in getFeasibleSuccessors() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExplodedGraph.cpp | 221 V->Succs.addNode(this, G); in addPredecessor() 427 for (ExplodedNode::succ_iterator I = N->Succs.begin(), E = N->Succs.end(); in trim()
|
/external/llvm/include/llvm/CodeGen/ |
D | ScheduleDAG.h | 276 SmallVector<SDep, 4> Succs; // All sunit successors. 467 for (unsigned i = 0, e = (unsigned)Succs.size(); i != e; ++i) 468 if (Succs[i].getSUnit() == N)
|
/external/llvm/lib/Target/R600/ |
D | R600Packetizer.cpp | 200 for (unsigned i = 0, e = SUJ->Succs.size(); i < e; ++i) { in isLegalToPacketizeTogether() 201 const SDep &Dep = SUJ->Succs[i]; in isLegalToPacketizeTogether()
|
/external/llvm/include/llvm/Analysis/ |
D | SparsePropagation.h | 195 void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs,
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 120 const UniqueVector<BasicBlock*>&Succs); 708 const UniqueVector<BasicBlock *> &Succs) { in buildEdgeLookupTable() argument 714 size_t TableSize = Succs.size() * Preds.size(); in buildEdgeLookupTable() 733 EdgeTable[((Succs.idFor(Succ)-1) * Preds.size()) + in buildEdgeLookupTable()
|
/external/llvm/lib/Transforms/Utils/ |
D | CodeExtractor.cpp | 749 std::vector<BasicBlock*> Succs(succ_begin(codeReplacer), in extractCodeRegion() local 751 for (unsigned i = 0, e = Succs.size(); i != e; ++i) in extractCodeRegion() 752 for (BasicBlock::iterator I = Succs[i]->begin(); isa<PHINode>(I); ++I) { in extractCodeRegion()
|