Home
last modified time | relevance | path

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

1234

/external/llvm-project/clang/unittests/Tooling/
DDependencyScannerTest.cpp36 std::vector<std::string> &Deps) in TestFileCollector() argument
37 : DependencyFileGenerator(Opts), Deps(Deps) {} in TestFileCollector()
41 Deps.insert(Deps.end(), NewDeps.begin(), NewDeps.end()); in finishedMainFile()
45 std::vector<std::string> &Deps; member in clang::tooling::__anonceae9cda0111::TestFileCollector
50 TestDependencyScanningAction(std::vector<std::string> &Deps) : Deps(Deps) {} in TestDependencyScanningAction() argument
66 Compiler.getInvocation().getDependencyOutputOpts(), Deps)); in runInvocation()
73 std::vector<std::string> &Deps; member in clang::tooling::__anonceae9cda0111::TestDependencyScanningAction
101 std::vector<std::string> Deps; in TEST() local
102 TestDependencyScanningAction Action(Deps); in TEST()
106 ASSERT_EQ(Deps.size(), 3u); in TEST()
[all …]
/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/llvm-project/llvm/unittests/ADT/
DDAGDeltaAlgorithmTest.cpp60 std::vector<edge_ty> Deps; in TEST() local
64 Deps.clear(); in TEST()
65 Deps.push_back(std::make_pair(3, 1)); in TEST()
71 EXPECT_EQ(fixed_set(4, 1, 3, 5, 7), FDA.Run(range(20), Deps)); in TEST()
78 Deps.clear(); in TEST()
79 Deps.push_back(std::make_pair(1, 0)); in TEST()
80 Deps.push_back(std::make_pair(2, 0)); in TEST()
81 Deps.push_back(std::make_pair(4, 0)); in TEST()
82 Deps.push_back(std::make_pair(3, 2)); in TEST()
90 EXPECT_EQ(fixed_set(4, 0, 1, 2, 3), FDA2.Run(range(5), Deps)); in TEST()
[all …]
/external/llvm-project/clang/lib/AST/
DComputeDependence.cpp53 auto Deps = ArgDeps & ~ExprDependence::TypeValue; in computeDependence() local
56 Deps |= ExprDependence::Value; in computeDependence()
61 return Deps; in computeDependence()
62 if ((Deps & ExprDependence::Value) && (Deps & ExprDependence::Instantiation)) in computeDependence()
63 return Deps; in computeDependence()
72 return Deps; in computeDependence()
75 Deps |= ExprDependence::Error; in computeDependence()
77 Deps |= ExprDependence::ValueInstantiation; in computeDependence()
79 return Deps; in computeDependence()
407 auto Deps = ExprDependence::None; in computeDependence() local
[all …]
DTemplateBase.cpp116 auto Deps = TemplateArgumentDependence::None; in getDependence() local
122 Deps = toTemplateArgumentDependence(getAsType()->getDependence()); in getDependence()
124 Deps |= TemplateArgumentDependence::Dependent; in getDependence()
125 return Deps; in getDependence()
139 Deps = TemplateArgumentDependence::Dependent | in getDependence()
141 return Deps; in getDependence()
149 Deps = toTemplateArgumentDependence(getAsExpr()->getDependence()); in getDependence()
151 Deps |= TemplateArgumentDependence::Dependent | in getDependence()
153 return Deps; in getDependence()
157 Deps |= P.getDependence(); in getDependence()
[all …]
/external/llvm-project/polly/lib/Analysis/
DDependenceInfo.cpp693 bool Dependences::isParallel(isl_union_map *Schedule, isl_union_map *Deps, in isParallel() argument
700 Deps = isl_union_map_apply_range(Deps, isl_union_map_copy(Schedule)); in isParallel()
701 Deps = isl_union_map_apply_domain(Deps, isl_union_map_copy(Schedule)); in isParallel()
703 if (isl_union_map_is_empty(Deps)) { in isParallel()
704 isl_union_map_free(Deps); in isParallel()
708 ScheduleDeps = isl_map_from_union_map(Deps); in isParallel()
780 isl::union_map Deps = Deps.empty(Space); in getDependences() local
783 Deps = Deps.unite(isl::manage_copy(RAW)); in getDependences()
786 Deps = Deps.unite(isl::manage_copy(WAR)); in getDependences()
789 Deps = Deps.unite(isl::manage_copy(WAW)); in getDependences()
[all …]
DPolyhedralInfo.cpp84 isl_union_map *Deps = in checkParallel() local
89 LLVM_DEBUG(dbgs() << "Dependences :\t" << stringFromIslObj(Deps) << "\n"); in checkParallel()
94 IsParallel = D.isParallel(Schedule, Deps, MinDepDistPtr); in checkParallel()
/external/llvm-project/llvm/lib/Analysis/
DMemDepPrinter.cpp41 DepSetMap Deps; member
59 Deps.clear(); in releaseMemory()
108 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
114 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
125 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
140 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
141 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-10.0/llvm/lib/Analysis/
DMemDepPrinter.cpp39 DepSetMap Deps; member
57 Deps.clear(); in releaseMemory()
106 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
112 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
123 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
138 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
139 if (DI == Deps.end()) in print()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DCheckerRegistry.cpp195 static bool collectStrongDependencies(const ConstCheckerInfoList &Deps,
202 static void collectWeakDependencies(const ConstCheckerInfoList &Deps,
219 CheckerInfoSet Deps; in initializeRegistry() local
220 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps, in initializeRegistry()
227 Tmp.insert(Deps.begin(), Deps.end()); in initializeRegistry()
243 CheckerInfoSet Deps; in initializeRegistry() local
245 collectWeakDependencies(Checker.WeakDependencies, Mgr, Deps, IsEnabled); in initializeRegistry()
247 if (!collectStrongDependencies(Checker.Dependencies, Mgr, Deps, in initializeRegistry()
255 Data.EnabledCheckers.set_union(Deps); in initializeRegistry()
261 static bool collectStrongDependencies(const ConstCheckerInfoList &Deps, in collectStrongDependencies() argument
[all …]
/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/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/llvm-project/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp103 SmallPtrSetImpl<GlobalValue *> &Deps) { in ComputeDependencies() argument
106 Deps.insert(Parent); in ComputeDependencies()
108 Deps.insert(GV); in ComputeDependencies()
114 Deps.insert(K.begin(), K.end()); in ComputeDependencies()
119 Deps.insert(LocalDeps.begin(), LocalDeps.end()); in ComputeDependencies()
125 SmallPtrSet<GlobalValue *, 8> Deps; in UpdateGVDependencies() local
127 ComputeDependencies(User, Deps); in UpdateGVDependencies()
128 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies()
129 for (GlobalValue *GVU : Deps) { in UpdateGVDependencies()
DAttributor.cpp564 for (auto &DepAA : DG.SyntheticRoot.Deps) { in ~Attributor()
975 << DG.SyntheticRoot.Deps.size() in runTillFixpoint()
989 size_t NumAAs = DG.SyntheticRoot.Deps.size(); in runTillFixpoint()
1001 << InvalidAA->Deps.size() in runTillFixpoint()
1003 while (!InvalidAA->Deps.empty()) { in runTillFixpoint()
1004 const auto &Dep = InvalidAA->Deps.back(); in runTillFixpoint()
1005 InvalidAA->Deps.pop_back(); in runTillFixpoint()
1023 while (!ChangedAA->Deps.empty()) { in runTillFixpoint()
1025 cast<AbstractAttribute>(ChangedAA->Deps.back().getPointer())); in runTillFixpoint()
1026 ChangedAA->Deps.pop_back(); in runTillFixpoint()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp103 SmallPtrSetImpl<GlobalValue *> &Deps) { in ComputeDependencies() argument
106 Deps.insert(Parent); in ComputeDependencies()
108 Deps.insert(GV); in ComputeDependencies()
114 Deps.insert(K.begin(), K.end()); in ComputeDependencies()
119 Deps.insert(LocalDeps.begin(), LocalDeps.end()); in ComputeDependencies()
125 SmallPtrSet<GlobalValue *, 8> Deps; in UpdateGVDependencies() local
127 ComputeDependencies(User, Deps); in UpdateGVDependencies()
128 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies()
129 for (GlobalValue *GVU : Deps) { in UpdateGVDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp652 SmallVectorImpl<DataDep> &Deps, in getDataDeps() argument
673 Deps.push_back(DataDep(MRI, Reg, UseMI.getOperandNo(I))); in getDataDeps()
682 SmallVectorImpl<DataDep> &Deps, in getPHIDeps() argument
692 Deps.push_back(DataDep(MRI, Reg, i)); in getPHIDeps()
701 SmallVectorImpl<DataDep> &Deps, in updatePhysDepsDownwards() argument
730 Deps.push_back(DataDep(I->MI, I->Op, UseMI->getOperandNo(MI))); in updatePhysDepsDownwards()
785 SmallVector<DataDep, 8> Deps; in updateDepth() local
788 getPHIDeps(UseMI, Deps, TBI.Pred, MTM.MRI); in updateDepth()
789 else if (getDataDeps(UseMI, Deps, MTM.MRI)) in updateDepth()
790 updatePhysDepsDownwards(&UseMI, Deps, RegUnits, MTM.TRI); in updateDepth()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp652 SmallVectorImpl<DataDep> &Deps, in getDataDeps() argument
673 Deps.push_back(DataDep(MRI, Reg, UseMI.getOperandNo(I))); in getDataDeps()
682 SmallVectorImpl<DataDep> &Deps, in getPHIDeps() argument
692 Deps.push_back(DataDep(MRI, Reg, i)); in getPHIDeps()
701 SmallVectorImpl<DataDep> &Deps, in updatePhysDepsDownwards() argument
728 Deps.push_back(DataDep(I->MI, I->Op, UseMI->getOperandNo(MI))); in updatePhysDepsDownwards()
784 SmallVector<DataDep, 8> Deps; in updateDepth() local
787 getPHIDeps(UseMI, Deps, TBI.Pred, MTM.MRI); in updateDepth()
788 else if (getDataDeps(UseMI, Deps, MTM.MRI)) in updateDepth()
789 updatePhysDepsDownwards(&UseMI, Deps, RegUnits, MTM.TRI); in updateDepth()
[all …]
/external/oss-fuzz/projects/hugo/
Dfuzz.go30 func newFuzzDeps(cfg config.Provider) *deps.Deps {
38 return &deps.Deps{
/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/llvm-project/clang/lib/Tooling/DependencyScanning/
DModuleDepCollector.cpp109 MDC.Deps[MDC.ContextHash + Imported->getTopLevelModule()->getFullModuleName()] in handleImport()
123 for (auto &&I : MDC.Deps) in EndOfMainFile()
133 auto ModI = MDC.Deps.insert( in handleTopLevelModule()
/external/llvm-project/llvm/include/llvm/Analysis/
DDDG.h291 DependenceList &Deps) const;
446 const NodeType &Src, const NodeType &Dst, DependenceList &Deps) const { in getDependencies() argument
447 assert(Deps.empty() && "Expected empty output list at the start."); in getDependencies()
461 Deps.push_back(std::move(Dep)); in getDependencies()
463 return !Deps.empty(); in getDependencies()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DCheckerBase.td139 class Dependencies<list<Checker> Deps = []> {
140 list<Checker> Dependencies = Deps;
157 class WeakDependencies<list<Checker> Deps = []> {
158 list<Checker> WeakDependencies = Deps;
/external/llvm-project/polly/include/polly/
DDependenceInfo.h117 __isl_take isl_union_map *Deps,
164 void setReductionDependences(MemoryAccess *MA, __isl_take isl_map *Deps);

1234