reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3119 if (Entry) { 3120 if (WeakRefReferences.erase(Entry)) { 3123 Entry->setLinkage(llvm::Function::ExternalLinkage); 3128 Entry->setDLLStorageClass(llvm::GlobalValue::DefaultStorageClass); 3129 setDSOLocal(Entry); 3134 if (IsForDefinition && !Entry->isDeclaration()) { 3149 if ((isa<llvm::Function>(Entry) || isa<llvm::GlobalAlias>(Entry)) && 3149 if ((isa<llvm::Function>(Entry) || isa<llvm::GlobalAlias>(Entry)) && 3150 (Entry->getType()->getElementType() == Ty)) { 3151 return Entry; 3158 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); 3176 Entry ? StringRef() : MangledName, &getModule()); 3184 if (Entry) { 3185 F->takeName(Entry); 3193 if (!Entry->use_empty()) { 3194 ReplaceUsesOfNonProtoTypeWithRealFunction(Entry, F); 3195 Entry->removeDeadConstantUsers(); 3199 F, Entry->getType()->getElementType()->getPointerTo()); 3200 addGlobalValReplacement(Entry, BC);