Home
last modified time | relevance | path

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

/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()
157 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs, in createGVExtractionPass() argument
159 return new GVExtractorPass(GVs, deleteFn); in createGVExtractionPass()
/external/llvm/include/llvm/IR/
DDebugInfo.h116 return make_range(GVs.begin(), GVs.end()); in global_variables()
128 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
136 SmallVector<DIGlobalVariable *, 8> GVs; variable
/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()
175 GVs.assign(GVSet.begin(), GVSet.end()); in TestGlobalVariables()
685 std::vector<GlobalVariable*> GVs; in DebugACrash() local
690 GVs.push_back(&*I); in DebugACrash()
692 if (GVs.size() > 1 && !BugpointIsInterrupted) { in DebugACrash()
696 unsigned OldSize = GVs.size(); in DebugACrash()
[all …]
DBugDriver.h322 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
/external/llvm/include/llvm/Transforms/
DIPO.h86 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/llvm/lib/IR/
DDebugInfo.cpp91 GVs.clear(); in reset()
273 GVs.push_back(DIG); in addGlobalVariable()