Lines Matching refs:getContext
104 getContext().getObjCEncodingForType(ValueType, Str); in EmitObjCBoxedExpr()
126 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
137 QualType IdTy(CGM.getContext().getObjCIdType()); in EmitObjCCollectionLiteral()
737 CGF.getContext().VoidTy, in Emit()
820 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
837 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
928 auto TInfo = CGM.getContext().getTypeInfoInChars(ivarType); in PropertyImplStrategy()
994 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
1095 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1102 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1105 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1111 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
1127 llvm::Type *selType = CGF.ConvertType(CGF.getContext().getObjCSelType()); in emitCmdValueForGetterSetterBody()
1159 auto *ret = ReturnStmt::Create(getContext(), SourceLocation(), in generateObjCGetterBody()
1188 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize()); in generateObjCGetterBody()
1233 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1234 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1235 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1237 getContext().BoolTy); in generateObjCGetterBody()
1243 getContext().getObjCIdType(), args), in generateObjCGetterBody()
1336 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1340 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitStructSetterCall()
1345 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1349 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
1350 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1353 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1357 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1362 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1382 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1386 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitCPPObjectAtomicSetterCall()
1391 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1394 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1400 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1490 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
1540 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1541 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1543 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1544 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1546 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1549 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1550 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1552 getContext().BoolTy); in generateObjCSetterBody()
1554 getContext().BoolTy); in generateObjCSetterBody()
1558 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1575 DeclRefExpr self(getContext(), selfDecl, false, selfDecl->getType(), in generateObjCSetterBody()
1586 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody()
1620 if (!getContext().hasSameUnqualifiedType(ivarRef.getType(), in generateObjCSetterBody()
1625 getContext(), &ivarRef, finalArg, BO_Assign, ivarRef.getType(), in generateObjCSetterBody()
1717 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
1738 QualType IdTy(CGM.getContext().getObjCIdType()); in GenerateObjCCtorDtorMethod()
1752 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf()
1762 getContext().getCanonicalType(selfDecl->getType())); in TypeOfSelfObject()
1799 &CGM.getContext().Idents.get("countByEnumeratingWithState"), in EmitObjCForCollectionStmt()
1800 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1801 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1804 CGM.getContext().Selectors.getSelector(std::size(II), &II[0]); in EmitObjCForCollectionStmt()
1807 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
1832 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1840 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1843 llvm::Type *NSUIntegerTy = ConvertType(getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1845 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1850 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
1881 llvm::Type *UnsignedLongTy = ConvertType(getContext().UnsignedLongTy); in EmitObjCForCollectionStmt()
1917 llvm::Type *ObjCIdType = ConvertType(getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1921 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1925 CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2), in EmitObjCForCollectionStmt()
1941 DeclRefExpr tempDRE(getContext(), const_cast<VarDecl *>(D), false, in EmitObjCForCollectionStmt()
1982 auto &C = CGM.getContext(); in EmitObjCForCollectionStmt()
2059 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
2345 llvm::MDNode::get(Builder.getContext(), std::nullopt)); in EmitARCRetainBlock()
2474 llvm::MDNode::get(Builder.getContext(), std::nullopt)); in EmitARCRelease()
2749 IdentifierInfo *II = &CGM.getContext().Idents.get("alloc"); in EmitObjCMRRAutoreleasePoolPush()
2750 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2754 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2759 II = &CGM.getContext().Idents.get("init"); in EmitObjCMRRAutoreleasePoolPush()
2760 Selector InitSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2763 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2796 IdentifierInfo *II = &CGM.getContext().Idents.get("drain"); in EmitObjCMRRAutoreleasePoolPop()
2797 Selector DrainSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPop()
2800 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop()
2872 llvm::MDNode::get(Builder.getContext(), std::nullopt)); in EmitObjCRelease()
3722 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
3746 = &CGM.getContext().Idents.get("__assign_helper_atomic_property_"); in GenerateObjCAtomicSetterCopyHelperFunction()
3822 ASTContext &C = getContext(); in GenerateObjCAtomicGetterCopyHelperFunction()
3844 &CGM.getContext().Idents.get("__copy_helper_atomic_property_"); in GenerateObjCAtomicGetterCopyHelperFunction()
3888 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3915 DeclRefExpr DstExpr(getContext(), DstDecl, false, DestTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3920 getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
3937 IdentifierInfo *CopyID = &getContext().Idents.get("copy"); in EmitBlockCopyAndAutorelease()
3939 getContext().Selectors.getNullarySelector(CopyID); in EmitBlockCopyAndAutorelease()
3940 IdentifierInfo *AutoreleaseID = &getContext().Idents.get("autorelease"); in EmitBlockCopyAndAutorelease()
3942 getContext().Selectors.getNullarySelector(AutoreleaseID); in EmitBlockCopyAndAutorelease()