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 = new GlobalVariable( 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.cpp444 static void transferSRADebugInfo(GlobalVariable *GV, GlobalVariable *NGV, in transferSRADebugInfo() argument
493 NGV->addDebugInfo(NGVE); in transferSRADebugInfo()
515 NGV->addDebugInfo(NGVE); in transferSRADebugInfo()
578 GlobalVariable *NGV = new GlobalVariable( in SRAGlobal() local
583 NGV->copyAttributesFrom(GV); in SRAGlobal()
584 NewGlobals.insert({OffsetForTy, NGV}); in SRAGlobal()
591 NGV->setAlignment(NewAlign); in SRAGlobal()
594 transferSRADebugInfo(GV, NGV, OffsetForTy * 8, in SRAGlobal()
623 GlobalVariable *NGV = NewGlobals[Offset.getZExtValue()]; in SRAGlobal() local
624 assert(NGV && "Must have replacement global for this offset"); in SRAGlobal()
[all …]