/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 43 getCXXABI().getMangleContext().mangleCXXDtorThunk(DD, GD.getDtorType(), in GetAddrOfThunk() 46 getCXXABI().getMangleContext().mangleThunk(MD, Thunk, Out); in GetAddrOfThunk() 62 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in setThunkProperties() 107 ReturnValue = CGF.CGM.getCXXABI().performReturnAdjustment(CGF, in PerformReturnAdjustment() 189 CGM.getCXXABI().performThisAdjustment(*this, ThisPtr, Thunk.This); in GenerateVarArgsThunk() 220 QualType ResultType = CGM.getCXXABI().HasThisReturn(GD) in StartThunk() 222 : CGM.getCXXABI().hasMostDerivedReturn(GD) in StartThunk() 228 CGM.getCXXABI().buildThisParam(*this, FunctionArgs); in StartThunk() 234 CGM.getCXXABI().addImplicitStructorParams(*this, ResultType, FunctionArgs); in StartThunk() 241 CGM.getCXXABI().EmitInstanceFunctionProlog(*this); in StartThunk() [all …]
|
D | CGClass.cpp | 134 CGM.getCXXABI().EmitMemberDataPointerAddress(*this, E, base, in EmitCXXMemberDataPointerAddress() 341 CGM.getCXXABI().GetVirtualBaseClassOffset(*this, Value, Derived, VBase); in GetAddressOfBaseClass() 427 if (!CGM.getCXXABI().NeedsVTTParameter(GD)) { in GetVTTParameter() 445 assert(!CGM.getCXXABI().NeedsVTTParameter(CurGD) && in GetVTTParameter() 460 if (CGM.getCXXABI().NeedsVTTParameter(CurGD)) { in GetVTTParameter() 728 CGF.CGM.getCXXABI().getSrcArgforCopyCtor(Constructor, Args); in EmitMemberInitializer() 921 assert((CGM.getTarget().getCXXABI().hasConstructorVariants() || in EmitConstructorBody() 928 CGM.getTarget().getCXXABI().hasConstructorVariants()) { in EmitConstructorBody() 1137 return Args[CGF.CGM.getCXXABI().getSrcArgforCopyCtor(CD, Args)]; in getTrivialCopySource() 1369 !CGM.getTarget().getCXXABI().hasConstructorVariants()) { in EmitCtorPrologue() [all …]
|
D | CGVTT.cpp | 31 return CGM.getCXXABI().getAddrOfVTable(MostDerivedClass, CharUnits()); in GetAddrOfVTTVTable() 109 cast<ItaniumMangleContext>(CGM.getCXXABI().getMangleContext()) in GetAddrOfVTT() 114 (void) CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in GetAddrOfVTT()
|
D | CGExprCXX.cpp | 234 CGM.getCXXABI().EmitVirtualDestructorCall( in EmitCXXMemberOrOperatorMemberCallExpr() 256 Callee = CGM.getCXXABI().getVirtualFunctionPointer(*this, MD, This, Ty, in EmitCXXMemberOrOperatorMemberCallExpr() 275 This = CGM.getCXXABI().adjustThisArgumentForVirtualFunctionCall( in EmitCXXMemberOrOperatorMemberCallExpr() 315 CGM.getCXXABI().EmitLoadOfMemberFunctionPointer(*this, BO, This, in EmitCXXMemberPointerCallExpr() 370 CGF.CGM.getCXXABI().getVBPtrOffsets(Base); in EmitNullBaseClassInitialization() 539 return CGF.CGM.getCXXABI().GetArrayCookieSize(E); in CalculateCookiePadding() 1427 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation, in EmitCXXNewExpr() 1550 CGF.CGM.getCXXABI().emitVirtualObjectDelete(CGF, DE, Ptr, ElementType, in EmitObjectDelete() 1659 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete() 1790 if (CGF.CGM.getCXXABI().shouldTypeidBeNullChecked( in EmitTypeidFromVTable() [all …]
|
D | CGException.cpp | 60 getTarget().getCXXABI().isItaniumFamily()) { in getTerminateFn() 63 getTarget().getCXXABI().isMicrosoft()) { in getTerminateFn() 412 CGM.getCXXABI().emitThrow(*this, E); in EmitCXXThrowExpr() 415 CGM.getCXXABI().emitRethrow(*this, /*isNoReturn=*/true); in EmitCXXThrowExpr() 450 if (getTarget().getCXXABI().isMicrosoft()) in EmitStartEHSpec() 528 if (getTarget().getCXXABI().isMicrosoft()) in EmitEndEHSpec() 565 TypeInfo = CGM.getCXXABI().getAddrOfCXXCatchHandlerType( in EnterCXXTryStmt() 570 CatchScope->setHandler(I, CGM.getCXXABI().getCatchAllTypeInfo(), Handler); in EnterCXXTryStmt() 1058 CGM.getCXXABI().emitBeginCatch(*this, C); in ExitCXXTryStmt() 1076 CGM.getCXXABI().emitRethrow(*this, /*isNoReturn*/false); in ExitCXXTryStmt() [all …]
|
D | CGDeclCXX.cpp | 109 CGM.getCXXABI().registerGlobalDtor(CGF, D, function, argument); in EmitDeclDestroy() 194 CGM.getCXXABI().getMangleContext().mangleDynamicAtExitDestructor(&VD, Out); in createAtExitStub() 248 CGM.getCXXABI().EmitGuardedInit(*this, D, DeclPtr, PerformInit); in EmitCXXGuardedInit() 316 getCXXABI().getMangleContext().mangleDynamicInitializer(D, Out); in EmitCXXGlobalVarDeclInitFunc() 381 getCXXABI().EmitThreadLocalInitFuncs( in EmitCXXThreadLocalInitFunc()
|
D | CodeGenTypes.cpp | 34 Target(cgm.getTarget()), TheCXXABI(cgm.getCXXABI()), in CodeGenTypes() 195 return getCXXABI().isMemberPointerConvertible(MPT); in isFuncParamTypeConvertible() 606 if (!getCXXABI().isMemberPointerConvertible(cast<MemberPointerType>(Ty))) in ConvertType() 609 getCXXABI().ConvertMemberPointerType(cast<MemberPointerType>(Ty)); in ConvertType() 752 return getCXXABI().isZeroInitializable(MPT); in isZeroInitializable()
|
D | CGCXX.cpp | 267 assert(!CGF.CGM.getTarget().getCXXABI().isMicrosoft() && in BuildAppleKextVirtualCall() 271 llvm::Value *VTable = CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in BuildAppleKextVirtualCall()
|
D | CodeGenModule.cpp | 64 switch (CGM.getTarget().getCXXABI().getKind()) { in createCXXABI() 136 getCXXABI().getMangleContext()); in CodeGenModule() 621 if (getCXXABI().getMangleContext().shouldMangleDeclName(ND)) { in getMangledName() 624 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out); in getMangledName() 626 getCXXABI().getMangleContext().mangleCXXDtor(D, GD.getDtorType(), Out); in getMangledName() 628 getCXXABI().getMangleContext().mangleName(ND, Out); in getMangledName() 643 MangleContext &MangleCtx = getCXXABI().getMangleContext(); in getBlockMangledName() 718 getCXXABI().useThunkForDtorVariant(cast<CXXDestructorDecl>(D), in getFunctionLinkage() 733 if (getCXXABI().useThunkForDtorVariant(Dtor, GD.getDtorType())) { in setFunctionDLLStorageClass() 881 if (getTarget().getCXXABI().areMemberFunctionsAligned()) { in SetLLVMFunctionAttributesForDefinition() [all …]
|
D | ABIInfo.h | 58 CodeGen::CGCXXABI &getCXXABI() const;
|
D | TargetInfo.cpp | 125 CGCXXABI &ABIInfo::getCXXABI() const { in getCXXABI() function in ABIInfo 126 return CGT.getCXXABI(); in getCXXABI() 563 if (!getCXXABI().classifyReturnType(FI)) in computeInfo() 590 if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(Ty, getCXXABI())) in classifyArgumentType() 637 if (!getCXXABI().classifyReturnType(FI)) in computeInfo() 657 if (auto RAA = getRecordArgABI(Ty, getCXXABI())) in classifyArgumentType() 677 if (!getRecordArgABI(RetTy, getCXXABI())) { in classifyReturnType() 719 if (!getCXXABI().classifyReturnType(FI)) in computeInfo() 734 if (CGCXXABI::RecordArgABI RAA = getRecordArgABI(Ty, getCXXABI())) in classifyArgumentType() 1314 CGCXXABI::RecordArgABI RAA = getRecordArgABI(RT, getCXXABI()); in classifyArgumentType() [all …]
|
D | CGExprConstant.cpp | 436 CGM.getCXXABI().getVTableAddressPointForConstExpr( in Build() 695 return CGM.getCXXABI().EmitMemberPointerConversion(E, C); in VisitCastExpr() 1440 return getCXXABI().EmitMemberPointer(Value, DestType); in EmitConstantValue() 1471 return getCXXABI().EmitMemberFunctionPointer(method); in getMemberPointerConstant() 1476 return getCXXABI().EmitMemberDataPointer(type, chars); in getMemberPointerConstant() 1601 return getCXXABI().EmitNullMemberPointer(T->castAs<MemberPointerType>()); in EmitNullConstant()
|
D | ModuleBuilder.cpp | 178 if (Ctx->getTargetInfo().getCXXABI().isMicrosoft()) { in HandleTagDeclDefinition()
|
D | CodeGenFunction.cpp | 64 CGM.getCXXABI().getMangleContext().startNewFunction(); in CodeGenFunction() 803 CGM.getCXXABI().EmitInstanceFunctionProlog(*this); in StartFunction() 916 if (CGM.getCXXABI().HasThisReturn(GD)) in GenerateCode() 918 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in GenerateCode() 920 CGM.getCXXABI().buildThisParam(*this, Args); in GenerateCode() 937 CGM.getCXXABI().addImplicitStructorParams(*this, ResTy, Args); in GenerateCode()
|
D | CodeGenTypes.h | 175 CGCXXABI &getCXXABI() const { return TheCXXABI; } in getCXXABI() function
|
D | CGCXXABI.cpp | 308 if (CGM.getTarget().getCXXABI().hasConstructorVariants()) in EmitCtorCompleteObjectHandler()
|
D | CGRecordLayoutBuilder.cpp | 109 return Context.getTargetInfo().getCXXABI().isMicrosoft() || in isDiscreteBitFieldABI() 118 return !Context.getTargetInfo().getCXXABI().isMicrosoft(); in isOverlappingVBaseABI()
|
D | CGCall.cpp | 2028 V = CGM.getCXXABI(). in EmitFunctionProlog() 2135 if (getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) { in EmitFunctionProlog() 2553 assert(!isInAllocaArgument(CGM.getCXXABI(), type) && in EmitDelegateCallArg() 2641 assert(CGF.getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()); in deactivateArgCleanupsBeforeCall() 2852 if (CGM.getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) { in EmitCallArgs() 2857 HasInAllocaArgs = isInAllocaArgument(CGM.getCXXABI(), *I); in EmitCallArgs() 2945 CGM.getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) { in EmitCallArg() 2957 CGM.getCXXABI().getRecordArgABI(RD) != CGCXXABI::RAA_Default; in EmitCallArg()
|
D | CGDebugInfo.cpp | 664 if (CGM.getTarget().getCXXABI().isMicrosoft()) in getUniqueTagTypeName() 670 CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(QualType(Ty, 0), Out); in getUniqueTagTypeName() 1167 !CGM.getTarget().getCXXABI().isMicrosoft()) in CreateCXXMemberFunction() 1253 if (CGM.getTarget().getCXXABI().isItaniumFamily()) { in CollectCXXBases() 1313 V = CGM.getCXXABI().EmitMemberFunctionPointer(MD); in CollectTemplateParams() 1325 V = CGM.getCXXABI().EmitMemberDataPointer(MPT, chars); in CollectTemplateParams() 1345 V = CGM.getCXXABI().EmitNullMemberPointer(MPT); in CollectTemplateParams()
|
D | ItaniumCXXABI.cpp | 458 switch (CGM.getTarget().getCXXABI().getKind()) { in CreateItaniumCXXABI() 1335 assert(CGM.getTarget().getCXXABI().hasConstructorVariants()); in EmitCXXConstructors() 2440 CGM.getCXXABI().getMangleContext().mangleCXXRTTIName(Ty, Out); in GetAddrOfTypeName() 2461 CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out); in GetAddrOfExternalRTTIDescriptor() 2869 CGM.getCXXABI().getMangleContext().mangleCXXRTTI(Ty, Out); in BuildTypeInfo()
|
D | CGDecl.cpp | 1039 D.isExceptionVariable() && getTarget().getCXXABI().isMicrosoft(); in EmitAutoVarAlloca() 1774 getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) { in EmitParmDecl()
|
/external/clang/lib/AST/ |
D | Mangle.cpp | 75 TI.getCXXABI() == TargetCXXABI::Microsoft) in getCallingConvMangling() 142 if (CC == CCM_Other || (MCXX && TI.getCXXABI() == TargetCXXABI::Microsoft)) { in mangleName()
|
D | RecordLayout.cpp | 92 if (Ctx.getTargetInfo().getCXXABI().hasPrimaryVBases()) { in ASTRecordLayout()
|
D | RecordLayoutBuilder.cpp | 681 TargetCXXABI getCXXABI() const { in getCXXABI() function in __anon13b676a30111::ItaniumRecordLayoutBuilder 682 return Context.getTargetInfo().getCXXABI(); in getCXXABI() 1997 Context.getTargetInfo().getCXXABI().canKeyFunctionBeInline(); in computeKeyFunction() 2104 return Context.getTargetInfo().getCXXABI().isMicrosoft(); in isMsLayout() 2932 mustSkipTailPadding(getTargetInfo().getCXXABI(), RD); in getASTRecordLayout() 2972 if (!getTargetInfo().getCXXABI().hasKeyFunctions()) in getCurrentKeyFunction()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 775 TargetCXXABI getCXXABI() const { in getCXXABI() function
|