reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
374 auto &TCG = CGF.getTargetHooks(); 383 if (CGF.CGM.getCodeGenOpts().MergeAllConstants && 385 CGF.CGM.isTypeConstant(Ty, true)) 386 if (auto Init = ConstantEmitter(CGF).tryEmitAbstract(Inner, Ty)) { 387 if (auto AddrSpace = CGF.getTarget().getConstantAddressSpace()) { 390 CGF.CGM.getModule(), Init->getType(), /*isConstant=*/true, 393 CGF.getContext().getTargetAddressSpace(AS)); 394 CharUnits alignment = CGF.getContext().getTypeAlignInChars(Ty); 399 CGF.CGM, GV, AS, LangAS::Default, 401 CGF.getContext().getTargetAddressSpace(LangAS::Default))); 406 return CGF.CreateMemTemp(Ty, "ref.tmp", Alloca); 410 return CGF.CGM.GetAddrOfGlobalTemporary(M, Inner);