Home
last modified time | relevance | path

Searched refs:AggValueSlot (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGExprAgg.cpp36 AggValueSlot Dest;
56 AggValueSlot EnsureSlot(QualType T) { in EnsureSlot()
66 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, bool IsResultUnused) in AggExprEmitter()
82 void EmitCopy(QualType type, const AggValueSlot &dest,
83 const AggValueSlot &src);
90 AggValueSlot::NeedsGCBarriers_t needsGC(QualType T) { in needsGC()
92 return AggValueSlot::NeedsGCBarriers; in needsGC()
93 return AggValueSlot::DoesNotNeedGCBarriers; in needsGC()
284 AggValueSlot srcAgg = in EmitFinalDestCopy()
285 AggValueSlot::forLValue(src, AggValueSlot::IsDestructed, in EmitFinalDestCopy()
[all …]
DCGValue.h31 class AggValueSlot; variable
441 class AggValueSlot {
487 static AggValueSlot ignored() { in ignored()
502 static AggValueSlot forAddr(Address addr,
508 AggValueSlot AV;
524 static AggValueSlot forLValue(const LValue &LV,
DCGAtomic.cpp186 RValue convertAtomicTempToRValue(Address addr, AggValueSlot resultSlot,
193 AggValueSlot ResultSlot,
212 RValue EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc,
1163 AggValueSlot resultSlot, in convertAtomicTempToRValue()
1196 AggValueSlot ResultSlot, in ConvertIntToValueOrAtomic()
1285 AggValueSlot Slot) { in EmitAtomicLoad()
1297 RValue AtomicInfo::EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc, in EmitAtomicLoad()
1332 AggValueSlot resultSlot) { in EmitAtomicLoad()
1474 convertAtomicTempToRValue(ExpectedAddr, AggValueSlot::ignored(), in EmitAtomicCompareExchange()
1486 ConvertIntToValueOrAtomic(Res.first, AggValueSlot::ignored(), in EmitAtomicCompareExchange()
[all …]
DCodeGenFunction.h1729 AggValueSlot CreateAggTemp(QualType T, const Twine &Name = "tmp") {
1730 return AggValueSlot::forAddr(CreateMemTemp(T, Name),
1732 AggValueSlot::IsNotDestructed,
1733 AggValueSlot::DoesNotNeedGCBarriers,
1734 AggValueSlot::IsNotAliased);
1754 AggValueSlot aggSlot = AggValueSlot::ignored(),
2256 AggValueSlot AVS = AggValueSlot::ignored());
2259 AggValueSlot AVS =
2260 AggValueSlot::ignored());
2617 AggValueSlot Slot = AggValueSlot::ignored());
[all …]
DCGDeclCXX.cpp53 CGF.EmitAggExpr(Init, AggValueSlot::forLValue(lv,AggValueSlot::IsDestructed, in EmitDeclInit()
54 AggValueSlot::DoesNotNeedGCBarriers, in EmitDeclInit()
55 AggValueSlot::IsNotAliased)); in EmitDeclInit()
DCGClass.cpp551 AggValueSlot AggSlot = in EmitBaseInitializer()
552 AggValueSlot::forAddr(V, Qualifiers(), in EmitBaseInitializer()
553 AggValueSlot::IsDestructed, in EmitBaseInitializer()
554 AggValueSlot::DoesNotNeedGCBarriers, in EmitBaseInitializer()
555 AggValueSlot::IsNotAliased); in EmitBaseInitializer()
599 AggValueSlot Slot = in EmitAggMemberInitializer()
600 AggValueSlot::forLValue(LV, in EmitAggMemberInitializer()
601 AggValueSlot::IsDestructed, in EmitAggMemberInitializer()
602 AggValueSlot::DoesNotNeedGCBarriers, in EmitAggMemberInitializer()
603 AggValueSlot::IsNotAliased); in EmitAggMemberInitializer()
[all …]
DCGExpr.cpp130 return (void) EmitAnyExpr(E, AggValueSlot::ignored(), true); in EmitIgnoredExpr()
141 AggValueSlot aggSlot, in EmitAnyExpr()
160 AggValueSlot AggSlot = AggValueSlot::ignored(); in EmitAnyExprToTemp()
181 EmitAggExpr(E, AggValueSlot::forAddr(Location, Quals, in EmitAnyExprToMem()
182 AggValueSlot::IsDestructed_t(IsInit), in EmitAnyExprToMem()
183 AggValueSlot::DoesNotNeedGCBarriers, in EmitAnyExprToMem()
184 AggValueSlot::IsAliased_t(!IsInit))); in EmitAnyExprToMem()
386 EmitAggExpr(E, AggValueSlot::forAddr(Object, in EmitMaterializeTemporaryExpr()
388 AggValueSlot::IsDestructed, in EmitMaterializeTemporaryExpr()
389 AggValueSlot::DoesNotNeedGCBarriers, in EmitMaterializeTemporaryExpr()
[all …]
DCGExprCXX.cpp441 AggValueSlot Dest) { in EmitCXXConstructExpr()
819 AggValueSlot Slot in StoreAnyExprIntoOneUnit()
820 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
821 AggValueSlot::IsDestructed, in StoreAnyExprIntoOneUnit()
822 AggValueSlot::DoesNotNeedGCBarriers, in StoreAnyExprIntoOneUnit()
823 AggValueSlot::IsNotAliased); in StoreAnyExprIntoOneUnit()
1938 void CodeGenFunction::EmitLambdaExpr(const LambdaExpr *E, AggValueSlot Slot) { in EmitLambdaExpr()
DCGStmt.cpp325 AggValueSlot AggSlot) { in EmitCompoundStmt()
338 AggValueSlot AggSlot) { in EmitCompoundStmtWithoutScope()
1048 EmitAggExpr(RV, AggValueSlot::forAddr(ReturnValue, in EmitReturnStmt()
1050 AggValueSlot::IsDestructed, in EmitReturnStmt()
1051 AggValueSlot::DoesNotNeedGCBarriers, in EmitReturnStmt()
1052 AggValueSlot::IsNotAliased)); in EmitReturnStmt()
DCGObjC.cpp1419 AggValueSlot::forLValue(LV, AggValueSlot::IsDestructed, in GenerateObjCCtorDtorMethod()
1420 AggValueSlot::DoesNotNeedGCBarriers, in GenerateObjCCtorDtorMethod()
1421 AggValueSlot::IsNotAliased)); in GenerateObjCCtorDtorMethod()
3332 AggValueSlot::forAddr(Address(DV.getScalarVal(), Alignment), in GenerateObjCAtomicGetterCopyHelperFunction()
3334 AggValueSlot::IsDestructed, in GenerateObjCAtomicGetterCopyHelperFunction()
3335 AggValueSlot::DoesNotNeedGCBarriers, in GenerateObjCAtomicGetterCopyHelperFunction()
3336 AggValueSlot::IsNotAliased)); in GenerateObjCAtomicGetterCopyHelperFunction()
DCGDecl.cpp1314 EmitAggExpr(init, AggValueSlot::forLValue(lvalue, in EmitExprAsInit()
1315 AggValueSlot::IsDestructed, in EmitExprAsInit()
1316 AggValueSlot::DoesNotNeedGCBarriers, in EmitExprAsInit()
1317 AggValueSlot::IsNotAliased)); in EmitExprAsInit()
DCGBlocks.cpp832 AggValueSlot Slot = in EmitBlockLiteral()
833 AggValueSlot::forAddr(blockField, Qualifiers(), in EmitBlockLiteral()
834 AggValueSlot::IsDestructed, in EmitBlockLiteral()
835 AggValueSlot::DoesNotNeedGCBarriers, in EmitBlockLiteral()
836 AggValueSlot::IsNotAliased); in EmitBlockLiteral()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp40 AggValueSlot Dest;
43 AggValueSlot EnsureSlot(QualType T) { in EnsureSlot()
62 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, bool IsResultUnused) in AggExprEmitter()
85 void EmitCopy(QualType type, const AggValueSlot &dest,
86 const AggValueSlot &src);
93 AggValueSlot::NeedsGCBarriers_t needsGC(QualType T) { in needsGC()
95 return AggValueSlot::NeedsGCBarriers; in needsGC()
96 return AggValueSlot::DoesNotNeedGCBarriers; in needsGC()
353 AggValueSlot srcAgg = AggValueSlot::forLValue( in EmitFinalDestCopy()
354 src, CGF, AggValueSlot::IsDestructed, needsGC(type), in EmitFinalDestCopy()
[all …]
DCGClass.cpp583 AggValueSlot AggSlot = in EmitBaseInitializer()
584 AggValueSlot::forAddr( in EmitBaseInitializer()
586 AggValueSlot::IsDestructed, in EmitBaseInitializer()
587 AggValueSlot::DoesNotNeedGCBarriers, in EmitBaseInitializer()
588 AggValueSlot::IsNotAliased, in EmitBaseInitializer()
708 AggValueSlot Slot = AggValueSlot::forLValue( in EmitInitializerForField()
709 LHS, *this, AggValueSlot::IsDestructed, in EmitInitializerForField()
710 AggValueSlot::DoesNotNeedGCBarriers, AggValueSlot::IsNotAliased, in EmitInitializerForField()
711 getOverlapForFieldInit(Field), AggValueSlot::IsNotZeroed, in EmitInitializerForField()
713 AggValueSlot::IsSanitizerChecked); in EmitInitializerForField()
[all …]
DCGValue.h31 class AggValueSlot; variable
471 class AggValueSlot {
533 static AggValueSlot ignored() { in ignored()
548 static AggValueSlot forAddr(Address addr,
556 AggValueSlot AV;
574 static AggValueSlot
DCGExprCXX.cpp292 AggValueSlot::DoesNotOverlap, CE->getExprLoc(), in EmitCXXMemberOrOperatorMemberCallExpr()
583 AggValueSlot Dest) { in EmitCXXConstructExpr()
953 AggValueSlot::Overlap_t MayOverlap) { in StoreAnyExprIntoOneUnit()
965 AggValueSlot Slot in StoreAnyExprIntoOneUnit()
966 = AggValueSlot::forAddr(NewPtr, AllocType.getQualifiers(), in StoreAnyExprIntoOneUnit()
967 AggValueSlot::IsDestructed, in StoreAnyExprIntoOneUnit()
968 AggValueSlot::DoesNotNeedGCBarriers, in StoreAnyExprIntoOneUnit()
969 AggValueSlot::IsNotAliased, in StoreAnyExprIntoOneUnit()
970 MayOverlap, AggValueSlot::IsNotZeroed, in StoreAnyExprIntoOneUnit()
971 AggValueSlot::IsSanitizerChecked); in StoreAnyExprIntoOneUnit()
[all …]
DCGAtomic.cpp186 RValue convertAtomicTempToRValue(Address addr, AggValueSlot resultSlot,
193 AggValueSlot ResultSlot,
212 RValue EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc,
1427 AggValueSlot resultSlot, in convertAtomicTempToRValue()
1460 AggValueSlot ResultSlot, in ConvertIntToValueOrAtomic()
1548 AggValueSlot Slot) { in EmitAtomicLoad()
1560 RValue AtomicInfo::EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc, in EmitAtomicLoad()
1595 AggValueSlot resultSlot) { in EmitAtomicLoad()
1615 AggValueSlot::DoesNotOverlap, IsVolatile); in emitCopyIntoMemory()
1739 convertAtomicTempToRValue(ExpectedAddr, AggValueSlot::ignored(), in EmitAtomicCompareExchange()
[all …]
DCodeGenFunction.h2513 AggValueSlot CreateAggTemp(QualType T, const Twine &Name = "tmp",
2515 return AggValueSlot::forAddr(CreateMemTemp(T, Name, Alloca),
2517 AggValueSlot::IsNotDestructed,
2518 AggValueSlot::DoesNotNeedGCBarriers,
2519 AggValueSlot::IsNotAliased,
2520 AggValueSlot::DoesNotOverlap);
2540 AggValueSlot aggSlot = AggValueSlot::ignored(),
2579 AggValueSlot::Overlap_t getOverlapForReturnValue() {
2583 return AggValueSlot::DoesNotOverlap;
2587 AggValueSlot::Overlap_t getOverlapForFieldInit(const FieldDecl *FD);
[all …]
DCGCoroutine.cpp177 AwaitKind Kind, AggValueSlot aggSlot, in emitSuspendExpression()
262 AggValueSlot aggSlot, in EmitCoawaitExpr()
269 AggValueSlot aggSlot, in EmitCoyieldExpr()
306 CurCoro.Data->CurrentAwaitKind, AggValueSlot::ignored(), in EmitCoawaitLValue()
316 AwaitKind::Yield, AggValueSlot::ignored(), in EmitCoyieldLValue()
DCGDeclCXX.cpp59 AggValueSlot::forLValue(lv, CGF, AggValueSlot::IsDestructed, in EmitDeclInit()
60 AggValueSlot::DoesNotNeedGCBarriers, in EmitDeclInit()
61 AggValueSlot::IsNotAliased, in EmitDeclInit()
62 AggValueSlot::DoesNotOverlap)); in EmitDeclInit()
DCGExpr.cpp202 return (void) EmitAnyExpr(E, AggValueSlot::ignored(), true); in EmitIgnoredExpr()
213 AggValueSlot aggSlot, in EmitAnyExpr()
232 AggValueSlot AggSlot = AggValueSlot::ignored(); in EmitAnyExprToTemp()
253 EmitAggExpr(E, AggValueSlot::forAddr(Location, Quals, in EmitAnyExprToMem()
254 AggValueSlot::IsDestructed_t(IsInit), in EmitAnyExprToMem()
255 AggValueSlot::DoesNotNeedGCBarriers, in EmitAnyExprToMem()
256 AggValueSlot::IsAliased_t(!IsInit), in EmitAnyExprToMem()
257 AggValueSlot::MayOverlap)); in EmitAnyExprToMem()
481 EmitAggExpr(E, AggValueSlot::forAddr(Object, in EmitMaterializeTemporaryExpr()
483 AggValueSlot::IsDestructed, in EmitMaterializeTemporaryExpr()
[all …]
DCGDecl.cpp1941 AggValueSlot::Overlap_t Overlap = AggValueSlot::MayOverlap; in EmitExprAsInit()
1943 Overlap = AggValueSlot::DoesNotOverlap; in EmitExprAsInit()
1947 EmitAggExpr(init, AggValueSlot::forLValue( in EmitExprAsInit()
1948 lvalue, *this, AggValueSlot::IsDestructed, in EmitExprAsInit()
1949 AggValueSlot::DoesNotNeedGCBarriers, in EmitExprAsInit()
1950 AggValueSlot::IsNotAliased, Overlap)); in EmitExprAsInit()
DCGObjC.cpp1671 AggValueSlot::forLValue(LV, *this, AggValueSlot::IsDestructed, in GenerateObjCCtorDtorMethod()
1672 AggValueSlot::DoesNotNeedGCBarriers, in GenerateObjCCtorDtorMethod()
1673 AggValueSlot::IsNotAliased, in GenerateObjCCtorDtorMethod()
1674 AggValueSlot::DoesNotOverlap)); in GenerateObjCCtorDtorMethod()
3786 AggValueSlot::forAddr(Address(DV.getScalarVal(), Alignment), in GenerateObjCAtomicGetterCopyHelperFunction()
3788 AggValueSlot::IsDestructed, in GenerateObjCAtomicGetterCopyHelperFunction()
3789 AggValueSlot::DoesNotNeedGCBarriers, in GenerateObjCAtomicGetterCopyHelperFunction()
3790 AggValueSlot::IsNotAliased, in GenerateObjCAtomicGetterCopyHelperFunction()
3791 AggValueSlot::DoesNotOverlap)); in GenerateObjCAtomicGetterCopyHelperFunction()
DCGStmt.cpp420 AggValueSlot AggSlot) { in EmitCompoundStmt()
433 AggValueSlot AggSlot) { in EmitCompoundStmtWithoutScope()
1225 EmitAggExpr(RV, AggValueSlot::forAddr( in EmitReturnStmt()
1227 AggValueSlot::IsDestructed, in EmitReturnStmt()
1228 AggValueSlot::DoesNotNeedGCBarriers, in EmitReturnStmt()
1229 AggValueSlot::IsNotAliased, in EmitReturnStmt()
DCGBlocks.cpp974 AggValueSlot Slot = in EmitBlockLiteral()
975 AggValueSlot::forAddr(blockField, Qualifiers(), in EmitBlockLiteral()
976 AggValueSlot::IsDestructed, in EmitBlockLiteral()
977 AggValueSlot::DoesNotNeedGCBarriers, in EmitBlockLiteral()
978 AggValueSlot::IsNotAliased, in EmitBlockLiteral()
979 AggValueSlot::DoesNotOverlap); in EmitBlockLiteral()

12