Home
last modified time | relevance | path

Searched refs:SetVector (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/llvm-project/mlir/lib/Analysis/
H A DTopologicalSortUtils.cpp155 SetVector<Block *> mlir::getBlocksSortedByDominance(Region &region) { in getBlocksSortedByDominance()
158 SetVector<Block *> blocks; in getBlocksSortedByDominance()
174 explicit TopoSortHelper(const SetVector<Operation *> &toSort) in TopoSortHelper()
180 SetVector<Operation *> sort() { in sort()
194 SetVector<Operation *> result = topoSortRegion(*rootRegion); in sort()
231 SetVector<Operation *> topoSortRegion(Region &rootRegion) { in topoSortRegion()
234 SetVector<Operation *> result; in topoSortRegion()
244 SetVector<Block *> sortedBlocks = getBlocksSortedByDominance(*region); in topoSortRegion()
274 const SetVector<Operation *> &toSort;
282 SetVector<Operation *>
[all …]
H A DSliceAnalysis.cpp20 #include "llvm/ADT/SetVector.h"
30 getForwardSliceImpl(Operation *op, SetVector<Operation *> *forwardSlice, in getForwardSliceImpl()
55 void mlir::getForwardSlice(Operation *op, SetVector<Operation *> *forwardSlice, in getForwardSlice()
65 // std::reverse does not work out of the box on SetVector and I want an in getForwardSlice()
71 void mlir::getForwardSlice(Value root, SetVector<Operation *> *forwardSlice, in getForwardSlice()
77 // std::reverse does not work out of the box on SetVector and I want an in getForwardSlice()
84 SetVector<Operation *> *backwardSlice, in getBackwardSliceImpl()
139 SetVector<Operation *> *backwardSlice, in getBackwardSlice()
150 void mlir::getBackwardSlice(Value root, SetVector<Operation *> *backwardSlice, in getSlice()
160 SetVector<Operatio in getSlice()
[all...]
/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.h39 bool erase(const SetVector<NodeId> &Nodes);
43 SetVector<NodeId> getDeadNodes() { return DeadNodes; } in getDeadNodes()
44 SetVector<NodeId> getDeadInstrs() { return DeadInstrs; } in getDeadInstrs()
49 SetVector<NodeId> LiveNodes;
50 SetVector<NodeId> DeadNodes;
51 SetVector<NodeId> DeadInstrs;
H A DHexagonRDFOpt.cpp100 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove);
159 const SetVector<NodeId> &DeadNodes = getDeadNodes(); in run()
160 const SetVector<NodeId> &DeadInstrs = getDeadInstrs(); in run()
165 SetVector<NodeId> PartlyDead; in run()
181 SetVector<NodeId> Remove = DeadInstrs; in run()
220 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite()
/llvm-project/flang/lib/Lower/OpenMP/
H A DDataSharingProcessor.h74 llvm::SetVector<const semantics::Symbol *> explicitlyPrivatizedSymbols;
75 llvm::SetVector<const semantics::Symbol *> defaultSymbols;
76 llvm::SetVector<const semantics::Symbol *> implicitSymbols;
77 llvm::SetVector<const semantics::Symbol *> preDeterminedSymbols;
78 llvm::SetVector<const semantics::Symbol *> allPrivatizedSymbols;
95 llvm::SetVector<const semantics::Symbol *> &symbols);
98 llvm::SetVector<const semantics::Symbol *> &symbolsInNestedRegions);
101 llvm::SetVector<const semantics::Symbol *> &symbolSet);
144 const llvm::SetVector<const semantics::Symbol *> &
/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp236 SetVector<BasicBlock *> Predecessors; in createNaturalLoopInternal()
293 SetVector<BasicBlock *> Entries; in makeReducible()
/llvm-project/mlir/include/mlir/Analysis/
H A DSliceAnalysis.h17 #include "llvm/ADT/SetVector.h"
100 void getForwardSlice(Operation *op, SetVector<Operation *> *forwardSlice,
105 void getForwardSlice(Value root, SetVector<Operation *> *forwardSlice,
142 void getBackwardSlice(Operation *op, SetVector<Operation *> *backwardSlice,
147 void getBackwardSlice(Value root, SetVector<Operation *> *backwardSlice,
151 /// a fixed point is reached. Returns an `SetVector<Operation *>` which
227 SetVector<Operation *>
H A DTopologicalSortUtils.h109 SetVector<Block *> getBlocksSortedByDominance(Region &region);
113 SetVector<Operation *> topologicalSort(const SetVector<Operation *> &toSort);
/llvm-project/llvm/unittests/ADT/
H A DSetVectorTest.cpp19 TEST(SetVector, EraseTest) { in TEST() argument
20 SetVector<int> S; in TEST()
35 TEST(SetVector, ContainsTest) { in TEST() argument
36 SetVector<int> S; in TEST()
53 TEST(SetVector, ConstPtrKeyTest) { in TEST() argument
54 SetVector<int *, SmallVector<int *, 8>, SmallPtrSet<const int *, 8>> S, T; in TEST()
/llvm-project/llvm/include/llvm/ADT/
H A DSetVector.h57 class SetVector {
76 SetVector() = default;
80 SetVector(It Start, It End) { in SetVector() function
291 bool operator==(const SetVector &that) const {
295 bool operator!=(const SetVector &that) const {
324 void swap(SetVector<T, Vector, Set, N> &RHS) { in swap()
370 class SmallSetVector : public SetVector<T, SmallVector<T, N>, DenseSet<T>, N> {
387 inline void swap(llvm::SetVector<T, V, S, N> &LHS, in swap()
388 llvm::SetVector<T, V, S, N> &RHS) { in swap()
/llvm-project/polly/include/polly/CodeGen/
H A DLoopGenerators.h18 #include "llvm/ADT/SetVector.h"
29 using llvm::SetVector;
158 SetVector<Value *> &Values, ValueMapT &VMap,
196 AllocaInst *storeValuesIntoStruct(SetVector<Value *> &Values);
204 void extractValuesFromStruct(SetVector<Value *> Values, Type *Ty,
244 createSubFn(Value *Stride, AllocaInst *Struct, SetVector<Value *> UsedValues,
H A DIslNodeBuilder.h37 SetVector<Value *> &Values;
38 SetVector<const SCEV *> &SCEVs;
253 SetVector<Value *> &Values,
254 SetVector<const Loop *> &Loops);
/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DSimplifyConstraintsTest.cpp25 llvm::SetVector<const Formula *> parse(StringRef Lines) { in parse()
27 llvm::SetVector<const Formula *> Constraints(formulas.begin(), in parse()
32 llvm::SetVector<const Formula *> simplify(StringRef Lines, in simplify()
34 llvm::SetVector<const Formula *> Constraints = parse(Lines); in simplify()
42 void printConstraints(const llvm::SetVector<const Formula *> &Constraints, in printConstraints()
55 constraintsToString(const llvm::SetVector<const Formula *> &Constraints) { in constraintsToString()
/llvm-project/mlir/test/lib/Analysis/DataFlow/
H A DTestSparseBackwardDataFlowAnalysis.cpp42 ChangeResult addWrites(const SetVector<StringAttr> &writes) { in addWrites()
59 SetVector<StringAttr> writes;
101 SetVector<StringAttr> newWrites; in visitOperation()
119 SetVector<StringAttr> newWrites; in visitBranchOperand()
129 SetVector<StringAttr> newWrites; in visitCallOperand()
145 SetVector<StringAttr> newWrites; in visitExternalCall()
/llvm-project/flang/include/flang/Lower/
H A DHostAssociations.h42 const llvm::SetVector<const Fortran::semantics::Symbol *> &symbols,
63 llvm::SetVector<const Fortran::semantics::Symbol *> tupleSymbols;
66 llvm::SetVector<const Fortran::semantics::Symbol *> globalSymbols;
/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h17 #include "llvm/ADT/SetVector.h"
34 SetVector<GlobalValue *> *GlobalsToImport;
102 SetVector<GlobalValue *> *GlobalsToImport, in FunctionImportGlobalProcessing()
131 SetVector<GlobalValue *> *GlobalsToImport = nullptr);
H A DCodeExtractor.h19 #include "llvm/ADT/SetVector.h"
86 using ValueSet = SetVector<Value *>;
104 SetVector<BasicBlock *> Blocks;
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp172 llvm::SetVector<const Formula *> Constraints) { in querySolver()
186 llvm::SetVector<const Formula *> Constraints; in flowConditionImplies()
198 llvm::SetVector<const Formula *> Constraints; in flowConditionAllows()
207 llvm::SetVector<const Formula *> Constraints; in equivalentFormulas()
213 Atom Token, llvm::SetVector<const Formula *> &Constraints) { in addTransitiveFlowConditionConstraints()
256 llvm::SetVector<const Formula *> Constraints; in dumpFlowCondition()
262 llvm::SetVector<const Formula *> OriginalConstraints = Constraints; in dumpFlowCondition()
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DUpdateVCEPass.cpp55 SetVector<spirv::Extension> &deducedExtensions) { in checkAndUpdateExtensionRequirements()
83 SetVector<spirv::Capability> &deducedCapabilities) { in checkAndUpdateCapabilityRequirements()
114 SetVector<spirv::Extension> deducedExtensions; in runOnOperation()
115 SetVector<spirv::Capability> deducedCapabilities; in runOnOperation()
/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.h186 Solver::Result querySolver(llvm::SetVector<const Formula *> Constraints);
238 llvm::SetVector<const Formula *> &Out);
242 bool isSatisfiable(llvm::SetVector<const Formula *> Constraints) { in isSatisfiable()
249 bool isUnsatisfiable(llvm::SetVector<const Formula *> Constraints) { in isUnsatisfiable()
/llvm-project/mlir/lib/Dialect/GPU/Transforms/
H A DKernelOutlining.cpp93 Operation *op, const SetVector<Value> &existingDependencies, in extractBeneficiaryOps()
94 SetVector<Operation *> &beneficiaryOps, in extractBeneficiaryOps()
131 SetVector<Value> sinkCandidates; in sinkOperationsIntoLaunchOp()
134 SetVector<Operation *> toBeSunk; in sinkOperationsIntoLaunchOp()
180 SetVector<Value> &operands) { in outlineKernelFuncImpl()
270 SetVector<Value> operandSet(operands.begin(), operands.end()); in outlineKernelFunc()
366 SetVector<Value> operands; in runOnOperation()
/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp19 #include "llvm/ADT/SetVector.h"
108 SetVector<ValueInfo, SmallVector<ValueInfo, 0>> &RefEdges, in findRefEdges()
185 SetVector<FunctionSummary::VFuncId, std::vector<FunctionSummary::VFuncId>> in addVCallToSet()
187 SetVector<FunctionSummary::ConstVCall, in addVCallToSet()
206 SetVector<GlobalValue::GUID, std::vector<GlobalValue::GUID>> &TypeTests, in addIntrinsicToSummary()
207 SetVector<FunctionSummary::VFuncId, std::vector<FunctionSummary::VFuncId>> in addIntrinsicToSummary()
209 SetVector<FunctionSummary::VFuncId, std::vector<FunctionSummary::VFuncId>> in addIntrinsicToSummary()
211 SetVector<FunctionSummary::ConstVCall, in addIntrinsicToSummary()
214 SetVector<FunctionSummary::ConstVCall, in addIntrinsicToSummary()
318 SetVector<ValueInf in computeFunctionSummary()
[all...]
/llvm-project/mlir/test/lib/Analysis/
H A DTestSlice.cpp32 SetVector<Operation *> toSort; in runOnOperation()
39 SetVector<Operation *> sortedOps = topologicalSort(toSort); in runOnOperation()
/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp19 #include "llvm/ADT/SetVector.h"
107 SetVector<Value *> &Visited;
108 SetVector<Value *> &Sources;
109 SetVector<Instruction *> &Sinks;
125 IRPromoter(LLVMContext &C, unsigned Width, SetVector<Value *> &visited, in IRPromoter()
126 SetVector<Value *> &sources, SetVector<Instruction *> &sinks, in IRPromoter()
796 SetVector<Value *> WorkList; in TryToPromote()
797 SetVector<Value *> Sources; in TryToPromote()
798 SetVector<Instructio in TryToPromote()
[all...]
/llvm-project/mlir/include/mlir/Transforms/
H A DRegionUtils.h47 SetVector<Value> &values);
52 SetVector<Value> &values);

12345678910>>...12