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

/freebsd-11.0-release/contrib/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...]
/freebsd-11.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp197 GlobalVariable *NewGV = local
217 Builder.CreateInBoundsGEP(NewGV->getValueType(), NewGV, Indices);
222 NewGV->takeName(GV);
/freebsd-11.0-release/contrib/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);
/freebsd-11.0-release/contrib/llvm/lib/Linker/
H A DIRMover.cpp752 GlobalValue *NewGV; local
754 NewGV = copyGlobalVariableProto(SGVar);
756 NewGV = copyFunctionProto(SF);
759 NewGV = copyGlobalAliasProto(cast<GlobalAlias>(SGV));
761 NewGV = new GlobalVariable(
770 NewGV->setLinkage(SGV->getLinkage());
773 NewGV->setLinkage(GlobalValue::ExternalWeakLinkage);
775 NewGV->copyAttributesFrom(SGV);
780 if (auto *NewF = dyn_cast<Function>(NewGV)) {
786 return NewGV;
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp844 GlobalVariable *NewGV = new GlobalVariable( local
856 if (BCI->getType() == NewGV->getType()) {
857 BCI->replaceAllUsesWith(NewGV);
860 BCI->setOperand(0, NewGV);
864 TheBC = new BitCastInst(NewGV, CI->getType(), "newgv", CI);
869 Constant *RepValue = NewGV;
870 if (NewGV->getType() != GV->getType()->getElementType())
944 // To further other optimizations, loop over all users of NewGV and try to
947 ConstantPropUsersOf(NewGV, DL, TLI);
948 if (RepValue != NewGV)
1607 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp44 if (auto *NewGV = dyn_cast<GlobalValue>(NewV))
46 NewGV, const_cast<GlobalValue *>(cast<GlobalValue>(V)));
/freebsd-11.0-release/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h398 /// If the target global declaration is not supplied via the NewGV parameter
406 GlobalVariable *NewGV = nullptr);
/freebsd-11.0-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3507 GlobalVariable *NewGV = local
3510 NewGV->setAlignment(Alignment);
3512 NewGV->setSection(Section);
3513 NewGV->setVisibility(Visibility);
3514 NewGV->setUnnamedAddr(UnnamedAddr);
3517 NewGV->setDLLStorageClass(getDecodedDLLStorageClass(Record[10]));
3519 upgradeDLLImportExportLinkage(NewGV, RawLinkage);
3521 ValueList.push_back(NewGV);
3525 GlobalInits.push_back(std::make_pair(NewGV, InitID-1));
3531 NewGV
[all...]

Completed in 198 milliseconds