Lines Matching refs:getContext

100     getContext().getObjCEncodingForType(ValueType, Str);  in EmitObjCBoxedExpr()
122 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
133 QualType IdTy(CGM.getContext().getObjCIdType()); in EmitObjCCollectionLiteral()
735 CGF.getContext().VoidTy, in Emit()
817 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
833 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
924 auto TInfo = CGM.getContext().getTypeInfoInChars(ivarType); in PropertyImplStrategy()
989 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
1090 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1097 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1100 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1106 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
1118 auto *ret = ReturnStmt::Create(getContext(), SourceLocation(), in generateObjCGetterBody()
1149 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize()); in generateObjCGetterBody()
1197 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1198 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1199 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1201 getContext().BoolTy); in generateObjCGetterBody()
1207 getContext().getObjCIdType(), args), in generateObjCGetterBody()
1300 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1304 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitStructSetterCall()
1309 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1313 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
1314 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1317 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1321 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1326 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1346 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1350 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitCPPObjectAtomicSetterCall()
1355 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1358 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1364 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1436 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
1487 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1488 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1490 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1491 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1493 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1496 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1497 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1499 getContext().BoolTy); in generateObjCSetterBody()
1501 getContext().BoolTy); in generateObjCSetterBody()
1505 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1522 DeclRefExpr self(getContext(), selfDecl, false, selfDecl->getType(), in generateObjCSetterBody()
1533 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody()
1561 if (!getContext().hasSameUnqualifiedType(ivarRef.getType(), in generateObjCSetterBody()
1566 getContext(), &ivarRef, finalArg, BO_Assign, ivarRef.getType(), VK_RValue, in generateObjCSetterBody()
1658 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
1679 QualType IdTy(CGM.getContext().getObjCIdType()); in GenerateObjCCtorDtorMethod()
1693 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf()
1703 getContext().getCanonicalType(selfDecl->getType())); in TypeOfSelfObject()
1740 &CGM.getContext().Idents.get("countByEnumeratingWithState"), in EmitObjCForCollectionStmt()
1741 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1742 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1745 CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]); in EmitObjCForCollectionStmt()
1748 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
1773 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1781 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1784 llvm::Type *NSUIntegerTy = ConvertType(getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1786 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1791 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
1822 llvm::Type *UnsignedLongTy = ConvertType(getContext().UnsignedLongTy); in EmitObjCForCollectionStmt()
1858 llvm::Type *ObjCIdType = ConvertType(getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1862 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1866 CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2), in EmitObjCForCollectionStmt()
1882 DeclRefExpr tempDRE(getContext(), const_cast<VarDecl *>(D), false, in EmitObjCForCollectionStmt()
1923 auto &C = CGM.getContext(); in EmitObjCForCollectionStmt()
2000 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
2287 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRetainBlock()
2415 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRelease()
2698 IdentifierInfo *II = &CGM.getContext().Idents.get("alloc"); in EmitObjCMRRAutoreleasePoolPush()
2699 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2703 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2708 II = &CGM.getContext().Idents.get("init"); in EmitObjCMRRAutoreleasePoolPush()
2709 Selector InitSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2712 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2745 IdentifierInfo *II = &CGM.getContext().Idents.get("drain"); in EmitObjCMRRAutoreleasePoolPop()
2746 Selector DrainSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPop()
2749 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop()
2821 llvm::MDNode::get(Builder.getContext(), None)); in EmitObjCRelease()
3677 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
3679 = &CGM.getContext().Idents.get("__assign_helper_atomic_property_"); in GenerateObjCAtomicSetterCopyHelperFunction()
3761 ASTContext &C = getContext(); in GenerateObjCAtomicGetterCopyHelperFunction()
3763 &CGM.getContext().Idents.get("__copy_helper_atomic_property_"); in GenerateObjCAtomicGetterCopyHelperFunction()
3801 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3828 DeclRefExpr DstExpr(getContext(), &DstDecl, false, DestTy, VK_RValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3833 = getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
3851 IdentifierInfo *CopyID = &getContext().Idents.get("copy"); in EmitBlockCopyAndAutorelease()
3853 getContext().Selectors.getNullarySelector(CopyID); in EmitBlockCopyAndAutorelease()
3854 IdentifierInfo *AutoreleaseID = &getContext().Idents.get("autorelease"); in EmitBlockCopyAndAutorelease()
3856 getContext().Selectors.getNullarySelector(AutoreleaseID); in EmitBlockCopyAndAutorelease()