reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/CloneModule.cpp
   85        I != E; ++I) {
   85        I != E; ++I) {
   86     if (!ShouldCloneDefinition(&*I)) {
   92       if (I->getValueType()->isFunctionTy())
   93         GV = Function::Create(cast<FunctionType>(I->getValueType()),
   95                               I->getAddressSpace(), I->getName(), New.get());
   95                               I->getAddressSpace(), I->getName(), New.get());
   98             *New, I->getValueType(), false, GlobalValue::ExternalLinkage,
   99             nullptr, I->getName(), nullptr,
  100             I->getThreadLocalMode(), I->getType()->getAddressSpace());
  100             I->getThreadLocalMode(), I->getType()->getAddressSpace());
  101       VMap[&*I] = GV;
  107     auto *GA = GlobalAlias::create(I->getValueType(),
  108                                    I->getType()->getPointerAddressSpace(),
  109                                    I->getLinkage(), I->getName(), New.get());
  109                                    I->getLinkage(), I->getName(), New.get());
  110     GA->copyAttributesFrom(&*I);
  111     VMap[&*I] = GA;