reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
838 if (!(GV->hasName() && (GV->getName() == "llvm.global_ctors" || 838 if (!(GV->hasName() && (GV->getName() == "llvm.global_ctors" || 839 GV->getName() == "llvm.global_dtors")) || 840 !GV->hasInitializer()) 842 ArrayType *ATy = dyn_cast<ArrayType>(GV->getValueType()); 849 LLVMContext &C = GV->getContext(); 853 Constant *Init = GV->getInitializer(); 864 return new GlobalVariable(NewInit->getType(), false, GV->getLinkage(), 865 NewInit, GV->getName());