Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-extract/
Dllvm-extract.cpp111 SetVector<GlobalValue *> GVs; in main() local
121 GVs.insert(GA); in main()
136 GVs.insert(&*GA); in main()
155 GVs.insert(GV); in main()
170 GVs.insert(&*GV); in main()
189 GVs.insert(GV); in main()
204 GVs.insert(&*F); in main()
217 for (size_t i = 0, e = GVs.size(); i != e; ++i) { in main()
218 GlobalValue *GV = GVs[i]; in main()
229 SmallPtrSet<GlobalValue *, 8> GVSet(GVs.begin(), GVs.end()); in main()
[all …]
/external/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()
132 ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue*>& GVs, in createGVExtractionPass() argument
134 return new GVExtractorPass(GVs, deleteFn); in createGVExtractionPass()
/external/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()
469 std::vector<GlobalVariable*> GVs; in DebugACrash() local
474 GVs.push_back(I); in DebugACrash()
476 if (GVs.size() > 1 && !BugpointIsInterrupted) { in DebugACrash()
480 unsigned OldSize = GVs.size(); in DebugACrash()
[all …]
DBugDriver.h315 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
/external/llvm/include/llvm/Transforms/
DIPO.h81 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/external/llvm/include/llvm/
DDebugInfo.h787 iterator global_variable_begin() const { return GVs.begin(); } in global_variable_begin()
788 iterator global_variable_end() const { return GVs.end(); } in global_variable_end()
793 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
800 SmallVector<MDNode *, 8> GVs; // Global Variables; variable
/external/llvm/lib/IR/
DDebugInfo.cpp856 DIArray GVs = CU.getGlobalVariables(); in processModule() local
857 for (unsigned i = 0, e = GVs.getNumElements(); i != e; ++i) { in processModule()
858 DIGlobalVariable DIG(GVs.getElement(i)); in processModule()
981 GVs.push_back(DIG); in addGlobalVariable()
DDIBuilder.cpp62 DIArray GVs = getOrCreateArray(AllGVs); in finalize() local
63 DIType(TempGVs).replaceAllUsesWith(GVs); in finalize()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp785 DIArray GVs = CUNode.getGlobalVariables(); in beginModule() local
786 for (unsigned i = 0, e = GVs.getNumElements(); i != e; ++i) in beginModule()
787 CU->createGlobalVariableDIE(GVs.getElement(i)); in beginModule()