Searched refs:NewGV (Results 1 - 3 of 3) sorted by relevance

/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/IPO/
H A DGlobalOpt.cpp1035 GlobalVariable *NewGV = new GlobalVariable(*GV->getParent(), local
1050 if (BCI->getType() == NewGV->getType()) {
1051 BCI->replaceAllUsesWith(NewGV);
1054 BCI->setOperand(0, NewGV);
1058 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
1063 Constant *RepValue = NewGV;
1064 if (NewGV->getType() != GV->getType()->getElementType())
1138 // To further other optimizations, loop over all users of NewGV and try to
1141 ConstantPropUsersOf(NewGV, TD, TLI);
1142 if (RepValue != NewGV)
1819 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), local
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Linker/
H A DLinkModules.cpp364 GlobalVariable *NewGV; // New aggregate global in dest module. member in struct:__anon10262::ModuleLinker::AppendingVarInfo
695 AVI.NewGV = NG;
898 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType());
899 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements));
/macosx-10.9.5/llvmCore-3425.0.33/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1610 GlobalVariable *NewGV = local
1613 NewGV->setAlignment(Alignment);
1615 NewGV->setSection(Section);
1616 NewGV->setVisibility(Visibility);
1617 NewGV->setUnnamedAddr(UnnamedAddr);
1619 ValueList.push_back(NewGV);
1623 GlobalInits.push_back(std::make_pair(NewGV, InitID-1));

Completed in 82 milliseconds