/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/swiftshader/third_party/LLVM/lib/Analysis/ |
D | SparsePropagation.cpp | 121 SmallVectorImpl<bool> &Succs, in getFeasibleSuccessors() argument 123 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors() 128 Succs[0] = true; in getFeasibleSuccessors() 141 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 152 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 157 Succs[C->isNullValue()] = true; in getFeasibleSuccessors() 164 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 169 Succs.assign(Succs.size(), true); in getFeasibleSuccessors() 183 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() 194 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()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ScheduleDAG.cpp | 114 N->Succs.push_back(P); in addPred() 135 for (SmallVector<SDep, 4>::iterator II = N->Succs.begin(), in removePred() 136 EE = N->Succs.end(); II != EE; ++II) in removePred() 139 N->Succs.erase(II); in removePred() 175 for (SUnit::const_succ_iterator I = SU->Succs.begin(), in setDepthDirty() 176 E = SU->Succs.end(); I != E; ++I) { in setDepthDirty() 265 for (SUnit::const_succ_iterator I = Cur->Succs.begin(), in ComputeHeight() 266 E = Cur->Succs.end(); I != E; ++I) { in ComputeHeight() 326 if (Succs.size() != 0) { in dumpAll() 328 for (SUnit::const_succ_iterator I = Succs.begin(), E = Succs.end(); in dumpAll() [all …]
|
D | LatencyPriorityQueue.cpp | 76 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in push() 92 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ScheduledNode()
|
D | ScheduleDAGEmit.cpp | 46 for (SUnit::const_succ_iterator II = SU->Succs.begin(), in EmitPhysRegCopy() 47 EE = SU->Succs.end(); II != EE; ++II) { in EmitPhysRegCopy()
|
D | TailDuplication.cpp | 96 SmallSetVector<MachineBasicBlock*, 8> &Succs); 191 SmallSetVector<MachineBasicBlock*, 8> Succs(MBB->succ_begin(), in TailDuplicateAndUpdate() local 209 UpdateSuccessorsPHIs(MBB, isDead, TDBBs, Succs); in TailDuplicateAndUpdate() 444 SmallSetVector<MachineBasicBlock*,8> &Succs) { in UpdateSuccessorsPHIs() argument 445 for (SmallSetVector<MachineBasicBlock*, 8>::iterator SI = Succs.begin(), in UpdateSuccessorsPHIs() 446 SE = Succs.end(); SI != SE; ++SI) { in UpdateSuccessorsPHIs() 632 SmallPtrSet<MachineBasicBlock*, 8> Succs(BB.succ_begin(), BB.succ_end()); in canCompletelyDuplicateBB() local 657 SmallPtrSet<MachineBasicBlock*, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB() local 669 if (bothUsedInPHI(*PredBB, Succs)) in duplicateSimpleBB()
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
D | MCFunction.h | 51 SetTy Succs; variable 56 succ_iterator succ_begin() const { return Succs.begin(); } in succ_begin() 57 succ_iterator succ_end() const { return Succs.end(); } in succ_end() 59 bool contains(uint64_t Addr) const { return Succs.count(Addr); } in contains() 62 void addSucc(uint64_t Addr) { Succs.insert(Addr); } in addSucc()
|
/external/clang/test/Analysis/ |
D | blocks.mm | 16 // CHECK-NEXT: Succs (1): B1 22 // CHECK-NEXT: Succs (1): B0 40 // CHECK-NEXT: Succs (1): B1 48 // CHECK-NEXT: Succs (1): B0 63 // CHECK-NEXT: Succs (1): B1 72 // CHECK-NEXT: Succs (1): B0
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExplodedGraph.h | 122 NodeGroup Succs; variable 127 : Location(loc), State(std::move(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() 295 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 365 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 402 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in InsertCopiesAndMoveSuccs() 541 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!"); in ListScheduleBottomUp()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 828 SmallVector<BasicBlock*, 4> Succs; in RemoveBlockIfDead() local 830 Succs.push_back(TI->getSuccessor(i)); in RemoveBlockIfDead() 835 array_pod_sort(Succs.begin(), Succs.end()); in RemoveBlockIfDead() 836 Succs.erase(std::unique(Succs.begin(), Succs.end()), Succs.end()); in RemoveBlockIfDead() 845 for (unsigned i = 0; i != Succs.size(); ++i) in RemoveBlockIfDead() 846 if (pred_begin(Succs[i]) != pred_end(Succs[i])) { in RemoveBlockIfDead() 852 if (!LI->isLoopHeader(Succs[i])) { in RemoveBlockIfDead() 853 Succs.erase(Succs.begin()+i); in RemoveBlockIfDead() 858 for (unsigned i = 0, e = Succs.size(); i != e; ++i) in RemoveBlockIfDead() 859 RemoveBlockIfDead(Succs[i], Worklist, L); in RemoveBlockIfDead()
|
/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() 251 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in releaseBottomNode() 451 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in getSingleUnscheduledSucc() 512 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in SchedulingCost()
|
D | HexagonVLIWPacketizer.cpp | 812 for (unsigned i = 0; i < PacketSU->Succs.size(); ++i) { in restrictingDepExistInPacket() 813 auto &Dep = PacketSU->Succs[i]; in restrictingDepExistInPacket() 877 for (unsigned i = 0; i < PacketSU->Succs.size(); ++i) { in arePredicatesComplements() 878 auto Dep = PacketSU->Succs[i]; in arePredicatesComplements() 1215 for (unsigned i = 0; i < SUJ->Succs.size(); ++i) { in isLegalToPacketizeTogether() 1219 if (SUJ->Succs[i].getSUnit() != SUI) in isLegalToPacketizeTogether() 1222 SDep::Kind DepType = SUJ->Succs[i].getKind(); in isLegalToPacketizeTogether() 1247 DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether() 1254 if (!isCallDependent(I, DepType, SUJ->Succs[i].getReg())) in isLegalToPacketizeTogether() 1334 unsigned DepReg = SUJ->Succs[i].getReg(); in isLegalToPacketizeTogether()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGFast.cpp | 188 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ScheduleNodeBottomUp() 290 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 358 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 395 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in InsertCopiesAndMoveSuccs() 530 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!"); in ListScheduleBottomUp()
|
D | ScheduleDAGRRList.cpp | 623 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ScheduleNodeBottomUp() 689 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in UnscheduleNodeBottomUp() 868 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 946 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in CopyAndMoveSuccessors() 986 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in InsertCopiesAndMoveSuccs() 1272 assert(RootSU->Succs.empty() && "Graph root shouldn't have successors!"); in ListScheduleBottomUp() 1336 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in ReleaseSuccessors() 2018 if (PredSU->NumSuccsLeft != PredSU->Succs.size()) in UnscheduledNode() 2080 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in closestSucc() 2134 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in hasOnlyLiveOutUses() [all …]
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 474 AdjacentBlocks Succs; variable 493 BlockID(blockid), Preds(C, 1), Succs(C, 1), HasNoReturnElement(false), in CFGBlock() 541 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() 542 succ_iterator succ_end() { return Succs.end(); } in succ_end() 543 const_succ_iterator succ_begin() const { return Succs.begin(); } in succ_begin() 544 const_succ_iterator succ_end() const { return Succs.end(); } in succ_end() 546 succ_reverse_iterator succ_rbegin() { return Succs.rbegin(); } in succ_rbegin() 547 succ_reverse_iterator succ_rend() { return Succs.rend(); } in succ_rend() 548 const_succ_reverse_iterator succ_rbegin() const { return Succs.rbegin(); } in succ_rbegin() 549 const_succ_reverse_iterator succ_rend() const { return Succs.rend(); } in succ_rend() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFixIrreducibleControlFlow.cpp | 85 SmallVector<MachineBasicBlock *, 2> Succs; member in __anon38cb28ba0211::MetaBlock 90 Succs(MBB->succ_begin(), MBB->succ_end()) {} in MetaBlock() 93 Loop->getExitBlocks(Succs); in MetaBlock() 105 return Succs; in successors()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIMachineScheduler.cpp | 423 for (SDep& Succ : SU->Succs) { in undoSchedule() 464 for (SDep& Succ : SU->Succs) { in releaseSuccessors() 494 for (SDep& Succ : SU->Succs) { in nodeScheduled() 525 assert(none_of(Succs, in addPred() 534 for (SIScheduleBlock* S : Succs) { in addSucc() 540 Succs.push_back(Succ); in addSucc() 560 for (SIScheduleBlock* S : Succs) { in printDebug() 763 for (SDep& SuccDep : SU->Succs) { in colorComputeReservedDependencies() 836 for (SDep& SuccDep : SU->Succs) { in colorEndsAccordingToDependencies() 903 for (SDep& SuccDep : SU->Succs) { in colorMergeConstantLoadsNextGroup() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 266 std::vector<BasicBlock *> Succs(succ_begin(BB), succ_end(BB)); in DeleteBasicBlock() local 268 for (unsigned i = 0, e = Succs.size(); i != e; ++i) in DeleteBasicBlock() 269 Succs[i]->removePredecessor(BB); in DeleteBasicBlock()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 85 const UniqueVector<BasicBlock *> &Succs); 527 const UniqueVector<BasicBlock *> &Succs) { in buildEdgeLookupTable() argument 535 Int64PtrTy, Succs.size() * Preds.size()); in buildEdgeLookupTable() 537 Constant **EdgeTable = new Constant*[Succs.size() * Preds.size()]; in buildEdgeLookupTable() 539 for (int i = 0, ie = Succs.size() * Preds.size(); i != ie; ++i) in buildEdgeLookupTable() 552 EdgeTable[((Succs.idFor(Succ)-1) * Preds.size()) + in buildEdgeLookupTable() 559 ArrayRef<Constant*> V(&EdgeTable[0], Succs.size() * Preds.size()); in buildEdgeLookupTable()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | PruneEH.cpp | 251 std::vector<BasicBlock*> Succs(succ_begin(BB), succ_end(BB)); in DeleteBasicBlock() local 253 for (unsigned i = 0, e = Succs.size(); i != e; ++i) in DeleteBasicBlock() 254 Succs[i]->removePredecessor(BB); in DeleteBasicBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SCCP.cpp | 460 void getFeasibleSuccessors(TerminatorInst &TI, SmallVectorImpl<bool> &Succs); 542 SmallVectorImpl<bool> &Succs) { in getFeasibleSuccessors() argument 543 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors() 546 Succs[0] = true; in getFeasibleSuccessors() 556 Succs[0] = Succs[1] = true; in getFeasibleSuccessors() 561 Succs[CI->isZero()] = true; in getFeasibleSuccessors() 567 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() 573 Succs[0] = true; in getFeasibleSuccessors() 582 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() 586 Succs[SI->findCaseValue(CI).getSuccessorIndex()] = true; in getFeasibleSuccessors() [all …]
|