Home | History | Annotate | Download | only in CodeGen

Lines Matching full:codegenfunction

16 #include "CodeGenFunction.h"
31 tryEmitARCRetainScalarExpr(CodeGenFunction &CGF, const Expr *e);
32 static RValue AdjustRelatedResultType(CodeGenFunction &CGF,
46 llvm::Value *CodeGenFunction::EmitObjCStringLiteral(const ObjCStringLiteral *E)
59 CodeGenFunction::EmitObjCBoxedExpr(const ObjCBoxedExpr *E) {
88 llvm::Value *CodeGenFunction::EmitObjCCollectionLiteral(const Expr *E,
179 llvm::Value *CodeGenFunction::EmitObjCArrayLiteral(const ObjCArrayLiteral *E) {
183 llvm::Value *CodeGenFunction::EmitObjCDictionaryLiteral(
189 llvm::Value *CodeGenFunction::EmitObjCSelectorExpr(const ObjCSelectorExpr *E) {
197 llvm::Value *CodeGenFunction::EmitObjCProtocolExpr(const ObjCProtocolExpr *E) {
204 static RValue AdjustRelatedResultType(CodeGenFunction &CGF,
268 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E,
409 void Emit(CodeGenFunction
437 /// CodeGenFunction.
438 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD,
473 static llvm::Value *emitARCRetainLoadOfScalar(CodeGenFunction &CGF,
478 void CodeGenFunction::GenerateObjCMethod(const ObjCMethodDecl *OMD) {
486 static void emitStructGetterCall(CodeGenFunction &CGF, ObjCIvarDecl *ivar,
704 void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP,
743 static void emitCPPObjectAtomicGetterCall(CodeGenFunction &CGF,
773 CodeGenFunction::generateObjCGetterBody(const ObjCImplementationDecl *classImpl,
921 static void emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD,
964 static void emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF,
1037 CodeGenFunction::generateObjCSetterBody(const ObjCImplementationDecl *classImpl,
1212 void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP,
1231 CodeGenFunction::Destroyer *destroyer;
1235 CodeGenFunction::Destroyer *destroyer,
1240 void Emit(CodeGenFunction &CGF, Flags flags) {
1249 /// Like CodeGenFunction::destroyARCStrong, but do it with a call.
1250 static void destroyARCStrongWithStore(CodeGenFunction &CGF,
1257 static void emitCXXDestructMethod(CodeGenFunction &CGF,
1259 CodeGenFunction::RunCleanupsScope scope(CGF);
1272 CodeGenFunction::Destroyer *destroyer = 0;
1293 void CodeGenFunction::GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP,
1331 bool CodeGenFunction::IndirectObjCSetterArg(const CGFunctionInfo &FI) {
1339 bool CodeGenFunction::IvarTypeWithAggrGCObjects(QualType Ty) {
1347 llvm::Value *CodeGenFunction::LoadObjCSelf() {
1352 QualType CodeGenFunction::TypeOfSelfObject() {
1360 void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){
1636 void CodeGenFunction::EmitObjCAtTryStmt(const ObjCAtTryStmt &S) {
1640 void CodeGenFunction::EmitObjCAtThrowStmt(const ObjCAtThrowStmt &S) {
1644 void CodeGenFunction::EmitObjCAtSynchronizedStmt(
1651 llvm::Value *CodeGenFunction::EmitObjCProduceObject(QualType type,
1661 void Emit(CodeGenFunction &CGF, Flags flags) {
1669 llvm::Value *CodeGenFunction::EmitObjCConsumeObject(QualType type,
1677 llvm::Value *CodeGenFunction::EmitObjCExtendObjectLifetime(QualType type,
1700 static llvm::Value *emitARCValueOperation(CodeGenFunction &CGF,
1727 static llvm::Value *emitARCLoadOperation(CodeGenFunction &CGF,
1757 static llvm::Value *emitARCStoreOperation(CodeGenFunction &CGF,
1789 static void emitARCCopyOperation(CodeGenFunction &CGF,
1813 llvm::Value *CodeGenFunction::EmitARCRetain(QualType type, llvm::Value *value) {
1822 llvm::Value *CodeGenFunction::EmitARCRetainNonBlock(llvm::Value *value) {
1834 llvm::Value *CodeGenFunction::EmitARCRetainBlock(llvm::Value *value,
1864 CodeGenFunction::EmitARCRetainAutoreleasedReturnValue(llvm::Value *value) {
1910 void CodeGenFunction::EmitARCRelease(llvm::Value *value, bool precise) {
1937 llvm::Value *CodeGenFunction::EmitARCStoreStrongCall(llvm::Value *addr,
1963 llvm::Value *CodeGenFunction::EmitARCStoreStrong(LValue dst,
1998 llvm::Value *CodeGenFunction::EmitARCAutorelease(llvm::Value *value) {
2007 CodeGenFunction::EmitARCAutoreleaseReturnValue(llvm::Value *value) {
2016 CodeGenFunction::EmitARCRetainAutoreleaseReturnValue(llvm::Value *value) {
2027 llvm::Value *CodeGenFunction::EmitARCRetainAutorelease(QualType type,
2044 CodeGenFunction::EmitARCRetainAutoreleaseNonBlock(llvm::Value *value) {
2052 llvm::Value *CodeGenFunction::EmitARCLoadWeak(llvm::Value *addr) {
2059 llvm::Value *CodeGenFunction::EmitARCLoadWeakRetained(llvm::Value *addr) {
2067 llvm::Value *CodeGenFunction::EmitARCStoreWeak(llvm::Value *addr,
2079 void CodeGenFunction::EmitARCInitWeak(llvm::Value *addr, llvm::Value *value) {
2097 void CodeGenFunction::EmitARCDestroyWeak(llvm::Value *addr) {
2116 void CodeGenFunction::EmitARCMoveWeak(llvm::Value *dst, llvm::Value *src) {
2125 void CodeGenFunction::EmitARCCopyWeak(llvm::Value *dst, llvm::Value *src) {
2133 llvm::Value *CodeGenFunction::EmitObjCAutoreleasePoolPush() {
2149 void CodeGenFunction::EmitObjCAutoreleasePoolPop(llvm::Value *value) {
2172 llvm::Value *CodeGenFunction::EmitObjCMRRAutoreleasePoolPush() {
2197 void CodeGenFunction::EmitObjCMRRAutoreleasePoolPop(llvm::Value *Arg) {
2205 void CodeGenFunction::destroyARCStrongPrecise(CodeGenFunction &CGF,
2212 void CodeGenFunction::destroyARCStrongImprecise(CodeGenFunction &CGF,
2219 void CodeGenFunction::destroyARCWeak(CodeGenFunction &CGF,
2231 void Emit(CodeGenFunction &CGF, Flags flags) {
2240 void Emit(CodeGenFunction &CGF, Flags flags) {
2246 void CodeGenFunction::EmitObjCAutoreleasePoolCleanup(llvm::Value *Ptr) {
2253 static TryEmitResult tryEmitARCRetainLoadOfScalar(CodeGenFunction &CGF,
2272 static TryEmitResult tryEmitARCRetainLoadOfScalar(CodeGenFunction &CGF,
2308 static llvm::Value *emitARCRetainAfterCall(CodeGenFunction &CGF,
2313 static llvm::Value *emitARCRetainCall(CodeGenFunction &CGF, const Expr *e) {
2318 static llvm::Value *emitARCRetainAfterCall(CodeGenFunction &CGF,
2396 static TryEmitResult tryEmitARCRetainPseudoObject(CodeGenFunction &CGF,
2398 llvm::SmallVector<CodeGenFunction::OpaqueValueMappingData, 4> opaques;
2412 typedef CodeGenFunction::OpaqueValueMappingData OVMA;
2447 tryEmitARCRetainScalarExpr(CodeGenFunction &CGF, const Expr *e) {
2451 CodeGenFunction::RunCleanupsScope scope(CGF);
2590 static llvm::Value *emitARCRetainLoadOfScalar(CodeGenFunction &CGF,
2604 llvm::Value *CodeGenFunction::EmitARCRetainScalarExpr(const Expr *e) {
2613 CodeGenFunction::EmitARCRetainAutoreleaseScalarExpr(const Expr *e) {
2623 llvm::Value *CodeGenFunction::EmitARCExtendBlockObject(const Expr *e) {
2641 llvm::Value *CodeGenFunction::EmitObjCThrowOperand(const Expr *expr) {
2655 CodeGenFunction::RunCleanupsScope cleanups(*this);
2668 CodeGenFunction::EmitARCStoreStrong(const BinaryOperator *e,
2700 CodeGenFunction::EmitARCStoreAutoreleasing(const BinaryOperator *e) {
2709 void CodeGenFunction::EmitObjCAutoreleasePoolStmt(
2738 void CodeGenFunction::EmitExtendGCLifetime(llvm::Value *object) {
2757 CodeGenFunction::GenerateObjCAtomicSetterCopyHelperFunction(
2841 CodeGenFunction::GenerateObjCAtomicGetterCopyHelperFunction(
2949 CodeGenFunction::EmitBlockCopyAndAutorelease(llvm::Value *Block, QualType Ty) {