Lines Matching refs:getContext
91 ASTContext &Context = CGM.getContext(); in EmitObjCCollectionLiteral()
240 CGF.getContext().hasSameType(ExpT, Method->getResultType()) || in AdjustRelatedResultType()
451 CGF.getContext().VoidTy, in Emit()
516 ASTContext &Context = CGF.getContext(); in emitStructGetterCall()
532 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
625 = CGM.getContext().getTypeInfoInChars(ivarType); in PropertyImplStrategy()
688 CGM.getContext().getObjCGCAttrKind(ivarType))) { in PropertyImplStrategy()
790 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
797 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
800 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
804 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicGetterCall()
851 getContext().toBits(strategy.getIvarSize())); in generateObjCGetterBody()
889 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
890 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
891 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
893 getContext().BoolTy); in generateObjCGetterBody()
985 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
993 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
997 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
998 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1001 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1005 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1008 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitStructSetterCall()
1031 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1039 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1042 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1046 CGF.EmitCall(CGF.getTypes().arrangeFreeFunctionCall(CGF.getContext().VoidTy, in emitCPPObjectAtomicSetterCall()
1124 getContext().toBits(strategy.getIvarSize())); in generateObjCSetterBody()
1177 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1178 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1180 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1181 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1182 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
1187 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1188 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1190 getContext().BoolTy); in generateObjCSetterBody()
1192 getContext().BoolTy); in generateObjCSetterBody()
1195 EmitCall(getTypes().arrangeFreeFunctionCall(getContext().VoidTy, args, in generateObjCSetterBody()
1253 if (!getContext().hasSameUnqualifiedType(ivarRef.getType(), in generateObjCSetterBody()
1352 MD->createImplicitParams(CGM.getContext(), IMP->getClassInterface()); in GenerateObjCCtorDtorMethod()
1375 QualType IdTy(CGM.getContext().getObjCIdType()); in GenerateObjCCtorDtorMethod()
1414 getContext().getCanonicalType(selfDecl->getType())); in TypeOfSelfObject()
1448 &CGM.getContext().Idents.get("countByEnumeratingWithState"), in EmitObjCForCollectionStmt()
1449 &CGM.getContext().Idents.get("objects"), in EmitObjCForCollectionStmt()
1450 &CGM.getContext().Idents.get("count") in EmitObjCForCollectionStmt()
1453 CGM.getContext().Selectors.getSelector(llvm::array_lengthof(II), &II[0]); in EmitObjCForCollectionStmt()
1456 getContext().getConstantArrayType(getContext().getObjCIdType(), in EmitObjCForCollectionStmt()
1480 Args.add(RValue::get(StatePtr), getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1487 Args.add(RValue::get(ItemsPtr), getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1490 llvm::Type *UnsignedLongLTy = ConvertType(getContext().UnsignedLongTy); in EmitObjCForCollectionStmt()
1492 Args.add(RValue::get(Count), getContext().UnsignedLongTy); in EmitObjCForCollectionStmt()
1497 getContext().UnsignedLongTy, in EmitObjCForCollectionStmt()
1558 ConvertType(getContext().getObjCIdType())); in EmitObjCForCollectionStmt()
1560 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1563 EmitCall(CGM.getTypes().arrangeFreeFunctionCall(getContext().VoidTy, Args2, in EmitObjCForCollectionStmt()
1659 getContext().UnsignedLongTy, in EmitObjCForCollectionStmt()
1932 llvm::MDNode::get(Builder.getContext(), args)); in EmitARCRetainBlock()
2010 llvm::MDNode::get(Builder.getContext(), args)); in EmitARCRelease()
2275 IdentifierInfo *II = &CGM.getContext().Idents.get("alloc"); in EmitObjCMRRAutoreleasePoolPush()
2276 Selector AllocSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2280 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2285 II = &CGM.getContext().Idents.get("init"); in EmitObjCMRRAutoreleasePoolPush()
2286 Selector InitSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPush()
2289 getContext().getObjCIdType(), in EmitObjCMRRAutoreleasePoolPush()
2297 IdentifierInfo *II = &CGM.getContext().Idents.get("drain"); in EmitObjCMRRAutoreleasePoolPop()
2298 Selector DrainSel = getContext().Selectors.getSelector(0, &II); in EmitObjCMRRAutoreleasePoolPop()
2301 getContext().VoidTy, DrainSel, Arg, Args); in EmitObjCMRRAutoreleasePoolPop()
2874 ASTContext &C = getContext(); in GenerateObjCAtomicSetterCopyHelperFunction()
2876 = &CGM.getContext().Idents.get("__assign_helper_atomic_property_"); in GenerateObjCAtomicSetterCopyHelperFunction()
2958 ASTContext &C = getContext(); in GenerateObjCAtomicGetterCopyHelperFunction()
2960 = &CGM.getContext().Idents.get("__copy_helper_atomic_property_"); in GenerateObjCAtomicGetterCopyHelperFunction()
3030 = getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
3046 IdentifierInfo *CopyID = &getContext().Idents.get("copy"); in EmitBlockCopyAndAutorelease()
3048 getContext().Selectors.getNullarySelector(CopyID); in EmitBlockCopyAndAutorelease()
3049 IdentifierInfo *AutoreleaseID = &getContext().Idents.get("autorelease"); in EmitBlockCopyAndAutorelease()
3051 getContext().Selectors.getNullarySelector(AutoreleaseID); in EmitBlockCopyAndAutorelease()