/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 129 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/ |
D | llvm-extract.cpp | 122 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/ |
D | llvm-extract.cpp | 98 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/ |
D | ExtractGV.cpp | 36 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/ |
D | ExtractGV.cpp | 64 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()
|
D | GlobalOpt.cpp | 439 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/ |
D | ExtractGV.cpp | 67 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/ |
D | BugDriver.cpp | 239 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()
|
D | CrashDebugger.cpp | 125 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 …]
|
D | BugDriver.h | 315 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
|
/external/llvm/include/llvm/IR/ |
D | DebugInfo.h | 103 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/ |
D | DebugInfo.h | 113 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
|
D | GlobalVariable.h | 186 void getDebugInfo(SmallVectorImpl<DIGlobalVariableExpression *> &GVs) const;
|
/external/llvm/tools/bugpoint/ |
D | BugDriver.cpp | 240 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()
|
D | CrashDebugger.cpp | 137 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 …]
|
D | BugDriver.h | 311 void PrintGlobalVariableList(const std::vector<GlobalVariable*> &GVs);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | BugDriver.cpp | 252 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()
|
D | CrashDebugger.cpp | 141 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/ |
D | pr34186.ll | 1 ; 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/ |
D | IPO.h | 81 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 47 GVs.clear(); in reset() 216 GVs.push_back(DIG); in addGlobalVariable()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | DebugInfo.h | 831 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/ |
D | IPO.h | 87 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/ |
D | IPO.h | 90 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 664 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()
|