Home
last modified time | relevance | path

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

1234567891011

/external/llvm/include/llvm/ADT/
DSmallPtrSet.h292 class SmallPtrSet : public SmallPtrSetImpl<PtrType> {
300 SmallPtrSet() : BaseT(SmallStorage, SmallSizePowTwo) {}
301 SmallPtrSet(const SmallPtrSet &that) : BaseT(SmallStorage, that) {}
302 SmallPtrSet(SmallPtrSet &&that)
306 SmallPtrSet(It I, It E) : BaseT(SmallStorage, SmallSizePowTwo) {
310 SmallPtrSet<PtrType, SmallSize> &
311 operator=(const SmallPtrSet<PtrType, SmallSize> &RHS) {
317 SmallPtrSet<PtrType, SmallSize>&
318 operator=(SmallPtrSet<PtrType, SmallSize> &&RHS) {
325 void swap(SmallPtrSet<PtrType, SmallSize> &RHS) {
[all …]
/external/llvm/unittests/ADT/
DSmallPtrSetTest.cpp24 SmallPtrSet<int *, 4> s1; in TEST()
28 SmallPtrSet<int *, 4> s2; in TEST()
49 SmallPtrSet<int *, 4> s; in TEST()
50 typedef SmallPtrSet<int *, 4>::iterator iter; in TEST()
102 SmallPtrSet<int *, 4> s1; in TEST()
114 SmallPtrSet<int *, 4> s2(s1); in TEST()
131 SmallPtrSet<int *, 4> s3(std::move(s1)); in TEST()
163 SmallPtrSet<int *, 2> a; in TEST()
164 SmallPtrSet<int *, 2> b; in TEST()
/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp64 SmallPtrSet<BasicBlock*, 8> Reachable; in runOnFunction()
67 for (df_ext_iterator<Function*, SmallPtrSet<BasicBlock*, 8> > I = in runOnFunction()
120 SmallPtrSet<MachineBasicBlock*, 8> Reachable; in runOnMachineFunction()
128 for (df_ext_iterator<MachineFunction*, SmallPtrSet<MachineBasicBlock*, 8> > in runOnMachineFunction()
175 SmallPtrSet<MachineBasicBlock*, 8> preds(BB->pred_begin(), in runOnMachineFunction()
/external/llvm/lib/Transforms/Scalar/
DSink.cpp59 bool SinkInstruction(Instruction *I, SmallPtrSet<Instruction *, 8> &Stores);
137 SmallPtrSet<Instruction *, 8> Stores; in ProcessBlock()
160 SmallPtrSet<Instruction *, 8> &Stores) { in isSafeToMove()
169 for (SmallPtrSet<Instruction *, 8>::iterator I = Stores.begin(), in isSafeToMove()
223 SmallPtrSet<Instruction *, 8> &Stores) { in SinkInstruction()
DLoopInstSimplify.cpp84 SmallPtrSet<const Instruction*, 8> S1, S2, *ToSimplify = &S1, *Next = &S2; in runOnLoop()
90 SmallPtrSet<BasicBlock*, 32> Visited; in runOnLoop()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp69 SmallPtrSet<CallInst *, 8> StoreStrongCalls;
75 SmallPtrSet<Instruction *, 4>
77 SmallPtrSet<const BasicBlock *, 4>
153 SmallPtrSet<Instruction *, 4> in ContractAutorelease()
155 SmallPtrSet<const BasicBlock *, 4> in ContractAutorelease()
342 SmallPtrSet<Instruction *, 4> DependingInstructions; in runOnFunction()
343 SmallPtrSet<const BasicBlock *, 4> Visited; in runOnFunction()
511 for (SmallPtrSet<CallInst *, 8>::iterator I = StoreStrongCalls.begin(), in runOnFunction()
DDependencyAnalysis.h56 SmallPtrSet<Instruction *, 4> &DependingInstructions,
57 SmallPtrSet<const BasicBlock *, 4> &Visited,
DDependencyAnalysis.cpp209 SmallPtrSet<Instruction *, 4> &DependingInsts, in FindDependencies()
210 SmallPtrSet<const BasicBlock *, 4> &Visited, in FindDependencies()
249 for (SmallPtrSet<const BasicBlock *, 4>::const_iterator I = Visited.begin(), in FindDependencies()
DObjCARCOpts.cpp181 SmallPtrSet<const Value *, 4> Visited; in AreAnyUnderlyingObjectsAnAlloca()
366 SmallPtrSet<Instruction *, 2> Calls;
370 SmallPtrSet<Instruction *, 2> ReverseInsertPts;
414 for (SmallPtrSet<Instruction *, 2>::const_iterator in Merge()
1484 SmallPtrSet<Instruction *, 4> DependingInstructions; in OptimizeIndividualCalls()
1485 SmallPtrSet<const BasicBlock *, 4> Visited; in OptimizeIndividualCalls()
2179 SmallPtrSet<BasicBlock *, 16> Visited; in ComputePostOrders()
2182 SmallPtrSet<BasicBlock *, 16> OnStack; in ComputePostOrders()
2302 for (SmallPtrSet<Instruction *, 2>::const_iterator in MoveCalls()
2316 for (SmallPtrSet<Instruction *, 2>::const_iterator in MoveCalls()
[all …]
DProvenanceAnalysis.cpp62 SmallPtrSet<const Value *, 4> UniqueSrc; in relatedPHI()
76 SmallPtrSet<const Value *, 8> Visited; in IsStoredObjCPointer()
/external/llvm/include/llvm/Transforms/Utils/
DModuleUtils.h23 template <class PtrType, unsigned SmallSize> class SmallPtrSet; variable
37 SmallPtrSet<GlobalValue *, 8> &Set,
/external/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h97 SmallPtrSet<const Instruction *, 8> CatchInfoLost;
98 SmallPtrSet<const Instruction *, 8> CatchInfoFound;
111 SmallPtrSet<const BasicBlock*, 4> VisitedBBs;
DLiveRangeEdit.h76 SmallPtrSet<const VNInfo*,4> Remattable;
80 SmallPtrSet<const VNInfo*,4> Rematted;
96 SmallPtrSet<LiveInterval*, 8> > ToShrinkSet;
/external/llvm/lib/IR/
DLeaksContext.h76 for (typename SmallPtrSet<const T*, 8>::iterator I = Ts.begin(),
91 SmallPtrSet<const T*, 8> Ts;
DValue.cpp305 static bool contains(SmallPtrSet<ConstantExpr *, 4> &Cache, ConstantExpr *Expr, in contains()
334 SmallPtrSet<ConstantExpr *, 4> Cache; in contains()
384 SmallPtrSet<Value *, 4> Visited; in stripPointerCastsAndOffsets()
445 SmallPtrSet<Value *, 4> Visited; in stripAndAccumulateInBoundsConstantOffsets()
477 SmallPtrSet<const Value *, 32> &Visited) { in isDereferenceablePointer()
553 SmallPtrSet<const Value *, 32> Visited; in isDereferenceablePointer()
/external/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h136 SmallPtrSet<BasicBlock *, 16> PostDominatedByUnreachable;
139 SmallPtrSet<BasicBlock *, 16> PostDominatedByColdCall;
DIVUsers.h126 SmallPtrSet<Instruction*,16> Processed;
177 bool AddUsersImpl(Instruction *I, SmallPtrSet<Loop*,16> &SimpleLoopNests);
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp268 SmallPtrSet<BasicBlock *, 16> Visited;
305 const SmallPtrSet<BasicBlock *, 32> &DefBlocks,
306 SmallPtrSet<BasicBlock *, 32> &LiveInBlocks);
769 const SmallPtrSet<BasicBlock *, 32> &DefBlocks, in ComputeLiveInBlocks()
770 SmallPtrSet<BasicBlock *, 32> &LiveInBlocks) { in ComputeLiveInBlocks()
845 SmallPtrSet<BasicBlock *, 32> DefBlocks; in DetermineInsertionPoint()
850 SmallPtrSet<BasicBlock *, 32> LiveInBlocks; in DetermineInsertionPoint()
860 for (SmallPtrSet<BasicBlock *, 32>::const_iterator I = DefBlocks.begin(), in DetermineInsertionPoint()
868 SmallPtrSet<DomTreeNode *, 32> Visited; in DetermineInsertionPoint()
1054 SmallPtrSet<BasicBlock *, 8> VisitedSuccs; in RenamePass()
/external/llvm/lib/Analysis/
DIVUsers.cpp87 SmallPtrSet<Loop*,16> &SimpleLoopNests) { in isSimplifiedLoopNest()
115 SmallPtrSet<Loop*,16> &SimpleLoopNests) { in AddUsersImpl()
145 SmallPtrSet<Instruction *, 4> UniqueUsers; in AddUsersImpl()
228 SmallPtrSet<Loop*,16> SimpleLoopNests; in AddUsersIfInteresting()
DMemoryDependenceAnalysis.cpp105 SmallPtrSet<KeyTy, 4> > &ReverseMap, in RemoveFromReverseMap()
107 typename DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> >::iterator in RemoveFromReverseMap()
677 SmallPtrSet<BasicBlock*, 64> Visited; in getNonLocalCallDependency()
1372 SmallPtrSet<Instruction*, 4> &ReverseDeps = ReverseDepIt->second; in removeInstruction()
1377 for (SmallPtrSet<Instruction*, 4>::iterator I = ReverseDeps.begin(), in removeInstruction()
1405 SmallPtrSet<Instruction*, 4> &Set = ReverseDepIt->second; in removeInstruction()
1406 for (SmallPtrSet<Instruction*, 4>::iterator I = Set.begin(), E = Set.end(); in removeInstruction()
1441 SmallPtrSet<ValueIsLoadPair, 4> &Set = ReversePtrDepIt->second; in removeInstruction()
1444 for (SmallPtrSet<ValueIsLoadPair, 4>::iterator I = Set.begin(), in removeInstruction()
1517 for (SmallPtrSet<Instruction*, 4>::const_iterator II = I->second.begin(), in verifyRemoved()
[all …]
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp144 SmallPtrSet<Constant*, 4> Operands; in RemoveDeadConstant()
157 for (SmallPtrSet<Constant*, 4>::iterator OI = Operands.begin(), in RemoveDeadConstant()
194 SmallPtrSet<const GlobalValue*, 8> &UsedValues) { in findUsedValues()
209 SmallPtrSet<const GlobalValue*, 8> llvmUsedValues; in StripSymbolNames()
DGlobalOpt.cpp615 SmallPtrSet<const PHINode*, 8> &PHIs) { in AllUsesOfValueWillTrapIfNull()
660 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull()
960 SmallPtrSet<const PHINode*, 8> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
1050 SmallPtrSet<const PHINode*, 32> &LoadUsingPHIs, in LoadUsesSimpleEnoughForHeapSRA()
1051 SmallPtrSet<const PHINode*, 32> &LoadUsingPHIsPerLoad) { in LoadUsesSimpleEnoughForHeapSRA()
1103 SmallPtrSet<const PHINode*, 32> LoadUsingPHIs; in AllGlobalLoadUsesSimpleEnoughForHeapSRA()
1104 SmallPtrSet<const PHINode*, 32> LoadUsingPHIsPerLoad; in AllGlobalLoadUsesSimpleEnoughForHeapSRA()
1118 for (SmallPtrSet<const PHINode*, 32>::const_iterator I = LoadUsingPHIs.begin() in AllGlobalLoadUsesSimpleEnoughForHeapSRA()
1491 SmallPtrSet<const PHINode*, 8> PHIs; in TryToOptimizeStoreOfMallocToGlobal()
1978 SmallPtrSet<Constant*, 8> &SimpleConstants,
[all …]
DArgumentPromotion.cpp84 SmallPtrSet<Argument*, 8> &ArgsToPromote,
85 SmallPtrSet<Argument*, 8> &ByValArgsToTransform);
159 SmallPtrSet<Argument*, 8> ArgsToPromote; in PromoteArguments()
160 SmallPtrSet<Argument*, 8> ByValArgsToTransform; in PromoteArguments()
459 SmallPtrSet<BasicBlock*, 16> TranspBlocks; in isSafeToPromoteArgument()
478 for (idf_ext_iterator<BasicBlock*, SmallPtrSet<BasicBlock*, 16> > in isSafeToPromoteArgument()
496 SmallPtrSet<Argument*, 8> &ArgsToPromote, in DoPromotion()
497 SmallPtrSet<Argument*, 8> &ByValArgsToTransform) { in DoPromotion()
DConstantMerge.cpp69 SmallPtrSet<const GlobalValue*, 8> &UsedValues) { in FindUsedValues()
110 SmallPtrSet<const GlobalValue*, 8> UsedGlobals; in runOnModule()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.h215 SmallPtrSet<DIE *, 4> InlinedSubprogramDIEs;
219 SmallPtrSet<const MDNode *, 16> ProcessedSPNodes;
535 void collectVariableInfo(SmallPtrSet<const MDNode *, 16> &ProcessedVars);
539 void collectVariableInfoFromMMITable(SmallPtrSet<const MDNode *, 16> &P);

1234567891011