Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DDependencyScannerTest.cpp40 : DependencyFileGenerator(Opts), Deps(Deps) {} in TestFileCollector()
44 Deps.insert(Deps.end(), NewDeps.begin(), NewDeps.end()); in finishedMainFile()
48 std::vector<std::string> &Deps; member in __anon83d2e91a0111::TestFileCollector
53 TestDependencyScanningAction(std::vector<std::string> &Deps) : Deps(Deps) {} in TestDependencyScanningAction() argument
76 std::vector<std::string> &Deps; member in __anon83d2e91a0111::TestDependencyScanningAction
104 std::vector<std::string> Deps; in TEST() local
109 ASSERT_EQ(Deps.size(), 3u); in TEST()
119 Deps.clear(); in TEST()
122 ASSERT_EQ(Deps.size(), 3u); in TEST()
163 ASSERT_EQ(Deps.size(), 6u); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A 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 …]
/llvm-project-15.0.7/clang/lib/AST/
H A DComputeDependence.cpp93 return Deps; in computeDependence()
94 if ((Deps & ExprDependence::Value) && (Deps & ExprDependence::Instantiation)) in computeDependence()
95 return Deps; in computeDependence()
104 return Deps; in computeDependence()
111 return Deps; in computeDependence()
551 return Deps; in computeDependence()
566 return Deps; in computeDependence()
677 return Deps; in computeDependence()
755 return Deps; in computeDependence()
875 Deps |= KVDeps; in computeDependence()
[all …]
H A DTemplateBase.cpp192 auto Deps = TemplateArgumentDependence::None; in getDependence() local
198 Deps = toTemplateArgumentDependence(getAsType()->getDependence()); in getDependence()
200 Deps |= TemplateArgumentDependence::Dependent; in getDependence()
201 return Deps; in getDependence()
215 Deps = TemplateArgumentDependence::Dependent | in getDependence()
217 return Deps; in getDependence()
227 Deps |= TemplateArgumentDependence::Dependent | in getDependence()
229 return Deps; in getDependence()
233 Deps |= P.getDependence(); in getDependence()
234 return Deps; in getDependence()
[all …]
/llvm-project-15.0.7/polly/lib/Analysis/
H A DDependenceInfo.cpp798 isl::union_map Deps = Deps.empty(Space.ctx()); in getDependences() local
801 Deps = Deps.unite(isl::manage_copy(RAW)); in getDependences()
804 Deps = Deps.unite(isl::manage_copy(WAR)); in getDependences()
807 Deps = Deps.unite(isl::manage_copy(WAW)); in getDependences()
810 Deps = Deps.unite(isl::manage_copy(RED)); in getDependences()
813 Deps = Deps.unite(isl::manage_copy(TC_RED)); in getDependences()
815 Deps = Deps.coalesce(); in getDependences()
816 Deps = Deps.detect_equalities(); in getDependences()
817 return Deps; in getDependences()
853 Deps.release(); in abandonDependences()
[all …]
H A DPolyhedralInfo.cpp82 isl_union_map *Deps = in checkParallel() local
87 LLVM_DEBUG(dbgs() << "Dependences :\t" << stringFromIslObj(Deps, "null") in checkParallel()
94 IsParallel = D.isParallel(Schedule, Deps, MinDepDistPtr); in checkParallel()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemDepPrinter.cpp41 DepSetMap Deps; member
59 Deps.clear(); in releaseMemory()
105 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), in runOnFunction()
111 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
122 DepSet &InstDeps = Deps[Inst]; in runOnFunction()
137 DepSetMap::const_iterator DI = Deps.find(Inst); in print()
138 if (DI == Deps.end()) in print()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A 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 …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp105 SmallPtrSetImpl<GlobalValue *> &Deps) { in ComputeDependencies() argument
108 Deps.insert(Parent); in ComputeDependencies()
110 Deps.insert(GV); in ComputeDependencies()
116 Deps.insert(K.begin(), K.end()); in ComputeDependencies()
121 Deps.insert(LocalDeps.begin(), LocalDeps.end()); in ComputeDependencies()
127 SmallPtrSet<GlobalValue *, 8> Deps; in UpdateGVDependencies() local
129 ComputeDependencies(User, Deps); in UpdateGVDependencies()
130 Deps.erase(&GV); // Remove self-reference. in UpdateGVDependencies()
131 for (GlobalValue *GVU : Deps) { in UpdateGVDependencies()
H A DAttributor.cpp1160 for (auto &DepAA : DG.SyntheticRoot.Deps) { in ~Attributor()
1720 size_t NumAAs = DG.SyntheticRoot.Deps.size(); in runTillFixpoint()
1734 while (!InvalidAA->Deps.empty()) { in runTillFixpoint()
1736 InvalidAA->Deps.pop_back(); in runTillFixpoint()
1756 while (!ChangedAA->Deps.empty()) { in runTillFixpoint()
1759 ChangedAA->Deps.pop_back(); in runTillFixpoint()
1831 while (!ChangedAA->Deps.empty()) { in runTillFixpoint()
1834 ChangedAA->Deps.pop_back(); in runTillFixpoint()
1865 for (auto &DepAA : DG.SyntheticRoot.Deps) { in manifestAttributes()
3242 for (const auto &DepAA : Deps) { in printWithDeps()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineTraceMetrics.cpp784 SmallVector<DataDep, 8> Deps; in updateDepth() local
793 for (const DataDep &Dep : Deps) { in updateDepth()
1043 SmallVector<DataDep, 8> Deps; in computeInstrHeights() local
1077 Deps.clear(); in computeInstrHeights()
1079 if (!Deps.empty()) { in computeInstrHeights()
1085 addLiveIns(Deps.front().DefMI, Deps.front().DefOp, Stack); in computeInstrHeights()
1107 Deps.clear(); in computeInstrHeights()
1116 for (const DataDep &Dep : Deps) in computeInstrHeights()
1183 SmallVector<DataDep, 1> Deps; in getPHIDepth() local
1184 getPHIDeps(PHI, Deps, MBB, TE.MTM.MRI); in getPHIDepth()
[all …]
/llvm-project-15.0.7/polly/lib/Transform/
H A DDeadCodeElimination.cpp149 const Dependences &Deps = DI.getDependences(Dependences::AL_Statement); in runOnScop() local
151 bool Changed = runDeadCodeElimination(S, DCEPreciseSteps, Deps); in runOnScop()
176 const Dependences &Deps = DA.getDependences(Dependences::AL_Statement); in run() local
178 bool Changed = runDeadCodeElimination(S, DCEPreciseSteps, Deps); in run()
H A DScheduleTreeTransform.cpp715 isl::ctx Ctx = Deps.ctx(); in remainigDepsFromSequence()
716 isl::space ParamSpace = Deps.get_space().params(); in remainigDepsFromSequence()
734 const isl::union_map &Deps) { in canFuseOutermost() argument
746 Deps.intersect_domain(LHSPartSched.domain()) in canFuseOutermost()
772 const isl::union_map &Deps) { in tryGreedyFuse() argument
773 if (!canFuseOutermost(LHS, RHS, Deps)) in tryGreedyFuse()
819 const isl::union_map &Deps) { in tryGreedyFuse() argument
829 RHS.as<isl::schedule_node_band>(), Deps); in tryGreedyFuse()
867 isl::union_map RemDeps = Deps.intersect(Unsequenced); in visitBand()
873 isl::union_map Deps) { in visitSequence() argument
[all …]
H A DScheduleOptimizer.cpp975 DependenceAnalysis::Result &Deps = SAM.getResult<DependenceAnalysis>(S, SAR); in runIslScheduleOptimizerUsingNPM() local
976 auto GetDeps = [&Deps](Dependences::AnalysisLevel) -> const Dependences & { in runIslScheduleOptimizerUsingNPM()
977 return Deps.getDependences(Dependences::AL_Statement); in runIslScheduleOptimizerUsingNPM()
985 Deps.abandonDependences(); in runIslScheduleOptimizerUsingNPM()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DDDG.h281 DependenceList &Deps) const;
441 const NodeType &Src, const NodeType &Dst, DependenceList &Deps) const { in getDependencies() argument
442 assert(Deps.empty() && "Expected empty output list at the start."); in getDependencies()
456 Deps.push_back(std::move(Dep)); in getDependencies()
458 return !Deps.empty(); in getDependencies()
467 DependenceList Deps; in getDependenceString() local
468 if (!getDependencies(Src, Dst, Deps)) in getDependenceString()
470 interleaveComma(Deps, OS, [&](const std::unique_ptr<Dependence> &D) { in getDependenceString()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h32 SmallVector<DTSortableEntry *, 2> Deps; variable
50 const SmallVector<DTSortableEntry *, 2> &getDeps() const { return Deps; } in getDeps()
51 void addDep(DTSortableEntry *E) { Deps.push_back(E); } in addDep()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp45 const ModuleDeps &Deps, in makeInvocationForModuleBuildWithoutPaths() argument
65 CI.getLangOpts()->ModuleName = Deps.ID.ModuleName; in makeInvocationForModuleBuildWithoutPaths()
66 CI.getFrontendOpts().IsSystemModule = Deps.IsSystem; in makeInvocationForModuleBuildWithoutPaths()
81 for (const auto &PrebuiltModule : Deps.PrebuiltModuleDeps) in makeInvocationForModuleBuildWithoutPaths()
84 CI.getFrontendOpts().ModuleMapFiles = Deps.ModuleMapFileDeps; in makeInvocationForModuleBuildWithoutPaths()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckerBase.td138 class Dependencies<list<Checker> Deps = []> {
139 list<Checker> Dependencies = Deps;
156 class WeakDependencies<list<Checker> Deps = []> {
157 list<Checker> WeakDependencies = Deps;
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp177 InstList Deps; // List of dependencies. member
272 for (Instruction *I : MG.Deps) in operator <<()
559 DepList Deps; in createLoadGroups() local
564 Deps.insert(D); in createLoadGroups()
572 return Deps; in createLoadGroups()
589 if (!llvm::all_of(Deps, isSafeToMoveToBase)) in createLoadGroups()
594 Deps.erase(Info.Inst); in createLoadGroups()
596 if (llvm::any_of(Deps, inAddrMap)) in createLoadGroups()
599 llvm::append_range(Move.Deps, Deps); in createLoadGroups()
664 for (Instruction *D : Move.Deps) in move()
[all …]
/llvm-project-15.0.7/polly/include/polly/
H A DDependenceInfo.h116 __isl_take isl_union_map *Deps,
167 void setReductionDependences(MemoryAccess *MA, __isl_take isl_map *Deps);
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DDebugUtils.cpp203 raw_ostream &operator<<(raw_ostream &OS, const SymbolDependenceMap &Deps) { in operator <<() argument
204 return OS << printSequence(Deps, '{', '}', in operator <<()
H A DRTDyldObjectLinkingLayer.cpp46 auto RegisterDependencies = [&](const SymbolDependenceMap &Deps) { in lookup() argument
47 MR.addDependenciesForAll(Deps); in lookup()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DDebugUtils.h64 raw_ostream &operator<<(raw_ostream &OS, const SymbolDependenceMap &Deps);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp177 const auto *Deps = LAI.getDepChecker().getDependences(); in findStoreToLoadDependences() local
178 if (!Deps) in findStoreToLoadDependences()
187 for (const auto &Dep : *Deps) { in findStoreToLoadDependences()
H A DGVN.cpp1280 void GVNPass::AnalyzeLoadAvailability(LoadInst *Load, LoadDepVect &Deps, in AnalyzeLoadAvailability() argument
1287 unsigned NumDeps = Deps.size(); in AnalyzeLoadAvailability()
1289 BasicBlock *DepBB = Deps[i].getBB(); in AnalyzeLoadAvailability()
1290 MemDepResult DepInfo = Deps[i].getResult(); in AnalyzeLoadAvailability()
1302 Value *Address = Deps[i].getAddress(); in AnalyzeLoadAvailability()
1741 LoadDepVect Deps; in processNonLocalLoad() local
1742 MD->getNonLocalPointerDependency(Load, Deps); in processNonLocalLoad()
1747 unsigned NumDeps = Deps.size(); in processNonLocalLoad()
1754 !Deps[0].getResult().isDef() && !Deps[0].getResult().isClobber()) { in processNonLocalLoad()
1772 AnalyzeLoadAvailability(Load, Deps, ValuesPerBlock, UnavailableBlocks); in processNonLocalLoad()

12