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

References

tools/clang/lib/CodeGen/CGExpr.cpp
 2523     if (VD->getStorageClass() == SC_Register &&
 2524         VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())
 2524         VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())
 2525       return EmitGlobalNamedRegister(VD, CGM);
 2532         (VD->getType()->isReferenceType() ||
 2533          !canEmitSpuriousReferenceToVariable(*this, E, VD, true))) {
 2534       VD->getAnyInitializer(VD);
 2534       VD->getAnyInitializer(VD);
 2536           E->getLocation(), *VD->evaluateValue(), VD->getType());
 2536           E->getLocation(), *VD->evaluateValue(), VD->getType());
 2540       if (!VD->getType()->isReferenceType()) {
 2542         Addr = CGM.createUnnamedGlobalFrom(*VD, Val,
 2543                                            getContext().getDeclAlign(VD));
 2544         llvm::Type *VarTy = getTypes().ConvertTypeForMem(VD->getType());
 2546             VarTy, getContext().getTargetAddressSpace(VD->getType()));
 2565       VD = VD->getCanonicalDecl();
 2565       VD = VD->getCanonicalDecl();
 2566       if (auto *FD = LambdaCaptureFields.lookup(VD))
 2569         auto I = LocalDeclMap.find(VD);
 2571           if (VD->getType()->isReferenceType())
 2572             return EmitLoadOfReferenceLValue(I->second, VD->getType(),
 2577             EmitCapturedFieldLValue(*this, CapturedStmtInfo->lookup(VD),
 2580             Address(CapLVal.getPointer(), getContext().getDeclAlign(VD)),
 2586       Address addr = GetAddrOfBlockDecl(VD);