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()
990 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
1091 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1098 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1101 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1107 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
1119 auto *ret = ReturnStmt::Create(getContext(), SourceLocation(), in generateObjCGetterBody()
1150 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize()); in generateObjCGetterBody()
1198 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1199 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1200 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1202 getContext().BoolTy); in generateObjCGetterBody()
1208 getContext().getObjCIdType(), args), in generateObjCGetterBody()
1301 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1305 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitStructSetterCall()
1310 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1314 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
1315 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1318 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1322 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1327 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1347 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1351 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitCPPObjectAtomicSetterCall()
1356 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1359 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1365 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1437 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
1488 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1489 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1491 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1492 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1494 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1497 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1498 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1500 getContext().BoolTy); in generateObjCSetterBody()
1502 getContext().BoolTy); in generateObjCSetterBody()
1506 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1523 DeclRefExpr self(getContext(), selfDecl, false, selfDecl->getType(), in generateObjCSetterBody()
1534 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody()
1562 if (!getContext().hasSameUnqualifiedType(ivarRef.getType(), in generateObjCSetterBody()
1567 getContext(), &ivarRef, finalArg, BO_Assign, ivarRef.getType(), in generateObjCSetterBody()
1659 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
1680 QualType IdTy(CGM.getContext().getObjCIdType()); in GenerateObjCCtorDtorMethod()
1694 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf()
1704 getContext().getCanonicalType(selfDecl->getType())); in TypeOfSelfObject()
1741 &CGM.getContext().Idents.get("countByEnumeratingWithState"), in EmitObjCForCollectionStmt()
1742 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1743 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1746 CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]); in EmitObjCForCollectionStmt()
1749 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
1774 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1782 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1785 llvm::Type *NSUIntegerTy = ConvertType(getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1787 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1792 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
1823 llvm::Type *UnsignedLongTy = ConvertType(getContext().UnsignedLongTy); in EmitObjCForCollectionStmt()
1859 llvm::Type *ObjCIdType = ConvertType(getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1863 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1867 CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2), in EmitObjCForCollectionStmt()
1883 DeclRefExpr tempDRE(getContext(), const_cast<VarDecl *>(D), false, in EmitObjCForCollectionStmt()
1925 auto &C = CGM.getContext(); in EmitObjCForCollectionStmt()
2002 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
2289 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRetainBlock()
2417 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRelease()
2700 IdentifierInfo *II = &CGM.getContext().Idents.get("alloc"); in EmitObjCMRRAutoreleasePoolPush()
2701 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2705 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2710 II = &CGM.getContext().Idents.get("init"); in EmitObjCMRRAutoreleasePoolPush()
2711 Selector InitSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2714 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2747 IdentifierInfo *II = &CGM.getContext().Idents.get("drain"); in EmitObjCMRRAutoreleasePoolPop()
2748 Selector DrainSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPop()
2751 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop()
2823 llvm::MDNode::get(Builder.getContext(), None)); in EmitObjCRelease()
3683 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
3685 = &CGM.getContext().Idents.get("__assign_helper_atomic_property_"); in GenerateObjCAtomicSetterCopyHelperFunction()
3773 ASTContext &C = getContext(); in GenerateObjCAtomicGetterCopyHelperFunction()
3775 &CGM.getContext().Idents.get("__copy_helper_atomic_property_"); in GenerateObjCAtomicGetterCopyHelperFunction()
3819 DeclRefExpr SrcExpr(getContext(), SrcDecl, false, SrcTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3846 DeclRefExpr DstExpr(getContext(), DstDecl, false, DestTy, VK_PRValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3851 = getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
3869 IdentifierInfo *CopyID = &getContext().Idents.get("copy"); in EmitBlockCopyAndAutorelease()
3871 getContext().Selectors.getNullarySelector(CopyID); in EmitBlockCopyAndAutorelease()
3872 IdentifierInfo *AutoreleaseID = &getContext().Idents.get("autorelease"); in EmitBlockCopyAndAutorelease()
3874 getContext().Selectors.getNullarySelector(AutoreleaseID); in EmitBlockCopyAndAutorelease()