Searched refs:GVs (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp36 explicit GVExtractorPass(std::vector<GlobalValue*>& GVs, bool deleteS = true) argument
37 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {}
89 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue*>& GVs, argument
91 return new GVExtractorPass(GVs, deleteFn);
/external/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp98 SetVector<GlobalValue *> GVs; local
108 GVs.insert(GV);
123 GVs.insert(&*GV);
142 GVs.insert(GV);
157 GVs.insert(&*F);
170 for (size_t i = 0, e = GVs.size(); i != e; ++i) {
171 GlobalValue *GV = GVs[i];
181 // Deleting. Materialize every GV that's *not* in GVs.
182 SmallPtrSet<GlobalValue *, 8> GVSet(GVs.begin(), GVs
[all...]
/external/llvm/tools/bugpoint/
H A DBugDriver.cpp239 void llvm::PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs) { argument
240 unsigned NumPrint = GVs.size();
243 outs() << " " << GVs[i]->getName();
244 if (NumPrint < GVs.size())
245 outs() << "... <" << GVs.size() << " total>";
H A DCrashDebugger.cpp125 bool TestGlobalVariables(std::vector<GlobalVariable*> &GVs);
131 std::vector<GlobalVariable*> &GVs) {
139 for (unsigned i = 0, e = GVs.size(); i != e; ++i) {
140 GlobalVariable* CMGV = cast<GlobalVariable>(VMap[GVs[i]]);
146 PrintGlobalVariableList(GVs);
164 GVs.assign(GVSet.begin(), GVSet.end());
469 std::vector<GlobalVariable*> GVs; local
474 GVs.push_back(I);
476 if (GVs.size() > 1 && !BugpointIsInterrupted) {
480 unsigned OldSize = GVs
130 TestGlobalVariables( std::vector<GlobalVariable*> &GVs) argument
[all...]
H A DBugDriver.h315 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
/external/llvm/include/llvm/Transforms/
H A DIPO.h81 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/llvm/include/llvm/
H A DDebugInfo.h850 /// addGlobalVariable - Add global variable into GVs.
865 iterator global_variable_begin() const { return GVs.begin(); }
866 iterator global_variable_end() const { return GVs.end(); }
871 unsigned global_variable_count() const { return GVs.size(); }
878 SmallVector<MDNode *, 8> GVs; // Global Variables; member in class:llvm::DebugInfoFinder
/external/llvm/lib/VMCore/
H A DDebugInfo.cpp792 DIArray GVs = CU.getGlobalVariables(); local
793 for (unsigned i = 0, e = GVs.getNumElements(); i != e; ++i) {
794 DIGlobalVariable DIG(GVs.getElement(i));
959 /// addGlobalVariable - Add global variable into GVs.
967 GVs.push_back(DIG);
H A DDIBuilder.cpp62 DIArray GVs = getOrCreateArray(AllGVs); local
63 DIType(TempGVs).replaceAllUsesWith(GVs);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp742 DIArray GVs = CUNode.getGlobalVariables(); local
743 for (unsigned i = 0, e = GVs.getNumElements(); i != e; ++i)
744 CU->createGlobalVariableDIE(GVs.getElement(i));

Completed in 572 milliseconds