Lines Matching refs:OtherGD
1175 GlobalDecl OtherGD; in UpdateMultiVersionNames() local
1176 if (lookupRepresentativeDecl(NonTargetName, OtherGD)) { in UpdateMultiVersionNames()
1177 assert(OtherGD.getCanonicalDecl() in UpdateMultiVersionNames()
1184 const FunctionDecl *OtherFD = OtherGD.getCanonicalDecl() in UpdateMultiVersionNames()
1188 std::string OtherName = getMangledNameImpl(*this, OtherGD, OtherFD); in UpdateMultiVersionNames()
1197 auto Result = Manglings.insert(std::make_pair(OtherName, OtherGD)); in UpdateMultiVersionNames()
1198 MangledDeclNames[OtherGD.getCanonicalDecl()] = Result.first->first(); in UpdateMultiVersionNames()
3367 GlobalDecl OtherGD; in GetOrCreateLLVMFunction() local
3370 if (lookupRepresentativeDecl(MangledName, OtherGD) && in GetOrCreateLLVMFunction()
3372 OtherGD.getCanonicalDecl().getDecl()) && in GetOrCreateLLVMFunction()
3376 getDiags().Report(OtherGD.getDecl()->getLocation(), in GetOrCreateLLVMFunction()
3666 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal() local
3671 if (D && lookupRepresentativeDecl(MangledName, OtherGD) && in GetOrCreateLLVMGlobal()
3672 (D->getCanonicalDecl() != OtherGD.getCanonicalDecl().getDecl()) && in GetOrCreateLLVMGlobal()
3673 (OtherD = dyn_cast<VarDecl>(OtherGD.getDecl())) && in GetOrCreateLLVMGlobal()
3678 getDiags().Report(OtherGD.getDecl()->getLocation(), in GetOrCreateLLVMGlobal()
4827 GlobalDecl OtherGD; in emitIFuncDefinition() local
4828 if (lookupRepresentativeDecl(MangledName, OtherGD) && in emitIFuncDefinition()
4832 Diags.Report(OtherGD.getDecl()->getLocation(), in emitIFuncDefinition()