Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-extract/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp64 explicit GVExtractorPass(std::vector<GlobalValue*> &GVs, in GVExtractorPass() argument
66 : 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, keepConstInit); in createGVExtractionPass()
H A DGlobalOpt.cpp478 SmallVector<DIGlobalVariableExpression *, 1> GVs; in transferSRADebugInfo() local
479 GV->getDebugInfo(GVs); in transferSRADebugInfo()
480 for (auto *GVE : GVs) { in transferSRADebugInfo()
1167 SmallVector<DIGlobalVariableExpression *, 1> GVs; in TryToShrinkGlobalToBoolean() local
1168 GV->getDebugInfo(GVs); in TryToShrinkGlobalToBoolean()
1184 for(auto *GVe : GVs){ in TryToShrinkGlobalToBoolean()
1217 for(auto *GV : GVs) in TryToShrinkGlobalToBoolean()
2137 SmallVector<std::pair<GlobalVariable*, Constant*>, 32> GVs; in BatchCommitValueTo() local
2144 GVs.push_back(std::make_pair(GV, I.second)); in BatchCommitValueTo()
2160 for (auto GVPair : GVs) { in BatchCommitValueTo()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfo.h138 return make_range(GVs.begin(), GVs.end()); in global_variables()
150 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count()
158 SmallVector<DIGlobalVariableExpression *, 8> GVs; variable
H A DGlobalVariable.h185 void getDebugInfo(SmallVectorImpl<DIGlobalVariableExpression *> &GVs) const;
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A 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()
H A 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 …]
H A DBugDriver.h289 void PrintGlobalVariableList(const std::vector<GlobalVariable *> &GVs);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DMangling.h54 ArrayRef<GlobalValue *> GVs, SymbolFlagsMap &SymbolFlags,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/
H A DIPO.h97 ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1171 SmallVector<DIGlobalVariableExpression *, 1> GVs; in processGlobals() local
1172 Global.getDebugInfo(GVs); in processGlobals()
1175 if (GVs.size() == 0) in processGlobals()
1179 for (auto *GVE : GVs) { in processGlobals()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp513 if (auto *GVs = dyn_cast_or_null<MDTuple>(CU->getRawGlobalVariables())) in upgradeCUVariables() local
514 for (unsigned I = 0; I < GVs->getNumOperands(); I++) in upgradeCUVariables()
516 dyn_cast_or_null<DIGlobalVariable>(GVs->getOperand(I))) { in upgradeCUVariables()
519 GVs->replaceOperandWith(I, DGVE); in upgradeCUVariables()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DMetadata.cpp1544 SmallVectorImpl<DIGlobalVariableExpression *> &GVs) const { in getDebugInfo()
1548 GVs.push_back(cast<DIGlobalVariableExpression>(MD)); in getDebugInfo()
H A DDebugInfo.cpp142 GVs.clear(); in reset()
322 GVs.push_back(DIG); in addGlobalVariable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1180 SmallVector<DIGlobalVariableExpression *, 1> GVs; in beginModule() local
1181 Global.getDebugInfo(GVs); in beginModule()
1182 for (auto *GVE : GVs) in beginModule()