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

References

tools/clang/lib/CodeGen/CGBlocks.cpp
 2446   ASTContext &Context = CGF.getContext();
 2458       CGF.CGM.getTypes().arrangeBuiltinFunctionDeclaration(ReturnTy, args);
 2460   llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI);
 2466                            "__Block_byref_object_copy_", &CGF.CGM.getModule());
 2480   CGF.CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI);
 2482   CGF.StartFunction(FD, ReturnTy, Fn, FI, args);
 2488     Address destField = CGF.GetAddrOfLocalVar(&Dst);
 2489     destField = Address(CGF.Builder.CreateLoad(destField),
 2491     destField = CGF.Builder.CreateBitCast(destField, byrefPtrType);
 2492     destField = CGF.emitBlockByrefAddress(destField, byrefInfo, false,
 2496     Address srcField = CGF.GetAddrOfLocalVar(&Src);
 2497     srcField = Address(CGF.Builder.CreateLoad(srcField),
 2499     srcField = CGF.Builder.CreateBitCast(srcField, byrefPtrType);
 2500     srcField = CGF.emitBlockByrefAddress(srcField, byrefInfo, false,
 2503     generator.emitCopy(CGF, destField, srcField);
 2506   CGF.FinishFunction();
 2508   return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);