reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1479 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>()) 1479 if (CGF.CurFuncDecl && CGF.CurFuncDecl->hasAttr<NakedAttr>()) 1494 llvm::Value *This = loadIncomingCXXThis(CGF); 1495 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl()); 1496 if (!CGF.CurFuncIsThunk && MD->isVirtual()) { 1497 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(CGF.CurGD); 1500 llvm::Type *charPtrTy = CGF.Int8Ty->getPointerTo(AS), 1502 This = CGF.Builder.CreateBitCast(This, charPtrTy); 1504 This = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, This, 1504 This = CGF.Builder.CreateConstInBoundsGEP1_32(CGF.Int8Ty, This, 1506 This = CGF.Builder.CreateBitCast(This, thisTy, "this.adjusted"); 1509 setCXXABIThisValue(CGF, This); 1519 if (HasThisReturn(CGF.CurGD)) 1520 CGF.Builder.CreateStore(getThisValue(CGF), CGF.ReturnValue); 1520 CGF.Builder.CreateStore(getThisValue(CGF), CGF.ReturnValue); 1520 CGF.Builder.CreateStore(getThisValue(CGF), CGF.ReturnValue); 1521 else if (hasMostDerivedReturn(CGF.CurGD)) 1522 CGF.Builder.CreateStore(CGF.EmitCastToVoidPtr(getThisValue(CGF)), 1522 CGF.Builder.CreateStore(CGF.EmitCastToVoidPtr(getThisValue(CGF)), 1522 CGF.Builder.CreateStore(CGF.EmitCastToVoidPtr(getThisValue(CGF)), 1523 CGF.ReturnValue); 1526 assert(getStructorImplicitParamDecl(CGF) && 1528 getStructorImplicitParamValue(CGF) 1529 = CGF.Builder.CreateLoad( 1530 CGF.GetAddrOfLocalVar(getStructorImplicitParamDecl(CGF)), 1530 CGF.GetAddrOfLocalVar(getStructorImplicitParamDecl(CGF)), 1534 if (isDeletingDtor(CGF.CurGD)) { 1535 assert(getStructorImplicitParamDecl(CGF) && 1537 getStructorImplicitParamValue(CGF) 1538 = CGF.Builder.CreateLoad( 1539 CGF.GetAddrOfLocalVar(getStructorImplicitParamDecl(CGF)), 1539 CGF.GetAddrOfLocalVar(getStructorImplicitParamDecl(CGF)),