Searched defs:NewGV (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp197 GlobalVariable *NewGV = local
217 Builder.CreateInBoundsGEP(NewGV->getValueType(), NewGV, Indices);
222 NewGV->takeName(GV);
/external/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp156 GlobalVariable *NewGV = new GlobalVariable( local
160 NewGV->copyAttributesFrom(&GV);
162 (*VMap)[&GV] = NewGV;
163 return NewGV;
169 GlobalVariable *NewGV) {
171 if (!NewGV)
172 NewGV = cast<GlobalVariable>(VMap[&OrigGV]);
174 assert(VMap[&OrigGV] == NewGV &&
176 assert(NewGV->getParent() != OrigGV.getParent() &&
180 NewGV
166 moveGlobalVariableInitializer(GlobalVariable &OrigGV, ValueToValueMapTy &VMap, ValueMaterializer *Materializer, GlobalVariable *NewGV) argument
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp88 GlobalVariable *NewGV = new GlobalVariable( local
93 NewGV->copyAttributesFrom(GV);
94 GVMap[GV] = NewGV;
145 GlobalVariable *NewGV = I->second; local
153 Constant *BitCastNewGV = ConstantExpr::getPointerCast(NewGV, GV->getType());
160 NewGV->setName(Name);
/external/llvm/lib/Linker/
H A DIRMover.cpp735 GlobalValue *NewGV; local
737 NewGV = copyGlobalVariableProto(SGVar);
739 NewGV = copyFunctionProto(SF);
742 NewGV = copyGlobalAliasProto(cast<GlobalAlias>(SGV));
744 NewGV = new GlobalVariable(
753 NewGV->setLinkage(SGV->getLinkage());
756 NewGV->setLinkage(GlobalValue::ExternalWeakLinkage);
758 NewGV->copyAttributesFrom(SGV);
759 return NewGV;
1052 GlobalValue *NewGV;
[all...]
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp845 GlobalVariable *NewGV = new GlobalVariable(*GV->getParent(), local
860 if (BCI->getType() == NewGV->getType()) {
861 BCI->replaceAllUsesWith(NewGV);
864 BCI->setOperand(0, NewGV);
868 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
873 Constant *RepValue = NewGV;
874 if (NewGV->getType() != GV->getType()->getElementType())
948 // To further other optimizations, loop over all users of NewGV and try to
951 ConstantPropUsersOf(NewGV, DL, TLI);
952 if (RepValue != NewGV)
1618 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), local
[all...]
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3494 GlobalVariable *NewGV = local
3497 NewGV->setAlignment(Alignment);
3499 NewGV->setSection(Section);
3500 NewGV->setVisibility(Visibility);
3501 NewGV->setUnnamedAddr(UnnamedAddr);
3504 NewGV->setDLLStorageClass(getDecodedDLLStorageClass(Record[10]));
3506 upgradeDLLImportExportLinkage(NewGV, RawLinkage);
3508 ValueList.push_back(NewGV);
3512 GlobalInits.push_back(std::make_pair(NewGV, InitID-1));
3518 NewGV
[all...]

Completed in 3486 milliseconds