Home
last modified time | relevance | path

Searched refs:NGV (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp48 GlobalVariable *NGV = in removeGlobalCtors() local
51 GCL->getParent()->insertGlobalVariable(GCL->getIterator(), NGV); in removeGlobalCtors()
52 NGV->takeName(GCL); in removeGlobalCtors()
56 GCL->replaceAllUsesWith(NGV); in removeGlobalCtors()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp438 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo() argument
487 NGV->addDebugInfo(NGVE); in transferSRADebugInfo()
509 NGV->addDebugInfo(NGVE); in transferSRADebugInfo()
572 GlobalVariable *NGV = new GlobalVariable( in SRAGlobal() local
576 NGV->copyAttributesFrom(GV); in SRAGlobal()
577 NewGlobals.insert({OffsetForTy, NGV}); in SRAGlobal()
584 NGV->setAlignment(NewAlign); in SRAGlobal()
587 transferSRADebugInfo(GV, NGV, OffsetForTy * 8, in SRAGlobal()
616 GlobalVariable *NGV = NewGlobals[Offset.getZExtValue()]; in SRAGlobal() local
617 assert(NGV && "Must have replacement global for this offset"); in SRAGlobal()
[all …]