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

References

tools/clang/lib/CodeGen/CodeGenModule.cpp
 3413   if (Entry) {
 3414     if (WeakRefReferences.erase(Entry)) {
 3416         Entry->setLinkage(llvm::Function::ExternalLinkage);
 3421       Entry->setDLLStorageClass(llvm::GlobalValue::DefaultStorageClass);
 3424       getOpenMPRuntime().registerTargetGlobalVariable(D, Entry);
 3426     if (Entry->getType() == Ty)
 3427       return Entry;
 3431     if (IsForDefinition && !Entry->isDeclaration()) {
 3450     if (Entry->getType()->getAddressSpace() != Ty->getAddressSpace())
 3451       return llvm::ConstantExpr::getAddrSpaceCast(Entry, Ty);
 3456       return llvm::ConstantExpr::getBitCast(Entry, Ty);
 3469   if (Entry) {
 3470     GV->takeName(Entry);
 3472     if (!Entry->use_empty()) {
 3474           llvm::ConstantExpr::getBitCast(GV, Entry->getType());
 3475       Entry->replaceAllUsesWith(NewPtrForOldDecl);
 3478     Entry->eraseFromParent();