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

References

lib/Transforms/Utils/CtorUtils.cpp
   29   ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer());
   42     GCL->setInitializer(CA);
   48       new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(),
   48       new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(),
   49                          CA, "", GCL->getThreadLocalMode());
   50   GCL->getParent()->getGlobalList().insert(GCL->getIterator(), NGV);
   50   GCL->getParent()->getGlobalList().insert(GCL->getIterator(), NGV);
   51   NGV->takeName(GCL);
   54   if (!GCL->use_empty()) {
   56     if (V->getType() != GCL->getType())
   57       V = ConstantExpr::getBitCast(V, GCL->getType());
   58     GCL->replaceAllUsesWith(V);
   60   GCL->eraseFromParent();