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

/freebsd-10.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp103 GlobalVariable *NewGV = local
121 Value *Addr = Builder.CreateInBoundsGEP(NewGV, Indices);
126 NewGV->takeName(GV);
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp90 GlobalVariable *NewGV = new GlobalVariable( local
94 NewGV->copyAttributesFrom(GV);
95 GVMap[GV] = NewGV;
143 GlobalVariable *NewGV = I->second; local
145 Constant *BitCastNewGV = ConstantExpr::getBitCast(NewGV, GV->getType());
157 NewGV->setName(Name);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1039 GlobalVariable *NewGV = new GlobalVariable(*GV->getParent(), local
1054 if (BCI->getType() == NewGV->getType()) {
1055 BCI->replaceAllUsesWith(NewGV);
1058 BCI->setOperand(0, NewGV);
1062 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
1067 Constant *RepValue = NewGV;
1068 if (NewGV->getType() != GV->getType()->getElementType())
1142 // To further other optimizations, loop over all users of NewGV and try to
1145 ConstantPropUsersOf(NewGV, TD, TLI);
1146 if (RepValue != NewGV)
1823 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Linker/
H A DLinkModules.cpp370 GlobalVariable *NewGV; // New aggregate global in dest module. member in struct:__anon2286::ModuleLinker::AppendingVarInfo
690 AVI.NewGV = NG;
893 ArrayType *NewType = cast<ArrayType>(AVI.NewGV->getType()->getElementType());
894 AVI.NewGV->setInitializer(ConstantArray::get(NewType, Elements));
/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1690 GlobalVariable *NewGV = local
1693 NewGV->setAlignment(Alignment);
1695 NewGV->setSection(Section);
1696 NewGV->setVisibility(Visibility);
1697 NewGV->setUnnamedAddr(UnnamedAddr);
1699 ValueList.push_back(NewGV);
1703 GlobalInits.push_back(std::make_pair(NewGV, InitID-1));

Completed in 188 milliseconds