Lines Matching refs:CodeGenFunction
42 llvm::Value *CodeGenFunction::EmitCastToVoidPtr(llvm::Value *value) { in EmitCastToVoidPtr()
56 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, in CreateTempAlloca()
63 void CodeGenFunction::InitTempAlloca(llvm::AllocaInst *Var, in InitTempAlloca()
70 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty, in CreateIRTemp()
79 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty, in CreateMemTemp()
90 llvm::Value *CodeGenFunction::EvaluateExprAsBool(const Expr *E) { in EvaluateExprAsBool()
106 void CodeGenFunction::EmitIgnoredExpr(const Expr *E) { in EmitIgnoredExpr()
118 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, in EmitAnyExpr()
137 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
147 void CodeGenFunction::EmitAnyExprToMem(const Expr *E, in EmitAnyExprToMem()
179 pushTemporaryCleanup(CodeGenFunction &CGF, const MaterializeTemporaryExpr *M, in pushTemporaryCleanup()
214 CodeGenFunction::Destroyer *Destroy; in pushTemporaryCleanup()
221 Destroy = Precise ? &CodeGenFunction::destroyARCStrongPrecise in pushTemporaryCleanup()
222 : &CodeGenFunction::destroyARCStrongImprecise; in pushTemporaryCleanup()
227 Destroy = &CodeGenFunction::destroyARCWeak; in pushTemporaryCleanup()
265 CleanupFn = CodeGenFunction(CGF.CGM).generateDestroyHelper( in pushTemporaryCleanup()
267 CodeGenFunction::destroyCXXObject, CGF.getLangOpts().Exceptions, in pushTemporaryCleanup()
282 CodeGenFunction::destroyCXXObject, in pushTemporaryCleanup()
289 CodeGenFunction::destroyCXXObject, in pushTemporaryCleanup()
299 createReferenceTemporary(CodeGenFunction &CGF, in createReferenceTemporary()
333 LValue CodeGenFunction::
441 CodeGenFunction::EmitReferenceBindingToExpr(const Expr *E) { in EmitReferenceBindingToExpr()
463 unsigned CodeGenFunction::getAccessedFieldNo(unsigned Idx, in getAccessedFieldNo()
481 bool CodeGenFunction::sanitizePerformTypeCheck() const { in sanitizePerformTypeCheck()
488 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, in EmitTypeCheck()
675 CodeGenFunction &CGF, const Expr *Base, QualType &IndexedType) { in getArrayIndexingBound()
699 void CodeGenFunction::EmitBoundsCheck(const Expr *E, const Expr *Base, in EmitBoundsCheck()
727 CodeGenFunction::ComplexPairTy CodeGenFunction::
764 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
790 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
796 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue()
803 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue()
830 LValue CodeGenFunction::EmitLValue(const Expr *E) { in EmitLValue()
992 CodeGenFunction::ConstantEmission
993 CodeGenFunction::tryEmitAsConstant(DeclRefExpr *refExpr) { in tryEmitAsConstant()
1054 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue, in EmitLoadOfScalar()
1075 static bool getRangeForType(CodeGenFunction &CGF, QualType Ty, in getRangeForType()
1109 llvm::MDNode *CodeGenFunction::getRangeForLoadFromType(QualType Ty) { in getRangeForLoadFromType()
1119 llvm::Value *CodeGenFunction::EmitLoadOfScalar(llvm::Value *Addr, bool Volatile, in EmitLoadOfScalar()
1218 llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) { in EmitToMemory()
1232 llvm::Value *CodeGenFunction::EmitFromMemory(llvm::Value *Value, QualType Ty) { in EmitFromMemory()
1243 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *Value, llvm::Value *Addr, in EmitStoreOfScalar()
1304 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfScalar()
1315 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
1356 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV) { in EmitLoadOfBitfieldLValue()
1389 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
1420 llvm::Value *CodeGenFunction::EmitExtVectorElementLValue(LValue LV) { in EmitExtVectorElementLValue()
1442 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
1467 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
1558 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
1629 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
1704 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
1827 EmitBitCastOfLValueToProperType(CodeGenFunction &CGF, in EmitBitCastOfLValueToProperType()
1835 CodeGenFunction &CGF, const VarDecl *VD, QualType T, llvm::Value *V, in EmitThreadPrivateVarDeclLValue()
1842 static LValue EmitGlobalVarDeclLValue(CodeGenFunction &CGF, in EmitGlobalVarDeclLValue()
1873 static LValue EmitFunctionDeclLValue(CodeGenFunction &CGF, in EmitFunctionDeclLValue()
1892 static LValue EmitCapturedFieldLValue(CodeGenFunction &CGF, const FieldDecl *FD, in EmitCapturedFieldLValue()
1926 LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) { in EmitDeclRefLValue()
2037 LValue CodeGenFunction::EmitUnaryOpLValue(const UnaryOperator *E) { in EmitUnaryOpLValue()
2097 LValue CodeGenFunction::EmitStringLiteralLValue(const StringLiteral *E) { in EmitStringLiteralLValue()
2102 LValue CodeGenFunction::EmitObjCEncodeExprLValue(const ObjCEncodeExpr *E) { in EmitObjCEncodeExprLValue()
2107 LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) { in EmitPredefinedLValue()
2133 llvm::Constant *CodeGenFunction::EmitCheckTypeDescriptor(QualType T) { in EmitCheckTypeDescriptor()
2176 llvm::Value *CodeGenFunction::EmitCheckValue(llvm::Value *V) { in EmitCheckValue()
2211 llvm::Constant *CodeGenFunction::EmitCheckSourceLocation(SourceLocation Loc) { in EmitCheckSourceLocation()
2258 static void emitCheckHandlerCall(CodeGenFunction &CGF, in emitCheckHandlerCall()
2292 void CodeGenFunction::EmitCheck( in EmitCheck()
2395 void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked) { in EmitTrapCheck()
2432 LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E, in EmitArraySubscriptExpr()
2573 LValue CodeGenFunction::
2627 LValue CodeGenFunction::EmitMemberExpr(const MemberExpr *E) { in EmitMemberExpr()
2658 LValue CodeGenFunction::EmitLValueForLambdaField(const FieldDecl *Field) { in EmitLValueForLambdaField()
2667 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
2781 CodeGenFunction::EmitLValueForFieldInitialization(LValue Base, in EmitLValueForFieldInitialization()
2811 LValue CodeGenFunction::EmitCompoundLiteralLValue(const CompoundLiteralExpr *E){ in EmitCompoundLiteralLValue()
2830 LValue CodeGenFunction::EmitInitListLValue(const InitListExpr *E) { in EmitInitListLValue()
2843 static Optional<LValue> EmitLValueOrThrowExpression(CodeGenFunction &CGF, in EmitLValueOrThrowExpression()
2853 LValue CodeGenFunction::
2933 LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) { in EmitCastLValue()
3068 LValue CodeGenFunction::EmitOpaqueValueLValue(const OpaqueValueExpr *e) { in EmitOpaqueValueLValue()
3073 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
3093 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
3174 LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) { in EmitBinaryOperatorLValue()
3222 LValue CodeGenFunction::EmitCallExprLValue(const CallExpr *E) { in EmitCallExprLValue()
3235 LValue CodeGenFunction::EmitVAArgExprLValue(const VAArgExpr *E) { in EmitVAArgExprLValue()
3240 LValue CodeGenFunction::EmitCXXConstructLValue(const CXXConstructExpr *E) { in EmitCXXConstructLValue()
3249 CodeGenFunction::EmitCXXTypeidLValue(const CXXTypeidExpr *E) { in EmitCXXTypeidLValue()
3253 llvm::Value *CodeGenFunction::EmitCXXUuidofExpr(const CXXUuidofExpr *E) { in EmitCXXUuidofExpr()
3258 LValue CodeGenFunction::EmitCXXUuidofLValue(const CXXUuidofExpr *E) { in EmitCXXUuidofLValue()
3263 CodeGenFunction::EmitCXXBindTemporaryLValue(const CXXBindTemporaryExpr *E) { in EmitCXXBindTemporaryLValue()
3272 CodeGenFunction::EmitLambdaLValue(const LambdaExpr *E) { in EmitLambdaLValue()
3278 LValue CodeGenFunction::EmitObjCMessageExprLValue(const ObjCMessageExpr *E) { in EmitObjCMessageExprLValue()
3291 LValue CodeGenFunction::EmitObjCSelectorLValue(const ObjCSelectorExpr *E) { in EmitObjCSelectorLValue()
3297 llvm::Value *CodeGenFunction::EmitIvarOffset(const ObjCInterfaceDecl *Interface, in EmitIvarOffset()
3302 LValue CodeGenFunction::EmitLValueForIvar(QualType ObjectTy, in EmitLValueForIvar()
3310 LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) { in EmitObjCIvarRefLValue()
3335 LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) { in EmitStmtExprLValue()
3341 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall()
3436 LValue CodeGenFunction::
3457 RValue CodeGenFunction::convertTempToRValue(llvm::Value *addr, in convertTempToRValue()
3472 void CodeGenFunction::SetFPAccuracy(llvm::Value *Val, float Accuracy) { in SetFPAccuracy()
3490 static LValueOrRValue emitPseudoObjectExpr(CodeGenFunction &CGF, in emitPseudoObjectExpr()
3494 SmallVector<CodeGenFunction::OpaqueValueMappingData, 4> opaques; in emitPseudoObjectExpr()
3510 typedef CodeGenFunction::OpaqueValueMappingData OVMA; in emitPseudoObjectExpr()
3513 CodeGenFunction::hasAggregateEvaluationKind(ov->getType())) { in emitPseudoObjectExpr()
3556 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()
3561 LValue CodeGenFunction::EmitPseudoObjectLValue(const PseudoObjectExpr *E) { in EmitPseudoObjectLValue()