Home
last modified time | relevance | path

Searched refs:Deps (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/unittests/ADT/
DDAGDeltaAlgorithmTest.cpp61 std::vector<edge_ty> Deps; in TEST() local
65 Deps.clear(); in TEST()
66 Deps.push_back(std::make_pair(3, 1)); in TEST()
72 EXPECT_EQ(fixed_set(4, 1, 3, 5, 7), FDA.Run(range(20), Deps)); in TEST()
79 Deps.clear(); in TEST()
80 Deps.push_back(std::make_pair(1, 0)); in TEST()
81 Deps.push_back(std::make_pair(2, 0)); in TEST()
82 Deps.push_back(std::make_pair(4, 0)); in TEST()
83 Deps.push_back(std::make_pair(3, 2)); in TEST()
91 EXPECT_EQ(fixed_set(4, 0, 1, 2, 3), FDA2.Run(range(5), Deps)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DDAGDeltaAlgorithmTest.cpp61 std::vector<edge_ty> Deps; in TEST() local
65 Deps.clear(); in TEST()
66 Deps.push_back(std::make_pair(3, 1)); in TEST()
72 EXPECT_EQ(fixed_set(4, 1, 3, 5, 7), FDA.Run(range(20), Deps)); in TEST()
79 Deps.clear(); in TEST()
80 Deps.push_back(std::make_pair(1, 0)); in TEST()
81 Deps.push_back(std::make_pair(2, 0)); in TEST()
82 Deps.push_back(std::make_pair(4, 0)); in TEST()
83 Deps.push_back(std::make_pair(3, 2)); in TEST()
91 EXPECT_EQ(fixed_set(4, 0, 1, 2, 3), FDA2.Run(range(5), Deps)); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ADT/
DDAGDeltaAlgorithmTest.cpp61 std::vector<edge_ty> Deps; in TEST() local
65 Deps.clear(); in TEST()
66 Deps.push_back(std::make_pair(3, 1)); in TEST()
72 EXPECT_EQ(fixed_set(4, 1, 3, 5, 7), FDA.Run(range(20), Deps)); in TEST()
79 Deps.clear(); in TEST()
80 Deps.push_back(std::make_pair(1, 0)); in TEST()
81 Deps.push_back(std::make_pair(2, 0)); in TEST()
82 Deps.push_back(std::make_pair(4, 0)); in TEST()
83 Deps.push_back(std::make_pair(3, 2)); in TEST()
91 EXPECT_EQ(fixed_set(4, 0, 1, 2, 3), FDA2.Run(range(5), Deps)); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemDepPrinter.cpp41 DepSetMap Deps; member
59 Deps.clear(); in releaseMemory()
109 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
115 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
126 Deps[Inst].insert(std::make_pair(getInstTypePair(0, Unknown), in runOnFunction()
135 Deps[Inst].insert(std::make_pair(getInstTypePair(0, Unknown), in runOnFunction()
148 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
164 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
165 if (DI == Deps.end()) in print()
/external/llvm/lib/Analysis/
DMemDepPrinter.cpp40 DepSetMap Deps; member
58 Deps.clear(); in releaseMemory()
107 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
113 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
124 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
139 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
140 if (DI == Deps.end()) in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemDepPrinter.cpp40 DepSetMap Deps; member
58 Deps.clear(); in releaseMemory()
107 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
113 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
124 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
139 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
140 if (DI == Deps.end()) in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp90 SmallPtrSetImpl<GlobalValue *> &Deps) { in ComputeDependencies() argument
93 Deps.insert(Parent); in ComputeDependencies()
95 Deps.insert(GV); in ComputeDependencies()
101 Deps.insert(K.begin(), K.end()); in ComputeDependencies()
106 Deps.insert(LocalDeps.begin(), LocalDeps.end()); in ComputeDependencies()
112 SmallPtrSet<GlobalValue *, 8> Deps; in UpdateGVDependencies() local
114 ComputeDependencies(User, Deps); in UpdateGVDependencies()
115 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies()
116 for (GlobalValue *GVU : Deps) { in UpdateGVDependencies()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp629 SmallVectorImpl<DataDep> &Deps, in getDataDeps() argument
650 Deps.push_back(DataDep(MRI, Reg, UseMI.getOperandNo(I))); in getDataDeps()
659 SmallVectorImpl<DataDep> &Deps, in getPHIDeps() argument
669 Deps.push_back(DataDep(MRI, Reg, i)); in getPHIDeps()
695 SmallVectorImpl<DataDep> &Deps, in updatePhysDepsDownwards() argument
724 Deps.push_back(DataDep(I->MI, I->Op, UseMI->getOperandNo(MI))); in updatePhysDepsDownwards()
801 SmallVector<DataDep, 8> Deps; in computeInstrDepths() local
828 Deps.clear(); in computeInstrDepths()
830 getPHIDeps(UseMI, Deps, TBI.Pred, MTM.MRI); in computeInstrDepths()
831 else if (getDataDeps(UseMI, Deps, MTM.MRI)) in computeInstrDepths()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp653 SmallVectorImpl<DataDep> &Deps, in getDataDeps() argument
674 Deps.push_back(DataDep(MRI, Reg, UseMI.getOperandNo(I))); in getDataDeps()
683 SmallVectorImpl<DataDep> &Deps, in getPHIDeps() argument
693 Deps.push_back(DataDep(MRI, Reg, i)); in getPHIDeps()
702 SmallVectorImpl<DataDep> &Deps, in updatePhysDepsDownwards() argument
731 Deps.push_back(DataDep(I->MI, I->Op, UseMI->getOperandNo(MI))); in updatePhysDepsDownwards()
786 SmallVector<DataDep, 8> Deps; in updateDepth() local
789 getPHIDeps(UseMI, Deps, TBI.Pred, MTM.MRI); in updateDepth()
790 else if (getDataDeps(UseMI, Deps, MTM.MRI)) in updateDepth()
791 updatePhysDepsDownwards(&UseMI, Deps, RegUnits, MTM.TRI); in updateDepth()
[all …]
/external/google-fruit/include/fruit/impl/
Dinjection_debug_errors.h56 template <typename Deps, typename CandidateEntailedDeps>
58 static_assert(AlwaysFalse<Deps>::value, "");
62 template <typename Deps, typename CandidateEntailedDeps>
63 using apply = ComponentDoesNotEntailDueToIncompatibleDepsError<Deps, CandidateEntailedDeps>;
/external/google-fruit/include/fruit/impl/component_storage/
Dbinding_deps.defn.h47 template <typename Deps>
49 return GetBindingDepsHelper<Deps>()();
Dbinding_deps.h33 template <typename Deps>
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DScheduleDAGInstrs.h42 LoopDeps Deps; variable
51 assert(Deps.empty() && "stale loop dependencies"); in VisitLoop()
83 Deps.insert(std::make_pair(MOReg, std::make_pair(&MO, Count))); in VisitRegion()
DInlineSpiller.cpp115 TinyPtrVector<VNInfo*> Deps; member
328 for (unsigned i = 0, e = SVI.Deps.size(); i != e; ++i) in operator <<()
329 OS << ' ' << SVI.Deps[i]->id << '@' << SVI.Deps[i]->def; in operator <<()
350 SVI->second.Deps.push_back(VNI); in propagateSiblingValue()
365 TinyPtrVector<VNInfo*> *Deps = VNI ? &FirstDeps : &SVI->second.Deps; in propagateSiblingValue() local
372 DEBUG(dbgs() << " prop to " << Deps->size() << ": " in propagateSiblingValue()
382 for (TinyPtrVector<VNInfo*>::iterator DepI = Deps->begin(), in propagateSiblingValue()
383 DepE = Deps->end(); DepI != DepE; ++DepI) { in propagateSiblingValue()
561 SVI->second.Deps.push_back(PHIs[pi]); in traceSiblingValue()
DScheduleDAGInstrs.cpp137 LoopRegs.Deps.clear(); in StartBlock()
351 LoopDependencies::LoopDeps::iterator I = LoopRegs.Deps.find(Reg); in BuildSchedGraph()
352 if (I != LoopRegs.Deps.end()) { in BuildSchedGraph()
388 LoopRegs.Deps.erase(I); in BuildSchedGraph()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DLegacy.cpp32 auto RegisterDependencies = [&](const SymbolDependenceMap &Deps) { in lookup() argument
34 MR->addDependenciesForAll(Deps); in lookup()
DRTDyldObjectLinkingLayer.cpp28 auto RegisterDependencies = [&](const SymbolDependenceMap &Deps) { in lookup() argument
29 MR.addDependenciesForAll(Deps); in lookup()
DCore.cpp93 raw_ostream &operator<<(raw_ostream &OS, const SymbolDependenceMap &Deps) { in operator <<() argument
95 if (!Deps.empty()) { in operator <<()
96 OS << " { " << Deps.begin()->first->getName() << ": " in operator <<()
97 << Deps.begin()->second << " }"; in operator <<()
98 for (auto &KV : make_range(std::next(Deps.begin()), Deps.end())) in operator <<()
809 &SrcV](const SymbolDependenceMap &Deps) { in materialize() argument
811 if (Deps.empty()) in materialize()
815 assert(Deps.size() == 1 && Deps.count(&SrcV) && in materialize()
818 auto &SrcVDeps = Deps.find(&SrcV)->second; in materialize()
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp143 const auto *Deps = LAI.getDepChecker().getDependences(); in findStoreToLoadDependences() local
144 if (!Deps) in findStoreToLoadDependences()
153 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
DGVN.cpp1348 void GVN::AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps, in AnalyzeLoadAvailability() argument
1356 unsigned NumDeps = Deps.size(); in AnalyzeLoadAvailability()
1358 BasicBlock *DepBB = Deps[i].getBB(); in AnalyzeLoadAvailability()
1359 MemDepResult DepInfo = Deps[i].getResult(); in AnalyzeLoadAvailability()
1376 Value *Address = Deps[i].getAddress(); in AnalyzeLoadAvailability()
1609 LoadDepVect Deps; in processNonLocalLoad() local
1610 MD->getNonLocalPointerDependency(LI, Deps); in processNonLocalLoad()
1615 unsigned NumDeps = Deps.size(); in processNonLocalLoad()
1622 !Deps[0].getResult().isDef() && !Deps[0].getResult().isClobber()) { in processNonLocalLoad()
1643 AnalyzeLoadAvailability(LI, Deps, ValuesPerBlock, UnavailableBlocks); in processNonLocalLoad()
/external/google-fruit/include/fruit/impl/meta/
Dcomponent.h540 using Deps = DepsParam;
579 using type = typename Comp::Deps;
901 typename Comp::Deps,
917 PushFront(typename Comp::Deps, Pair<C, CRequirements>),
945 typename Comp::Deps,
954 using Loop = ProofForestFindLoop(typename Comp::Deps);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVN.cpp998 void GVN::AnalyzeLoadAvailability(LoadInst *LI, LoadDepVect &Deps, in AnalyzeLoadAvailability() argument
1005 unsigned NumDeps = Deps.size(); in AnalyzeLoadAvailability()
1007 BasicBlock *DepBB = Deps[i].getBB(); in AnalyzeLoadAvailability()
1008 MemDepResult DepInfo = Deps[i].getResult(); in AnalyzeLoadAvailability()
1025 Value *Address = Deps[i].getAddress(); in AnalyzeLoadAvailability()
1318 LoadDepVect Deps; in processNonLocalLoad() local
1319 MD->getNonLocalPointerDependency(LI, Deps); in processNonLocalLoad()
1324 unsigned NumDeps = Deps.size(); in processNonLocalLoad()
1331 !Deps[0].getResult().isDef() && !Deps[0].getResult().isClobber()) { in processNonLocalLoad()
1349 AnalyzeLoadAvailability(LI, Deps, ValuesPerBlock, UnavailableBlocks); in processNonLocalLoad()
DLoopLoadElimination.cpp174 const auto *Deps = LAI.getDepChecker().getDependences(); in findStoreToLoadDependences() local
175 if (!Deps) in findStoreToLoadDependences()
184 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp1268 SmallVector<NonLocalDepResult, 64> Deps; in processNonLocalLoad() local
1270 MD->getNonLocalPointerDependency(Loc, true, LI->getParent(), Deps); in processNonLocalLoad()
1277 if (Deps.size() > 100) in processNonLocalLoad()
1282 if (Deps.size() == 1 in processNonLocalLoad()
1283 && !Deps[0].getResult().isDef() && !Deps[0].getResult().isClobber()) in processNonLocalLoad()
1300 for (unsigned i = 0, e = Deps.size(); i != e; ++i) { in processNonLocalLoad()
1301 BasicBlock *DepBB = Deps[i].getBB(); in processNonLocalLoad()
1302 MemDepResult DepInfo = Deps[i].getResult(); in processNonLocalLoad()
1313 Value *Address = Deps[i].getAddress(); in processNonLocalLoad()
/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp376 if (const SymbolRefSmallVectorTy *Deps = SymMgr.getDependentSymbols(sym)) { in markDependentsLive() local
377 for (SymbolRefSmallVectorTy::const_iterator I = Deps->begin(), in markDependentsLive()
378 E = Deps->end(); I != E; ++I) { in markDependentsLive()

12