Lines Matching defs:CGM

375                             CodeGenModule &CGM,
394 } else if (CGM.getTargetCodeGenInfo()
411 return arrangeFreeFunctionLikeCall(*this, CGM, args, fnType, 0);
419 return arrangeFreeFunctionLikeCall(*this, CGM, args, fnType, 1);
672 CGF.CGM.getDataLayout().getTypeAllocSize(FirstElt);
674 FirstEltSize < CGF.CGM.getDataLayout().getTypeAllocSize(SrcSTy))
716 const llvm::DataLayout &DL = CGF.CGM.getDataLayout();
759 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(Ty);
766 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
847 uint64_t SrcSize = CGF.CGM.getDataLayout().getTypeAllocSize(SrcTy);
863 uint64_t DstSize = CGF.CGM.getDataLayout().getTypeAllocSize(DstTy);
1346 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy);
1486 V = CGM.getCXXABI().
1507 CGM.getDataLayout().getABITypeAlignment(ArgI.getCoerceToType());
1530 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
1533 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(DstTy);
1680 if (call->getCalledValue() == CGF.CGM.getARCEntrypoints().objc_retain) {
1682 } else if (call->getCalledValue() == CGF.CGM.getARCEntrypoints()
1691 if (CGF.CGM.getARCEntrypoints().retainAutoreleasedReturnValueMarker) {
1700 CGF.CGM.getARCEntrypoints().retainAutoreleasedReturnValueMarker);
1745 retainCall->getCalledValue() != CGF.CGM.getARCEntrypoints().objc_retain)
1987 if (isInAllocaArgument(CGM.getCXXABI(), type)) {
1993 CGM.ErrorUnsupported(param, "non-trivial argument copy for thunk");
2203 if (CGF.CGM.getCodeGenOpts().OptimizationLevel != 0 &&
2235 llvm::Function *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stacksave);
2252 llvm::Value *F = CGF.CGM.getIntrinsic(llvm::Intrinsic::stackrestore);
2270 if (CGM.getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) {
2275 HasInAllocaArgs = isInAllocaArgument(CGM.getCXXABI(), *I);
2347 CGM.getTarget().getCXXABI().areArgsDestroyedLeftToRightInCallee()) {
2359 CGM.getCXXABI().getRecordArgABI(RD) != CGCXXABI::RAA_Default;
2403 if (CGM.getCodeGenOpts().OptimizationLevel != 0 &&
2404 !CGM.getCodeGenOpts().ObjCAutoRefCountExceptions)
2406 CGM.getNoObjCARCExceptionsMetadata());
2508 if (CGM.getLangOpts().ObjCAutoRefCount)
2730 const llvm::DataLayout *TD = &CGM.getDataLayout();
2811 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(SrcTy);
2812 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy);
2928 CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList,
2960 if (CGM.getLangOpts().ObjCAutoRefCount)
3066 return CGM.getTypes().getABIInfo().EmitVAArg(VAListAddr, Ty, *this);