• Home
  • Raw
  • Download

Lines Matching refs:CGM

53   return EmitCall(CGM.getTypes().arrangeFunctionCall(FPT->getResultType(), Args,  in EmitCXXMemberCall()
182 if (DI && CGM.getCodeGenOpts().LimitDebugInfo in EmitCXXMemberCallExpr()
193 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); in EmitCXXMemberCallExpr()
233 FInfo = &CGM.getTypes().arrangeCXXDestructor(cast<CXXDestructorDecl>(MD), in EmitCXXMemberCallExpr()
236 FInfo = &CGM.getTypes().arrangeCXXConstructorDeclaration( in EmitCXXMemberCallExpr()
240 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(MD); in EmitCXXMemberCallExpr()
242 llvm::Type *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberCallExpr()
264 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); in EmitCXXMemberCallExpr()
268 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty); in EmitCXXMemberCallExpr()
277 Callee = CGM.GetAddrOfFunction(MD, Ty); in EmitCXXMemberCallExpr()
313 CGM.getCXXABI().EmitLoadOfMemberFunctionPointer(*this, This, MemFnPtr, MPT); in EmitCXXMemberPointerCallExpr()
325 return EmitCall(CGM.getTypes().arrangeFunctionCall(Args, FPT), Callee, in EmitCXXMemberPointerCallExpr()
353 return CGM.getCUDARuntime().EmitCUDAKernelCallExpr(*this, E, ReturnValue); in EmitCUDAKernelCallExpr()
368 llvm::Value *SizeVal = CGF.CGM.getSize(Size); in EmitNullBaseClassInitialization()
376 if (!CGF.CGM.getTypes().isZeroInitializable(Base)) { in EmitNullBaseClassInitialization()
377 llvm::Constant *NullConstant = CGF.CGM.EmitNullConstantForBase(Base); in EmitNullBaseClassInitialization()
380 new llvm::GlobalVariable(CGF.CGM.getModule(), NullConstant->getType(), in EmitNullBaseClassInitialization()
506 return CGF.CGM.getCXXABI().GetArrayCookieSize(E); in CalculateCookiePadding()
696 = CGF.CGM.getIntrinsic(llvm::Intrinsic::umul_with_overflow, CGF.SizeTy); in EmitCXXNewAllocSize()
736 = CGF.CGM.getIntrinsic(llvm::Intrinsic::uadd_with_overflow, CGF.SizeTy); in EmitCXXNewAllocSize()
929 if (CGF.CGM.getTypes().isZeroInitializable(ElementType)) { in EmitNewInitializer()
944 CGF.CGM.getTypes().isZeroInitializable(ElementType)) { in EmitNewInitializer()
1009 CGF.EmitCall(CGF.CGM.getTypes().arrangeFunctionCall(DeleteArgs, FPT), in Emit()
1010 CGF.CGM.GetAddrOfFunction(OperatorDelete), in Emit()
1070 CGF.EmitCall(CGF.CGM.getTypes().arrangeFunctionCall(DeleteArgs, FPT), in Emit()
1071 CGF.CGM.GetAddrOfFunction(OperatorDelete), in Emit()
1185 RV = EmitCall(CGM.getTypes().arrangeFunctionCall(allocatorArgs, in EmitCXXNewExpr()
1187 CGM.GetAddrOfFunction(allocator), ReturnValueSlot(), in EmitCXXNewExpr()
1237 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation, in EmitCXXNewExpr()
1309 EmitCall(CGM.getTypes().arrangeFunctionCall(DeleteArgs, DeleteFTy), in EmitDeleteCall()
1310 CGM.GetAddrOfFunction(DeleteFD), ReturnValueSlot(), in EmitDeleteCall()
1447 CGF.CGM.getContext().getTypeSizeInChars(ElementType); in Emit()
1466 CGF.CGM.GetAddrOfFunction(OperatorDelete), in Emit()
1480 CGF.CGM.getCXXABI().ReadArrayCookie(CGF, deletedPtr, E, elementType, in EmitArrayDelete()
1576 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_bad_typeid"); in getBadTypeidFn()
1625 CGM.GetAddrOfRTTIDescriptor(E->getTypeOperand()); in EmitCXXTypeidExpr()
1645 return Builder.CreateBitCast(CGM.GetAddrOfRTTIDescriptor(OperandTy), in EmitCXXTypeidExpr()
1664 return CGF.CGM.CreateRuntimeFunction(FTy, "__dynamic_cast"); in getDynamicCastFn()
1670 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_bad_cast"); in getBadCastFn()
1724 CGF.CGM.GetAddrOfRTTIDescriptor(SrcRecordTy.getUnqualifiedType()); in EmitDynamicCastCall()
1726 CGF.CGM.GetAddrOfRTTIDescriptor(DestRecordTy.getUnqualifiedType()); in EmitDynamicCastCall()