Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/tools/llvm-extract/
Dllvm-extract.cpp156 SetVector<GlobalValue *> GVs; in main() local
166 GVs.insert(GA); in main()
181 GVs.insert(&*GA); in main()
200 GVs.insert(GV); in main()
214 GVs.insert(&GV); in main()
233 GVs.insert(GV); in main()
248 GVs.insert(&*F); in main()
273 GVs.insert(F); in main()
283 for (GlobalValue *GV : GVs) { in main()
300 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/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/llvm-project/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()
161 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs, in createGVExtractionPass() argument
163 return new GVExtractorPass(GVs, deleteFn, keepConstInit); in createGVExtractionPass()
DGlobalOpt.cpp474 SmallVector<DIGlobalVariableExpression *, 1> GVs; in transferSRADebugInfo() local
475 GV->getDebugInfo(GVs); in transferSRADebugInfo()
476 for (auto *GVE : GVs) { in transferSRADebugInfo()
1671 SmallVector<DIGlobalVariableExpression *, 1> GVs; in TryToShrinkGlobalToBoolean() local
1672 GV->getDebugInfo(GVs); in TryToShrinkGlobalToBoolean()
1688 for(auto *GVe : GVs){ in TryToShrinkGlobalToBoolean()
1721 for(auto *GV : GVs) in TryToShrinkGlobalToBoolean()
2642 SmallVector<std::pair<GlobalVariable*, Constant*>, 32> GVs; in BatchCommitValueTo() local
2649 GVs.push_back(std::make_pair(GV, I.second)); in BatchCommitValueTo()
2665 for (auto GVPair : GVs) { in BatchCommitValueTo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DExtractGV.cpp63 explicit GVExtractorPass(std::vector<GlobalValue*> &GVs, in GVExtractorPass() argument
65 : 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.cpp455 SmallVector<DIGlobalVariableExpression *, 1> GVs; in transferSRADebugInfo() local
456 GV->getDebugInfo(GVs); in transferSRADebugInfo()
457 for (auto *GVE : GVs) { in transferSRADebugInfo()
1655 SmallVector<DIGlobalVariableExpression *, 1> GVs; in TryToShrinkGlobalToBoolean() local
1656 GV->getDebugInfo(GVs); in TryToShrinkGlobalToBoolean()
1672 for(auto *GVe : GVs){ in TryToShrinkGlobalToBoolean()
1705 for(auto *GV : GVs) in TryToShrinkGlobalToBoolean()
2502 SmallVector<std::pair<GlobalVariable*, Constant*>, 32> GVs; in BatchCommitValueTo() local
2509 GVs.push_back(std::make_pair(GV, I.second)); in BatchCommitValueTo()
2525 for (auto GVPair : GVs) { in BatchCommitValueTo()
/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-10.0/llvm/include/llvm/IR/
DDebugInfo.h112 return make_range(GVs.begin(), GVs.end()); in global_variables()
124 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
132 SmallVector<DIGlobalVariableExpression *, 8> GVs; variable
DGlobalVariable.h185 void getDebugInfo(SmallVectorImpl<DIGlobalVariableExpression *> &GVs) const;
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfo.h118 return make_range(GVs.begin(), GVs.end()); in global_variables()
130 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
138 SmallVector<DIGlobalVariableExpression *, 8> GVs; variable
DGlobalVariable.h185 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/llvm-project/llvm/lib/ExecutionEngine/Orc/
DMangling.cpp34 ArrayRef<GlobalValue *> GVs, in add() argument
37 if (GVs.empty()) in add()
40 MangleAndInterner Mangle(ES, GVs[0]->getParent()->getDataLayout()); in add()
41 for (auto *G : GVs) { in add()
/external/llvm-project/llvm/tools/bugpoint/
DBugDriver.cpp251 void llvm::PrintGlobalVariableList(const std::vector<GlobalVariable *> &GVs) { in PrintGlobalVariableList() argument
252 unsigned NumPrint = GVs.size(); in PrintGlobalVariableList()
256 outs() << " " << GVs[i]->getName(); in PrintGlobalVariableList()
257 if (NumPrint < GVs.size()) in PrintGlobalVariableList()
258 outs() << "... <" << GVs.size() << " total>"; in PrintGlobalVariableList()
DCrashDebugger.cpp145 bool TestGlobalVariables(std::vector<GlobalVariable *> &GVs);
150 std::vector<GlobalVariable *> &GVs) { in TestGlobalVariables() argument
158 for (unsigned i = 0, e = GVs.size(); i != e; ++i) { in TestGlobalVariables()
159 GlobalVariable *CMGV = cast<GlobalVariable>(VMap[GVs[i]]); in TestGlobalVariables()
165 PrintGlobalVariableList(GVs); in TestGlobalVariables()
183 GVs.assign(GVSet.begin(), GVSet.end()); in TestGlobalVariables()
1068 std::vector<GlobalVariable *> GVs; in ReduceGlobalInitializers() local
1071 GVs.push_back(&GV); in ReduceGlobalInitializers()
1073 if (GVs.size() > 1 && !BugpointIsInterrupted) { in ReduceGlobalInitializers()
1077 unsigned OldSize = GVs.size(); in ReduceGlobalInitializers()
[all …]
DBugDriver.h289 void PrintGlobalVariableList(const std::vector<GlobalVariable *> &GVs);
/external/llvm-project/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/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DMangling.h54 ArrayRef<GlobalValue *> GVs, SymbolFlagsMap &SymbolFlags,
/external/llvm/lib/IR/
DDebugInfo.cpp47 GVs.clear(); in reset()
216 GVs.push_back(DIG); in addGlobalVariable()
/external/llvm/include/llvm/Transforms/
DIPO.h87 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DIPO.h89 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/llvm-project/llvm/include/llvm/Transforms/
DIPO.h97 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool

12