Home
last modified time | relevance | path

Searched refs:SmallPtrSet (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp119 DenseMap<Function *, SmallPtrSet<Instruction *, 8>>
230 std::make_pair(K, SmallPtrSet<GlobalVariable *, 8>())); in initializeLDSPointer()
269 SmallPtrSet<Instruction *, 8> UserInsts; in replaceLDSUseByPointer()
400 SmallPtrSet<CallGraphNode *, 8> AddressTakenFunctions;
417 SmallPtrSet<Function *, 8> ReachableCallees; in collectReachableCallees()
432 SmallPtrSet<CallGraphNode *, 8> VisitedCGNodes; in collectReachableCallees()
497 SmallPtrSet<Function *, 8> LDSAccessors; in collectNonKernelAccessorsOfLDS()
499 SmallPtrSet<User *, 8> VisitedUsers; in collectNonKernelAccessorsOfLDS()
510 return SmallPtrSet<Function *, 8>(); in collectNonKernelAccessorsOfLDS()
528 DenseMap<Function *, SmallPtrSet<Instruction *, 8>>
[all …]
H A DAMDGPUAlwaysInlinePass.cpp60 SmallPtrSet<const Value *, 8> Visited; in recursivelyVisitUsers()
92 SmallPtrSet<Function *, 8> FuncsToAlwaysInline; in alwaysInlineImpl()
93 SmallPtrSet<Function *, 8> FuncsToNoInline; in alwaysInlineImpl()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DSmallPtrSetTest.cpp27 SmallPtrSet<int *, 4> s2; in TEST()
57 SmallPtrSet<int *, 4> s; in TEST()
110 SmallPtrSet<int *, 4> s1; in TEST()
171 SmallPtrSet<int *, 2> a; in TEST()
172 SmallPtrSet<int *, 2> b; in TEST()
277 SmallPtrSet<int *, 8> B; in TEST()
281 SmallPtrSet<int *, 2> A; in TEST()
340 SmallPtrSet<int *, 1> a; in TEST()
344 SmallPtrSet<int *, 2> b; in TEST()
348 SmallPtrSet<int *, 3> c; in TEST()
[all …]
H A DDepthFirstIteratorTest.cpp18 typedef typename SmallPtrSet<T, 4>::iterator iterator;
20 SmallPtrSet<T, 4> S;
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DWasmEHFuncInfo.h36 DenseMap<BBOrMBB, SmallPtrSet<BBOrMBB, 4>> UnwindDestToSrcs; // reverse map
43 SmallPtrSet<const BasicBlock *, 4> getUnwindSrcs(const BasicBlock *BB) const { in getUnwindSrcs()
46 SmallPtrSet<const BasicBlock *, 4> Ret; in getUnwindSrcs()
54 UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4>(); in setUnwindDest()
68 SmallPtrSet<MachineBasicBlock *, 4>
72 SmallPtrSet<MachineBasicBlock *, 4> Ret; in getUnwindSrcs()
80 UnwindDestToSrcs[Dest] = SmallPtrSet<BBOrMBB, 4>(); in setUnwindDest()
H A DLiveRangeEdit.h84 SmallPtrSet<MachineInstr *, 32> *DeadRemats;
88 SmallPtrSet<const VNInfo *, 4> Remattable;
92 SmallPtrSet<const VNInfo *, 4> Rematted;
102 SmallPtrSet<LiveInterval *, 8>>;
133 SmallPtrSet<MachineInstr *, 32> *deadRemats = nullptr)
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallPtrSet.h450 class SmallPtrSet : public SmallPtrSetImpl<PtrType> {
464 SmallPtrSet() : BaseT(SmallStorage, SmallSizePowTwo) {}
465 SmallPtrSet(const SmallPtrSet &that) : BaseT(SmallStorage, that) {}
466 SmallPtrSet(SmallPtrSet &&that)
474 SmallPtrSet(std::initializer_list<PtrType> IL)
479 SmallPtrSet<PtrType, SmallSize> &
486 SmallPtrSet<PtrType, SmallSize> &
487 operator=(SmallPtrSet<PtrType, SmallSize> &&RHS) {
493 SmallPtrSet<PtrType, SmallSize> &
501 void swap(SmallPtrSet<PtrType, SmallSize> &RHS) {
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/Transforms/
H A DCheckUses.cpp31 const llvm::SmallPtrSet<Block *, 4> &
33 DenseMap<Block *, llvm::SmallPtrSet<Block *, 4>> &cache) { in getReachableImpl()
38 llvm::SmallPtrSet<Block *, 4> &reachable = cache[block]; in getReachableImpl()
232 const llvm::SmallPtrSet<Operation *, 2> &deleters = it->getSecond(); in isFreedBetween()
270 const llvm::SmallPtrSet<Block *, 4> &sources = getReachableFrom(to); in isMaybeFreedOnPaths()
274 llvm::SmallPtrSet<Block *, 4> reachable(getReachable(from)); in isMaybeFreedOnPaths()
297 const llvm::SmallPtrSet<Block *, 4> &getReachable(Block *block) { in getReachable()
304 const llvm::SmallPtrSet<Block *, 4> &getReachableFrom(Block *block) { in getReachableFrom()
357 DenseMap<Value, llvm::SmallPtrSet<Operation *, 2>> freedBy;
360 DenseMap<Block *, llvm::SmallPtrSet<Block *, 4>> reachableCache;
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp21 using llvm::SmallPtrSet;
35 SmallPtrSet<const Node *, 16> &Nodes) { in extractNodesByIdTo()
44 SmallPtrSet<const DeclRefExpr *, 16>
58 SmallPtrSet<const DeclRefExpr *, 16> DeclRefs; in constReferenceDeclRefExprs()
100 SmallPtrSet<const DeclRefExpr *, 16>
105 SmallPtrSet<const DeclRefExpr *, 16> DeclRefs; in allDeclRefExprs()
110 SmallPtrSet<const DeclRefExpr *, 16>
116 SmallPtrSet<const DeclRefExpr *, 16> DeclRefs; in allDeclRefExprs()
H A DDeclRefExprUtils.h31 llvm::SmallPtrSet<const DeclRefExpr *, 16>
35 llvm::SmallPtrSet<const DeclRefExpr *, 16>
40 llvm::SmallPtrSet<const DeclRefExpr *, 16>
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DGlobalDCE.h41 SmallPtrSet<GlobalValue*, 32> AliveGlobals;
44 DenseMap<GlobalValue *, SmallPtrSet<GlobalValue *, 4>> GVDependencies;
47 std::unordered_map<Constant *, SmallPtrSet<GlobalValue *, 8>>
59 SmallPtrSet<GlobalValue *, 32> VFESafeVTables;
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.h153 llvm::SmallPtrSet<const UsingDecl *, 8> UsingDecls;
156 llvm::SmallPtrSet<const UsingDirectiveDecl *, 8> UsingNamespaceDecls;
159 llvm::SmallPtrSet<const NamespaceAliasDecl *, 8> NamespaceAliasDecls;
166 llvm::SmallPtrSet<const clang::DeclRefExpr*, 16> ProcessedFuncRefs;
/llvm-project-15.0.7/clang/examples/CallSuperAttribute/
H A DCallSuperAttrInfo.cpp38 llvm::SmallPtrSet<const CXXMethodDecl *, 16> MarkedMethods;
48 llvm::SmallPtrSet<const CXXMethodDecl *, 16> &MustCalledMethods) in MethodUsageVisitor()
67 llvm::SmallPtrSet<const CXXMethodDecl *, 16> &MustCalledMethods;
83 llvm::SmallPtrSet<const CXXMethodDecl *, 16> OverriddenMarkedMethods; in VisitCXXMethodDecl()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp121 SmallPtrSet<MachineBasicBlock*, 4> Visited;
289 SmallPtrSet<MachineInstr *, 2> Defs; in hasImplicitlyValidVPT()
376 SmallPtrSet<MachineInstr *, 4> ToRemove;
585 SmallPtrSet<MachineInstr *, 2> Uses; in INITIALIZE_PASS()
596 SmallPtrSet<MachineInstr*, 4> Killed; in INITIALIZE_PASS()
769 SmallPtrSet<MachineInstr*, 2> Ignore; in ValidateTailPredicate()
807 SmallPtrSet<MachineInstr*, 2> Ignore; in ValidateTailPredicate()
912 SmallPtrSet<MachineInstr *, 2> Defs; in producesFalseLanesZero()
994 SmallPtrSet<MachineInstr *, 2> Uses; in ValidateLiveOuts()
1410 SmallPtrSet<MachineInstr *, 2> Uses; in ProcessLoop()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSSAUpdaterBulk.cpp134 SmallPtrSet<BasicBlock *, 2> DefBlocks; in RewriteAllUses()
139 SmallPtrSet<BasicBlock *, 2> UsingBlocks; in RewriteAllUses()
144 SmallPtrSet<BasicBlock *, 32> LiveInBlocks; in RewriteAllUses()
169 SmallPtrSet<Use *, 4> ProcessedUses; in RewriteAllUses()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorizationLegality.h264 using RecurrenceSet = SmallPtrSet<const PHINode *, 8>;
525 SmallPtrSet<Instruction *, 4> InductionCastsToIgnore;
539 SmallPtrSet<Value *, 4> AllowedExit;
557 SmallPtrSet<const Instruction *, 8> MaskedOp;
561 SmallPtrSet<Instruction *, 8> ConditionalAssumes;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DReachingDefAnalysis.cpp388 SmallPtrSet<MachineBasicBlock*, 4>Visited; in getGlobalUses()
414 SmallPtrSet<MachineBasicBlock*, 2> VisitedBBs; in getLiveOuts()
445 SmallPtrSet<MachineInstr*, 2> Incoming; in getUniqueReachingMIDef()
607 SmallPtrSet<MachineInstr*, 1> Ignore; in isSafeToRemove()
608 SmallPtrSet<MachineInstr*, 2> Visited; in isSafeToRemove()
615 SmallPtrSet<MachineInstr*, 2> Visited; in isSafeToRemove()
635 SmallPtrSet<MachineInstr*, 4> Uses; in isSafeToRemove()
667 SmallPtrSet<MachineInstr*, 4> Uses; in collectKilledOperands()
683 SmallPtrSet<MachineInstr*, 1> Ignore; in isSafeToDefRegAt()
692 SmallPtrSet<MachineInstr*, 2> Uses; in isSafeToDefRegAt()
H A DInlineSpiller.cpp121 SmallPtrSet<MachineInstr *, 16> &Spills,
133 SmallPtrSet<MachineInstr *, 16> &Spills,
179 SmallPtrSet<MachineInstr*, 8> SnippetCopies;
182 SmallPtrSet<VNInfo*, 8> UsedValues;
1291 SmallPtrSet<MachineInstr *, 16> &Spills, in rmRedundantSpills()
1330 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders()
1333 SmallPtrSet<MachineDomTreeNode *, 8> NodesOnPath; in getVisitOrders()
1408 SmallPtrSet<MachineInstr *, 16> &Spills, in runHoistSpills()
1462 SmallPtrSet<MachineDomTreeNode *, 16> &SpillsInSubTree = in runHoistSpills()
1472 SmallPtrSet<MachineDomTreeNode *, 16> &SpillsInSubTree = in runHoistSpills()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFG.cpp40 SmallPtrSet<const BasicBlock*, 8> Visited; in FindFunctionBackedges()
42 SmallPtrSet<const BasicBlock*, 8> InStack; in FindFunctionBackedges()
150 SmallPtrSet<const Loop *, 8> LoopsWithHoles; in isPotentiallyReachableFromMany()
161 SmallPtrSet<const BasicBlock*, 32> Visited; in isPotentiallyReachableFromMany()
H A DScopedNoAliasAA.cpp123 SmallPtrSet<const MDNode *, 16> Domains; in mayAliasInScopes()
132 SmallPtrSet<const MDNode *, 16> ScopeNodes; in mayAliasInScopes()
137 SmallPtrSet<const MDNode *, 16> NANodes; in mayAliasInScopes()
H A DMemDerefPrinter.cpp24 SmallPtrSet<Value *, 4> DerefAndAligned;
86 SmallPtrSet<Value *, 4> DerefAndAligned; in run()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopSink.cpp117 static SmallPtrSet<BasicBlock *, 2>
121 SmallPtrSet<BasicBlock *, 2> BBsToSinkInto; in findBBsToSinkInto()
126 SmallPtrSet<BasicBlock *, 2> BBsDominatedByColdestBB; in findBBsToSinkInto()
177 SmallPtrSet<BasicBlock *, 2> BBs; in sinkInstruction()
196 SmallPtrSet<BasicBlock *, 2> BBsToSinkInto = in sinkInstruction()
H A DLoopFlatten.cpp124 SmallPtrSet<Value *, 4> LinearIVUses; // Contains the linear expressions
135 SmallPtrSet<PHINode *, 4> InnerPHIsToTransform;
163 bool checkOuterInductionPhiUsers(SmallPtrSet<Value *, 4> &ValidOuterPHIUses) { in checkOuterInductionPhiUsers()
193 SmallPtrSet<Value *, 4> &ValidOuterPHIUses) { in matchLinearIVUser()
236 bool checkInnerInductionPhiUsers(SmallPtrSet<Value *, 4> &ValidOuterPHIUses) { in checkInnerInductionPhiUsers()
446 SmallPtrSet<PHINode *, 4> SafeOuterPHIs; in checkPHIs()
586 SmallPtrSet<Value *, 4> ValidOuterPHIUses; in checkIVUsers()
659 SmallPtrSet<Instruction *, 8> IterationInstructions; in CanFlattenLoopPair()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DCFGTest.cpp75 SmallPtrSet<BasicBlock *, 4> ExclusionSet) in ExpectPath()
114 SmallPtrSet<BasicBlock *, 4> ExclusionSet; in ExpectPath()
130 SmallPtrSet<BasicBlock *, 4> ExclusionSet;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DDemandedBits.h95 SmallPtrSet<Instruction*, 32> Visited;
99 SmallPtrSet<Use *, 16> DeadUses;

12345678910>>...22