Lines Matching refs:getContext

93     getContext().getObjCEncodingForType(ValueType, Str);  in EmitObjCBoxedExpr()
115 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
126 QualType IdTy(CGM.getContext().getObjCIdType()); in EmitObjCCollectionLiteral()
599 CGF.getContext().VoidTy, in Emit()
667 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
683 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
775 CGM.getContext().getTypeInfoInChars(ivarType); in PropertyImplStrategy()
838 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
940 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
947 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
950 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
956 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
968 auto *ret = ReturnStmt::Create(getContext(), SourceLocation(), in generateObjCGetterBody()
999 uint64_t ivarSize = getContext().toBits(strategy.getIvarSize()); in generateObjCGetterBody()
1047 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1048 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1049 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1051 getContext().BoolTy); in generateObjCGetterBody()
1150 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1154 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitStructSetterCall()
1159 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1163 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
1164 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1167 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1171 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1176 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1196 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1200 DeclRefExpr argRef(CGF.getContext(), argVar, false, in emitCPPObjectAtomicSetterCall()
1205 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1208 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1214 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1287 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
1339 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1340 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1342 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1343 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1345 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1348 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1349 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1351 getContext().BoolTy); in generateObjCSetterBody()
1353 getContext().BoolTy); in generateObjCSetterBody()
1357 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1374 DeclRefExpr self(getContext(), selfDecl, false, selfDecl->getType(), in generateObjCSetterBody()
1385 DeclRefExpr arg(getContext(), argDecl, false, argType, VK_LValue, in generateObjCSetterBody()
1414 if (!getContext().hasSameUnqualifiedType(ivarRef.getType(), in generateObjCSetterBody()
1513 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
1534 QualType IdTy(CGM.getContext().getObjCIdType()); in GenerateObjCCtorDtorMethod()
1548 DeclRefExpr DRE(getContext(), Self, in LoadObjCSelf()
1558 getContext().getCanonicalType(selfDecl->getType())); in TypeOfSelfObject()
1595 &CGM.getContext().Idents.get("countByEnumeratingWithState"), in EmitObjCForCollectionStmt()
1596 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1597 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1600 CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]); in EmitObjCForCollectionStmt()
1603 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
1628 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1636 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1639 llvm::Type *NSUIntegerTy = ConvertType(getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1641 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1646 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
1714 ConvertType(getContext().getObjCIdType())); in EmitObjCForCollectionStmt()
1716 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1720 CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2), in EmitObjCForCollectionStmt()
1736 DeclRefExpr tempDRE(getContext(), const_cast<VarDecl *>(D), false, in EmitObjCForCollectionStmt()
1820 getContext().getNSUIntegerType(), in EmitObjCForCollectionStmt()
2094 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRetainBlock()
2190 llvm::MDNode::get(Builder.getContext(), None)); in EmitARCRelease()
2473 IdentifierInfo *II = &CGM.getContext().Idents.get("alloc"); in EmitObjCMRRAutoreleasePoolPush()
2474 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2478 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2483 II = &CGM.getContext().Idents.get("init"); in EmitObjCMRRAutoreleasePoolPush()
2484 Selector InitSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2487 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2513 IdentifierInfo *II = &CGM.getContext().Idents.get("drain"); in EmitObjCMRRAutoreleasePoolPop()
2514 Selector DrainSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPop()
2517 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop()
2589 llvm::MDNode::get(Builder.getContext(), None)); in EmitObjCRelease()
3420 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
3422 = &CGM.getContext().Idents.get("__assign_helper_atomic_property_"); in GenerateObjCAtomicSetterCopyHelperFunction()
3461 DeclRefExpr DstExpr(getContext(), &DstDecl, false, DestTy, VK_RValue, in GenerateObjCAtomicSetterCopyHelperFunction()
3466 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue, in GenerateObjCAtomicSetterCopyHelperFunction()
3504 ASTContext &C = getContext(); in GenerateObjCAtomicGetterCopyHelperFunction()
3506 &CGM.getContext().Idents.get("__copy_helper_atomic_property_"); in GenerateObjCAtomicGetterCopyHelperFunction()
3544 DeclRefExpr SrcExpr(getContext(), &SrcDecl, false, SrcTy, VK_RValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3570 DeclRefExpr DstExpr(getContext(), &DstDecl, false, DestTy, VK_RValue, in GenerateObjCAtomicGetterCopyHelperFunction()
3575 = getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
3593 IdentifierInfo *CopyID = &getContext().Idents.get("copy"); in EmitBlockCopyAndAutorelease()
3595 getContext().Selectors.getNullarySelector(CopyID); in EmitBlockCopyAndAutorelease()
3596 IdentifierInfo *AutoreleaseID = &getContext().Idents.get("autorelease"); in EmitBlockCopyAndAutorelease()
3598 getContext().Selectors.getNullarySelector(AutoreleaseID); in EmitBlockCopyAndAutorelease()