Home
last modified time | relevance | path

Searched refs:GVs (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-extract/
Dllvm-extract.cpp129 SetVector<GlobalValue *> GVs; in main() local
139 GVs.insert(GA); in main()
154 GVs.insert(&*GA); in main()
173 GVs.insert(GV); in main()
187 GVs.insert(&GV); in main()
206 GVs.insert(GV); in main()
221 GVs.insert(&*F); in main()
244 GVs.insert(F); in main()
263 for (GlobalValue *GV : GVs) { in main()
280 if (CF->isDeclaration() || GVs.count(CF)) in main()
[all …]
/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp122 SetVector<GlobalValue *> GVs; in main() local
132 GVs.insert(GA); in main()
147 GVs.insert(&*GA); in main()
166 GVs.insert(GV); in main()
180 GVs.insert(&GV); in main()
199 GVs.insert(GV); in main()
214 GVs.insert(&*F); in main()
234 for (size_t i = 0, e = GVs.size(); i != e; ++i) in main()
235 Materialize(*GVs[i]); in main()
238 SmallPtrSet<GlobalValue *, 8> GVSet(GVs.begin(), GVs.end()); in main()
[all …]
/external/swiftshader/third_party/LLVM/tools/llvm-extract/
Dllvm-extract.cpp98 SetVector<GlobalValue *> GVs; in main() local
108 GVs.insert(GV); in main()
123 GVs.insert(&*GV); in main()
142 GVs.insert(GV); in main()
157 GVs.insert(&*F); in main()
170 for (size_t i = 0, e = GVs.size(); i != e; ++i) { in main()
171 GlobalValue *GV = GVs[i]; in main()
182 SmallPtrSet<GlobalValue *, 8> GVSet(GVs.begin(), GVs.end()); in main()
211 std::vector<GlobalValue*> Gvs(GVs.begin(), GVs.end()); in main()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DExtractGV.cpp36 explicit GVExtractorPass(std::vector<GlobalValue*>& GVs, bool deleteS = true) in GVExtractorPass() argument
37 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass()
89 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue*>& GVs, in createGVExtractionPass() argument
91 return new GVExtractorPass(GVs, deleteFn); in createGVExtractionPass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DExtractGV.cpp64 explicit GVExtractorPass(std::vector<GlobalValue*> &GVs, in GVExtractorPass() argument
66 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass()
158 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs, in createGVExtractionPass() argument
160 return new GVExtractorPass(GVs, deleteFn); in createGVExtractionPass()
DGlobalOpt.cpp439 SmallVector<DIGlobalVariableExpression *, 1> GVs; in transferSRADebugInfo() local
440 GV->getDebugInfo(GVs); in transferSRADebugInfo()
441 for (auto *GVE : GVs) { in transferSRADebugInfo()
1635 SmallVector<DIGlobalVariableExpression *, 1> GVs; in TryToShrinkGlobalToBoolean() local
1636 GV->getDebugInfo(GVs); in TryToShrinkGlobalToBoolean()
1650 for(auto *GVe : GVs){ in TryToShrinkGlobalToBoolean()
1678 for(auto *GV : GVs) in TryToShrinkGlobalToBoolean()
2442 SmallVector<std::pair<GlobalVariable*, Constant*>, 32> GVs; in BatchCommitValueTo() local
2449 GVs.push_back(std::make_pair(GV, I.second)); in BatchCommitValueTo()
2465 for (auto GVPair : GVs) { in BatchCommitValueTo()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp67 explicit GVExtractorPass(std::vector<GlobalValue*>& GVs, bool deleteS = true) in GVExtractorPass() argument
68 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass()
160 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs, in createGVExtractionPass() argument
162 return new GVExtractorPass(GVs, deleteFn); in createGVExtractionPass()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DBugDriver.cpp239 void llvm::PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs) { in PrintGlobalVariableList() argument
240 unsigned NumPrint = GVs.size(); in PrintGlobalVariableList()
243 outs() << " " << GVs[i]->getName(); in PrintGlobalVariableList()
244 if (NumPrint < GVs.size()) in PrintGlobalVariableList()
245 outs() << "... <" << GVs.size() << " total>"; in PrintGlobalVariableList()
DCrashDebugger.cpp125 bool TestGlobalVariables(std::vector<GlobalVariable*> &GVs);
131 std::vector<GlobalVariable*> &GVs) { in TestGlobalVariables() argument
139 for (unsigned i = 0, e = GVs.size(); i != e; ++i) { in TestGlobalVariables()
140 GlobalVariable* CMGV = cast<GlobalVariable>(VMap[GVs[i]]); in TestGlobalVariables()
146 PrintGlobalVariableList(GVs); in TestGlobalVariables()
164 GVs.assign(GVSet.begin(), GVSet.end()); in TestGlobalVariables()
468 std::vector<GlobalVariable*> GVs; in DebugACrash() local
473 GVs.push_back(I); in DebugACrash()
475 if (GVs.size() > 1 && !BugpointIsInterrupted) { in DebugACrash()
479 unsigned OldSize = GVs.size(); in DebugACrash()
[all …]
DBugDriver.h315 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
/external/llvm/include/llvm/IR/
DDebugInfo.h103 return make_range(GVs.begin(), GVs.end()); in global_variables()
115 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
123 SmallVector<DIGlobalVariable *, 8> GVs; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDebugInfo.h113 return make_range(GVs.begin(), GVs.end()); in global_variables()
125 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
133 SmallVector<DIGlobalVariableExpression *, 8> GVs; variable
DGlobalVariable.h186 void getDebugInfo(SmallVectorImpl<DIGlobalVariableExpression *> &GVs) const;
/external/llvm/tools/bugpoint/
DBugDriver.cpp240 void llvm::PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs) { in PrintGlobalVariableList() argument
241 unsigned NumPrint = GVs.size(); in PrintGlobalVariableList()
244 outs() << " " << GVs[i]->getName(); in PrintGlobalVariableList()
245 if (NumPrint < GVs.size()) in PrintGlobalVariableList()
246 outs() << "... <" << GVs.size() << " total>"; in PrintGlobalVariableList()
DCrashDebugger.cpp137 bool TestGlobalVariables(std::vector<GlobalVariable*> &GVs);
143 std::vector<GlobalVariable*> &GVs) { in TestGlobalVariables() argument
151 for (unsigned i = 0, e = GVs.size(); i != e; ++i) { in TestGlobalVariables()
152 GlobalVariable* CMGV = cast<GlobalVariable>(VMap[GVs[i]]); in TestGlobalVariables()
158 PrintGlobalVariableList(GVs); in TestGlobalVariables()
176 GVs.assign(GVSet.begin(), GVSet.end()); in TestGlobalVariables()
683 std::vector<GlobalVariable*> GVs; in ReduceGlobalInitializers() local
688 GVs.push_back(&*I); in ReduceGlobalInitializers()
690 if (GVs.size() > 1 && !BugpointIsInterrupted) { in ReduceGlobalInitializers()
694 unsigned OldSize = GVs.size(); in ReduceGlobalInitializers()
[all …]
DBugDriver.h311 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DBugDriver.cpp252 void llvm::PrintGlobalVariableList(const std::vector<GlobalVariable *> &GVs) { in PrintGlobalVariableList() argument
253 unsigned NumPrint = GVs.size(); in PrintGlobalVariableList()
257 outs() << " " << GVs[i]->getName(); in PrintGlobalVariableList()
258 if (NumPrint < GVs.size()) in PrintGlobalVariableList()
259 outs() << "... <" << GVs.size() << " total>"; in PrintGlobalVariableList()
DCrashDebugger.cpp141 bool TestGlobalVariables(std::vector<GlobalVariable *> &GVs);
146 std::vector<GlobalVariable *> &GVs) { in TestGlobalVariables() argument
154 for (unsigned i = 0, e = GVs.size(); i != e; ++i) { in TestGlobalVariables()
155 GlobalVariable *CMGV = cast<GlobalVariable>(VMap[GVs[i]]); in TestGlobalVariables()
161 PrintGlobalVariableList(GVs); in TestGlobalVariables()
179 GVs.assign(GVSet.begin(), GVSet.end()); in TestGlobalVariables()
924 std::vector<GlobalVariable *> GVs; in ReduceGlobalInitializers() local
927 GVs.push_back(&GV); in ReduceGlobalInitializers()
929 if (GVs.size() > 1 && !BugpointIsInterrupted) { in ReduceGlobalInitializers()
933 unsigned OldSize = GVs.size(); in ReduceGlobalInitializers()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/
Dpr34186.ll1 ; Make sure we reject GVs without a type.
5 ; alternative is that of keeping a map of visited GVs, which has non trivial
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/
DIPO.h81 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/llvm/lib/IR/
DDebugInfo.cpp47 GVs.clear(); in reset()
216 GVs.push_back(DIG); in addGlobalVariable()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDebugInfo.h831 iterator global_variable_begin() const { return GVs.begin(); } in global_variable_begin()
832 iterator global_variable_end() const { return GVs.end(); } in global_variable_end()
837 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
844 SmallVector<MDNode *, 8> GVs; // Global Variables; variable
/external/llvm/include/llvm/Transforms/
DIPO.h87 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/
DIPO.h90 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp664 SmallVector<DIGlobalVariableExpression *, 1> GVs; in TEST_F() local
665 NewGV->getDebugInfo(GVs); in TEST_F()
666 EXPECT_EQ(GVs.size(), 1U); in TEST_F()
668 DIGlobalVariableExpression *GVExpr = GVs[0]; in TEST_F()

12