Searched refs:SetVector (Results 1 - 25 of 78) sorted by relevance

1234

/external/llvm/unittests/ADT/
H A DSetVectorTest.cpp1 //===- llvm/unittest/ADT/SetVector.cpp ------------------------------===//
10 // SetVector unit tests.
14 #include "llvm/ADT/SetVector.h"
19 TEST(SetVector, EraseTest) {
20 SetVector<int> S;
/external/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.h29 #include "llvm/ADT/SetVector.h"
40 bool erase(const SetVector<NodeId> &Nodes);
44 SetVector<NodeId> getDeadNodes() { return DeadNodes; }
45 SetVector<NodeId> getDeadInstrs() { return DeadInstrs; }
50 SetVector<NodeId> LiveNodes;
51 SetVector<NodeId> DeadNodes;
52 SetVector<NodeId> DeadInstrs;
H A DHexagonRDFOpt.cpp17 #include "llvm/ADT/SetVector.h"
89 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove);
139 const SetVector<NodeId> &DeadNodes = getDeadNodes();
140 const SetVector<NodeId> &DeadInstrs = getDeadInstrs();
144 SetVector<NodeId> PartlyDead;
161 SetVector<NodeId> Remove = DeadInstrs;
201 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) {
/external/llvm/include/llvm/Transforms/Scalar/
H A DSROA.h19 #include "llvm/ADT/SetVector.h"
66 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> Worklist;
71 SetVector<Instruction *, SmallVector<Instruction *, 8>> DeadInsts;
81 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> PostPromotionWorklist;
91 SetVector<PHINode *, SmallVector<PHINode *, 2>> SpeculatablePHIs;
99 SetVector<SelectInst *, SmallVector<SelectInst *, 2>> SpeculatableSelects;
H A DReassociate.h27 #include "llvm/ADT/SetVector.h"
61 SetVector<AssertingVH<Instruction>> RedoInsts;
94 SetVector<AssertingVH<Instruction>> &Insts);
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DFindUsedTypes.h17 #include "llvm/ADT/SetVector.h"
26 SetVector<Type *> UsedTypes;
36 const SetVector<Type *> &getTypes() const { return UsedTypes; }
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DSetVector.h1 //===- llvm/ADT/SetVector.h - Set with insert order iteration ---*- C++ -*-===//
15 // This file defines SetVector and SmallSetVector, which performs no allocations
16 // if the SetVector has less than a certain number of elements.
36 class SetVector { class in namespace:llvm
48 /// @brief Construct an empty SetVector
49 SetVector() {} function in class:llvm::SetVector
51 /// @brief Initialize a SetVector with a range of elements
53 SetVector(It Start, It End) { function in class:llvm::SetVector
57 /// @brief Determine if the SetVector is empty or not.
62 /// @brief Determine the number of elements in the SetVector
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h18 #include "llvm/ADT/SetVector.h"
45 typedef SetVector<Value *> ValueSet;
52 SetVector<BasicBlock *> Blocks;
/external/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp12 #include "llvm/ADT/SetVector.h"
48 static void insertIfNamed(SetVector<Value *> &Values, Value *V) {
55 SetVector<Value *> Values;
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp32 #include "llvm/ADT/SetVector.h"
134 SetVector<Value *> Pointers;
135 SetVector<CallSite> CallSites;
171 for (SetVector<Value *>::iterator I1 = Pointers.begin(), E = Pointers.end();
177 for (SetVector<Value *>::iterator I2 = Pointers.begin(); I2 != I1; ++I2) {
203 for (SetVector<CallSite>::iterator C = CallSites.begin(),
207 for (SetVector<Value *>::iterator V = Pointers.begin(), Ve = Pointers.end();
233 for (SetVector<CallSite>::iterator C = CallSites.begin(),
235 for (SetVector<CallSite>::iterator D = CallSites.begin(); D != Ce; ++D) {
/external/llvm/include/llvm/ADT/
H A DSetVector.h1 //===- llvm/ADT/SetVector.h - Set with insert order iteration ---*- C++ -*-===//
15 // This file defines SetVector and SmallSetVector, which performs no allocations
16 // if the SetVector has less than a certain number of elements.
39 class SetVector { class in namespace:llvm
53 /// \brief Construct an empty SetVector
54 SetVector() {} function in class:llvm::SetVector
56 /// \brief Initialize a SetVector with a range of elements
58 SetVector(It Start, It End) { function in class:llvm::SetVector
64 /// \brief Determine if the SetVector is empty or not.
69 /// \brief Determine the number of elements in the SetVector
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DELFWriter.h17 #include "llvm/ADT/SetVector.h"
46 typedef SetVector<const GlobalValue*>::const_iterator PendingGblsIter;
47 typedef SetVector<const char *>::const_iterator PendingExtsIter;
128 SetVector<const GlobalValue*> PendingGlobals;
136 SetVector<const char *> PendingExternals;
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DExtractGV.cpp20 #include "llvm/ADT/SetVector.h"
27 SetVector<GlobalValue *> Named;
/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp11 #include "llvm/ADT/SetVector.h"
101 SetVector<Value *> Pointers;
103 SetVector<Value *> Loads;
104 SetVector<Value *> Stores;
143 for (SetVector<Value *>::iterator I1 = Pointers.begin(), E = Pointers.end();
149 for (SetVector<Value *>::iterator I2 = Pointers.begin(); I2 != I1; ++I2) {
207 for (SetVector<Value *>::iterator I1 = Stores.begin(), E = Stores.end();
209 for (SetVector<Value *>::iterator I2 = Stores.begin(); I2 != I1; ++I2) {
/external/clang/include/clang/Serialization/
H A DModule.h23 #include "llvm/ADT/SetVector.h"
439 llvm::SetVector<ModuleFile *> ImportedBy;
442 llvm::SetVector<ModuleFile *> Imports;
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DNodeSequence.java83 protected void SetVector(NodeVector v) method in class:NodeSequence
181 SetVector((NodeVector) nodeVector);
459 SetVector(new NodeVector());
465 SetVector(null);
783 // A copy of the code of what SetVector() would do.
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
H A DFindUsedTypes.cpp97 for (SetVector<Type *>::const_iterator I = UsedTypes.begin(),
/external/clang/test/SemaCXX/
H A Dtypo-correction.cpp509 class SetVector { class in namespace:PR18685
511 SetVector() {} function in class:PR18685::SetVector
515 class SmallSetVector : public SetVector<C, I, 8> {};
/external/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp15 #include "llvm/ADT/SetVector.h"
58 SetVector<GlobalValue *> Named;
/external/clang/include/clang/Analysis/
H A DCallGraph.h24 #include "llvm/ADT/SetVector.h"
86 typedef llvm::SetVector<CallGraphNode *>::iterator nodes_iterator;
87 typedef llvm::SetVector<CallGraphNode *>::const_iterator const_nodes_iterator;
/external/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp18 #include "llvm/ADT/SetVector.h"
72 static SetVector<BasicBlock *> buildExtractionBlockSet(IteratorT BBBegin,
74 SetVector<BasicBlock *> Result;
91 for (SetVector<BasicBlock *>::iterator I = std::next(Result.begin()),
105 static SetVector<BasicBlock *>
111 static SetVector<BasicBlock *>
142 static bool definedInRegion(const SetVector<BasicBlock *> &Blocks, Value *V) {
152 static bool definedInCaller(const SetVector<BasicBlock *> &Blocks, Value *V) {
/external/clang/lib/Frontend/
H A DDependencyGraph.cpp21 #include "llvm/ADT/SetVector.h"
33 llvm::SetVector<const FileEntry *> AllFiles;
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerRegistry.cpp15 #include "llvm/ADT/SetVector.h"
22 typedef llvm::SetVector<const CheckerRegistry::CheckerInfo *> CheckerInfoSet;
/external/llvm/include/llvm/CodeGen/
H A DLiveRangeEdit.h22 #include "llvm/ADT/SetVector.h"
99 typedef SetVector<LiveInterval*,
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DCodeExtractor.cpp32 #include "llvm/ADT/SetVector.h"
48 typedef SetVector<Value*> Values;
49 SetVector<BasicBlock*> BlocksToExtract;
184 for (SetVector<BasicBlock*>::iterator I = BlocksToExtract.begin(),
210 for (SetVector<BasicBlock*>::const_iterator ci = BlocksToExtract.begin(),
479 for (SetVector<BasicBlock*>::const_iterator i = BlocksToExtract.begin(),
630 for (SetVector<BasicBlock*>::const_iterator i = BlocksToExtract.begin(),

Completed in 970 milliseconds

1234