Lines Matching refs:CodeGenFunction
50 llvm::Value *CodeGenFunction::EmitCastToVoidPtr(llvm::Value *value) { in EmitCastToVoidPtr()
64 Address CodeGenFunction::CreateTempAllocaWithoutCast(llvm::Type *Ty, in CreateTempAllocaWithoutCast()
75 Address CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, CharUnits Align, in CreateTempAlloca()
106 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty, in CreateTempAlloca()
119 Address CodeGenFunction::CreateDefaultAlignTempAlloca(llvm::Type *Ty, in CreateDefaultAlignTempAlloca()
126 void CodeGenFunction::InitTempAlloca(Address Var, llvm::Value *Init) { in InitTempAlloca()
134 Address CodeGenFunction::CreateIRTemp(QualType Ty, const Twine &Name) { in CreateIRTemp()
139 Address CodeGenFunction::CreateMemTemp(QualType Ty, const Twine &Name, in CreateMemTemp()
145 Address CodeGenFunction::CreateMemTemp(QualType Ty, CharUnits Align, in CreateMemTemp()
151 Address CodeGenFunction::CreateMemTempWithoutCast(QualType Ty, CharUnits Align, in CreateMemTempWithoutCast()
156 Address CodeGenFunction::CreateMemTempWithoutCast(QualType Ty, in CreateMemTempWithoutCast()
164 llvm::Value *CodeGenFunction::EvaluateExprAsBool(const Expr *E) { in EvaluateExprAsBool()
182 void CodeGenFunction::EmitIgnoredExpr(const Expr *E) { in EmitIgnoredExpr()
194 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, in EmitAnyExpr()
213 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { in EmitAnyExprToTemp()
223 void CodeGenFunction::EmitAnyExprToMem(const Expr *E, in EmitAnyExprToMem()
254 pushTemporaryCleanup(CodeGenFunction &CGF, const MaterializeTemporaryExpr *M, in pushTemporaryCleanup()
286 CodeGenFunction::Destroyer *Destroy; in pushTemporaryCleanup()
293 Destroy = Precise ? &CodeGenFunction::destroyARCStrongPrecise in pushTemporaryCleanup()
294 : &CodeGenFunction::destroyARCStrongImprecise; in pushTemporaryCleanup()
299 Destroy = &CodeGenFunction::destroyARCWeak; in pushTemporaryCleanup()
337 CleanupFn = CodeGenFunction(CGF.CGM).generateDestroyHelper( in pushTemporaryCleanup()
339 CodeGenFunction::destroyCXXObject, CGF.getLangOpts().Exceptions, in pushTemporaryCleanup()
354 CodeGenFunction::destroyCXXObject, in pushTemporaryCleanup()
361 CodeGenFunction::destroyCXXObject, in pushTemporaryCleanup()
370 static Address createReferenceTemporary(CodeGenFunction &CGF, in createReferenceTemporary()
418 LValue CodeGenFunction::
593 CodeGenFunction::EmitReferenceBindingToExpr(const Expr *E) { in EmitReferenceBindingToExpr()
615 unsigned CodeGenFunction::getAccessedFieldNo(unsigned Idx, in getAccessedFieldNo()
633 bool CodeGenFunction::isNullPointerAllowed(TypeCheckKind TCK) { in isNullPointerAllowed()
638 bool CodeGenFunction::isVptrCheckRequired(TypeCheckKind TCK, QualType Ty) { in isVptrCheckRequired()
646 bool CodeGenFunction::sanitizePerformTypeCheck() const { in sanitizePerformTypeCheck()
653 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, in EmitTypeCheck()
879 llvm::Value *CodeGenFunction::LoadPassedObjectSize(const Expr *E, in LoadPassedObjectSize()
921 CodeGenFunction &CGF, const Expr *Base, QualType &IndexedType) { in getArrayIndexingBound()
952 void CodeGenFunction::EmitBoundsCheck(const Expr *E, const Expr *Base, in EmitBoundsCheck()
980 CodeGenFunction::ComplexPairTy CodeGenFunction::
1014 CodeGenFunction *CGF) { in EmitExplicitCastExprType()
1029 Address CodeGenFunction::EmitPointerWithAlignment(const Expr *E, in EmitPointerWithAlignment()
1082 CodeGenFunction::CFITCK_UnrelatedCast, in EmitPointerWithAlignment()
1137 RValue CodeGenFunction::GetUndefRValue(QualType Ty) { in GetUndefRValue()
1163 RValue CodeGenFunction::EmitUnsupportedRValue(const Expr *E, in EmitUnsupportedRValue()
1169 LValue CodeGenFunction::EmitUnsupportedLValue(const Expr *E, in EmitUnsupportedLValue()
1177 bool CodeGenFunction::IsWrappedCXXThis(const Expr *Obj) { in IsWrappedCXXThis()
1200 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue()
1236 LValue CodeGenFunction::EmitLValue(const Expr *E) { in EmitLValue()
1418 CodeGenFunction::ConstantEmission
1419 CodeGenFunction::tryEmitAsConstant(DeclRefExpr *refExpr) { in tryEmitAsConstant()
1481 static DeclRefExpr *tryToConvertMemberExprToDeclRefExpr(CodeGenFunction &CGF, in tryToConvertMemberExprToDeclRefExpr()
1493 CodeGenFunction::ConstantEmission
1494 CodeGenFunction::tryEmitAsConstant(const MemberExpr *ME) { in tryEmitAsConstant()
1500 llvm::Value *CodeGenFunction::emitScalarConstant( in emitScalarConstant()
1501 const CodeGenFunction::ConstantEmission &Constant, Expr *E) { in emitScalarConstant()
1510 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue, in EmitLoadOfScalar()
1530 static bool getRangeForType(CodeGenFunction &CGF, QualType Ty, in getRangeForType()
1563 llvm::MDNode *CodeGenFunction::getRangeForLoadFromType(QualType Ty) { in getRangeForLoadFromType()
1573 bool CodeGenFunction::EmitScalarRangeCheck(llvm::Value *Value, QualType Ty, in EmitScalarRangeCheck()
1620 llvm::Value *CodeGenFunction::EmitLoadOfScalar(Address Addr, bool Volatile, in EmitLoadOfScalar()
1677 llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) { in EmitToMemory()
1691 llvm::Value *CodeGenFunction::EmitFromMemory(llvm::Value *Value, QualType Ty) { in EmitFromMemory()
1702 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *Value, Address Addr, in EmitStoreOfScalar()
1750 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfScalar()
1760 RValue CodeGenFunction::EmitLoadOfLValue(LValue LV, SourceLocation Loc) { in EmitLoadOfLValue()
1806 RValue CodeGenFunction::EmitLoadOfBitfieldLValue(LValue LV, in EmitLoadOfBitfieldLValue()
1838 RValue CodeGenFunction::EmitLoadOfExtVectorElementLValue(LValue LV) { in EmitLoadOfExtVectorElementLValue()
1867 Address CodeGenFunction::EmitExtVectorElementLValue(LValue LV) { in EmitExtVectorElementLValue()
1889 RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) { in EmitLoadOfGlobalRegLValue()
1914 void CodeGenFunction::EmitStoreThroughLValue(RValue Src, LValue Dst, in EmitStoreThroughLValue()
2011 void CodeGenFunction::EmitStoreThroughBitfieldLValue(RValue Src, LValue Dst, in EmitStoreThroughBitfieldLValue()
2078 void CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(RValue Src, in EmitStoreThroughExtVectorComponentLValue()
2149 void CodeGenFunction::EmitStoreThroughGlobalRegLValue(RValue Src, LValue Dst) { in EmitStoreThroughGlobalRegLValue()
2272 EmitBitCastOfLValueToProperType(CodeGenFunction &CGF, in EmitBitCastOfLValueToProperType()
2280 CodeGenFunction &CGF, const VarDecl *VD, QualType T, Address Addr, in EmitThreadPrivateVarDeclLValue()
2287 static Address emitDeclTargetLinkVarDeclLValue(CodeGenFunction &CGF, in emitDeclTargetLinkVarDeclLValue()
2300 CodeGenFunction::EmitLoadOfReference(LValue RefLVal, in EmitLoadOfReference()
2313 LValue CodeGenFunction::EmitLoadOfReferenceLValue(LValue RefLVal) { in EmitLoadOfReferenceLValue()
2322 Address CodeGenFunction::EmitLoadOfPointer(Address Ptr, in EmitLoadOfPointer()
2332 LValue CodeGenFunction::EmitLoadOfPointerLValue(Address PtrAddr, in EmitLoadOfPointerLValue()
2340 static LValue EmitGlobalVarDeclLValue(CodeGenFunction &CGF, in EmitGlobalVarDeclLValue()
2400 static LValue EmitFunctionDeclLValue(CodeGenFunction &CGF, in EmitFunctionDeclLValue()
2408 static LValue EmitCapturedFieldLValue(CodeGenFunction &CGF, const FieldDecl *FD, in EmitCapturedFieldLValue()
2443 LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) { in EmitDeclRefLValue()
2597 LValue CodeGenFunction::EmitUnaryOpLValue(const UnaryOperator *E) { in EmitUnaryOpLValue()
2664 LValue CodeGenFunction::EmitStringLiteralLValue(const StringLiteral *E) { in EmitStringLiteralLValue()
2669 LValue CodeGenFunction::EmitObjCEncodeExprLValue(const ObjCEncodeExpr *E) { in EmitObjCEncodeExprLValue()
2674 LValue CodeGenFunction::EmitPredefinedLValue(const PredefinedExpr *E) { in EmitPredefinedLValue()
2710 llvm::Constant *CodeGenFunction::EmitCheckTypeDescriptor(QualType T) { in EmitCheckTypeDescriptor()
2753 llvm::Value *CodeGenFunction::EmitCheckValue(llvm::Value *V) { in EmitCheckValue()
2791 llvm::Constant *CodeGenFunction::EmitCheckSourceLocation(SourceLocation Loc) { in EmitCheckSourceLocation()
2879 static void emitCheckHandlerCall(CodeGenFunction &CGF, in emitCheckHandlerCall()
2927 void CodeGenFunction::EmitCheck( in EmitCheck()
3037 void CodeGenFunction::EmitCfiSlowPathCheck( in EmitCfiSlowPathCheck()
3084 void CodeGenFunction::EmitCfiCheckStub() { in EmitCfiCheckStub()
3108 void CodeGenFunction::EmitCfiCheckFail() { in EmitCfiCheckFail()
3192 void CodeGenFunction::EmitUnreachable(SourceLocation Loc) { in EmitUnreachable()
3203 void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked) { in EmitTrapCheck()
3223 llvm::CallInst *CodeGenFunction::EmitTrapCall(llvm::Intrinsic::ID IntrID) { in EmitTrapCall()
3235 Address CodeGenFunction::EmitArrayToPointerDecay(const Expr *E, in EmitArrayToPointerDecay()
3286 static llvm::Value *emitArraySubscriptGEP(CodeGenFunction &CGF, in emitArraySubscriptGEP()
3295 CodeGenFunction::NotSubtraction, loc, in emitArraySubscriptGEP()
3326 static Address emitArraySubscriptGEP(CodeGenFunction &CGF, Address addr, in emitArraySubscriptGEP()
3354 LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E, in EmitArraySubscriptExpr()
3510 static Address emitOMPArraySectionBase(CodeGenFunction &CGF, const Expr *Base, in emitOMPArraySectionBase()
3550 LValue CodeGenFunction::EmitOMPArraySectionExpr(const OMPArraySectionExpr *E, in EmitOMPArraySectionExpr()
3703 LValue CodeGenFunction::
3761 LValue CodeGenFunction::EmitMemberExpr(const MemberExpr *E) { in EmitMemberExpr()
3802 LValue CodeGenFunction::EmitLValueForLambdaField(const FieldDecl *Field) { in EmitLValueForLambdaField()
3815 static Address emitAddrOfFieldStorage(CodeGenFunction &CGF, Address base, in emitAddrOfFieldStorage()
3857 LValue CodeGenFunction::EmitLValueForField(LValue base, in EmitLValueForField()
3985 CodeGenFunction::EmitLValueForFieldInitialization(LValue Base, in EmitLValueForFieldInitialization()
4008 LValue CodeGenFunction::EmitCompoundLiteralLValue(const CompoundLiteralExpr *E){ in EmitCompoundLiteralLValue()
4027 LValue CodeGenFunction::EmitInitListLValue(const InitListExpr *E) { in EmitInitListLValue()
4040 static Optional<LValue> EmitLValueOrThrowExpression(CodeGenFunction &CGF, in EmitLValueOrThrowExpression()
4050 LValue CodeGenFunction::
4136 LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) { in EmitCastLValue()
4294 LValue CodeGenFunction::EmitOpaqueValueLValue(const OpaqueValueExpr *e) { in EmitOpaqueValueLValue()
4300 CodeGenFunction::getOrCreateOpaqueLValueMapping(const OpaqueValueExpr *e) { in getOrCreateOpaqueLValueMapping()
4314 CodeGenFunction::getOrCreateOpaqueRValueMapping(const OpaqueValueExpr *e) { in getOrCreateOpaqueRValueMapping()
4327 RValue CodeGenFunction::EmitRValueForField(LValue LV, in EmitRValueForField()
4351 RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, in EmitCallExpr()
4383 RValue CodeGenFunction::EmitSimpleCallExpr(const CallExpr *E, in EmitSimpleCallExpr()
4389 static CGCallee EmitDirectCallee(CodeGenFunction &CGF, const FunctionDecl *FD) { in EmitDirectCallee()
4398 CGCallee CodeGenFunction::EmitCallee(const Expr *E) { in EmitCallee()
4450 LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) { in EmitBinaryOperatorLValue()
4500 LValue CodeGenFunction::EmitCallExprLValue(const CallExpr *E) { in EmitCallExprLValue()
4514 LValue CodeGenFunction::EmitVAArgExprLValue(const VAArgExpr *E) { in EmitVAArgExprLValue()
4519 LValue CodeGenFunction::EmitCXXConstructLValue(const CXXConstructExpr *E) { in EmitCXXConstructLValue()
4528 CodeGenFunction::EmitCXXTypeidLValue(const CXXTypeidExpr *E) { in EmitCXXTypeidLValue()
4532 Address CodeGenFunction::EmitCXXUuidofExpr(const CXXUuidofExpr *E) { in EmitCXXUuidofExpr()
4537 LValue CodeGenFunction::EmitCXXUuidofLValue(const CXXUuidofExpr *E) { in EmitCXXUuidofLValue()
4543 CodeGenFunction::EmitCXXBindTemporaryLValue(const CXXBindTemporaryExpr *E) { in EmitCXXBindTemporaryLValue()
4552 CodeGenFunction::EmitLambdaLValue(const LambdaExpr *E) { in EmitLambdaLValue()
4558 LValue CodeGenFunction::EmitObjCMessageExprLValue(const ObjCMessageExpr *E) { in EmitObjCMessageExprLValue()
4572 LValue CodeGenFunction::EmitObjCSelectorLValue(const ObjCSelectorExpr *E) { in EmitObjCSelectorLValue()
4578 llvm::Value *CodeGenFunction::EmitIvarOffset(const ObjCInterfaceDecl *Interface, in EmitIvarOffset()
4583 LValue CodeGenFunction::EmitLValueForIvar(QualType ObjectTy, in EmitLValueForIvar()
4591 LValue CodeGenFunction::EmitObjCIvarRefLValue(const ObjCIvarRefExpr *E) { in EmitObjCIvarRefLValue()
4615 LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) { in EmitStmtExprLValue()
4622 RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee, in EmitCall()
4805 LValue CodeGenFunction::
4830 RValue CodeGenFunction::convertTempToRValue(Address addr, in convertTempToRValue()
4845 void CodeGenFunction::SetFPAccuracy(llvm::Value *Val, float Accuracy) { in SetFPAccuracy()
4863 static LValueOrRValue emitPseudoObjectExpr(CodeGenFunction &CGF, in emitPseudoObjectExpr()
4867 SmallVector<CodeGenFunction::OpaqueValueMappingData, 4> opaques; in emitPseudoObjectExpr()
4889 typedef CodeGenFunction::OpaqueValueMappingData OVMA; in emitPseudoObjectExpr()
4892 CodeGenFunction::hasAggregateEvaluationKind(ov->getType())) { in emitPseudoObjectExpr()
4935 RValue CodeGenFunction::EmitPseudoObjectRValue(const PseudoObjectExpr *E, in EmitPseudoObjectRValue()
4940 LValue CodeGenFunction::EmitPseudoObjectLValue(const PseudoObjectExpr *E) { in EmitPseudoObjectLValue()