Home
last modified time | relevance | path

Searched refs:AlignmentSource (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/CodeGen/
DCGValue.h125 enum class AlignmentSource { enum
143 static inline AlignmentSource getFieldAlignmentSource(AlignmentSource Source) { in getFieldAlignmentSource()
146 return AlignmentSource::Decl; in getFieldAlignmentSource()
221 CharUnits Alignment, AlignmentSource AlignSource,
319 AlignmentSource getAlignmentSource() const { in getAlignmentSource()
320 return AlignmentSource(AlignSource); in getAlignmentSource()
322 void setAlignmentSource(AlignmentSource Source) { in setAlignmentSource()
373 AlignmentSource alignSource,
387 QualType type, AlignmentSource alignSource) { in MakeVectorElt()
398 QualType type, AlignmentSource alignSource) { in MakeExtVectorElt()
[all …]
DCGExpr.cpp373 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
378 AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
464 AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
481 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
821 AlignmentSource *Source) { in EmitPointerWithAlignment()
840 AlignmentSource InnerSource; in EmitPointerWithAlignment()
847 InnerSource != AlignmentSource::Decl) { in EmitPointerWithAlignment()
1265 AlignmentSource AlignSource, in EmitLoadOfScalar()
1376 AlignmentSource AlignSource, in EmitStoreOfScalar()
1955 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitThreadPrivateVarDeclLValue()
[all …]
DCodeGenFunction.h1655 AlignmentSource AlignSource = AlignmentSource::Type) {
1661 AlignmentSource AlignSource = AlignmentSource::Type) {
1669 AlignmentSource *Source = nullptr,
1672 AlignmentSource *Source = nullptr);
1675 AlignmentSource *Source = nullptr);
1679 AlignmentSource *Source = nullptr);
2653 AlignmentSource AlignSource =
2654 AlignmentSource::Type,
2671 AlignmentSource AlignSource = AlignmentSource::Type,
2744 AlignmentSource *AlignSource = nullptr);
[all …]
DCodeGenFunction.cpp100 AlignmentSource *Source) { in getNaturalPointeeTypeAlignment()
106 AlignmentSource *Source, in getNaturalTypeAlignment()
113 if (Source) *Source = AlignmentSource::AttributedType; in getNaturalTypeAlignment()
118 if (Source) *Source = AlignmentSource::Type; in getNaturalTypeAlignment()
146 AlignmentSource AlignSource; in MakeNaturalAlignAddrLValue()
156 AlignmentSource AlignSource; in MakeNaturalAlignPointeeAddrLValue()
DCGObjCRuntime.cpp144 AlignmentSource::Decl); in EmitValueForIvarAtOffset()
DCGExprCXX.cpp1344 AlignmentSource alignSource; in EmitCXXNewExpr()
1350 if (alignSource != AlignmentSource::Decl) { in EmitCXXNewExpr()
DCGObjC.cpp151 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
163 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
171 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
DCGStmtOpenMP.cpp275 AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
280 FD->getType(), AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
DCGBlocks.cpp882 MakeAddrLValue(blockField, type, AlignmentSource::Decl), in EmitBlockLiteral()
DCGClass.cpp132 AlignmentSource *alignSource) { in EmitCXXMemberDataPointerAddress()
DCGOpenMPRuntime.cpp720 AlignmentSource::Decl); in getThreadIDVariableLValue()
3531 SharedRefLValue.getType(), AlignmentSource::Decl); in emitPrivatesInit()
DCGBuiltin.cpp7953 AlignmentSource AlignSource; in EmitNVPTXBuiltinExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGValue.h126 enum class AlignmentSource { enum
144 static inline AlignmentSource getFieldAlignmentSource(AlignmentSource Source) { in getFieldAlignmentSource()
147 return AlignmentSource::Decl; in getFieldAlignmentSource()
151 AlignmentSource AlignSource;
154 explicit LValueBaseInfo(AlignmentSource Source = AlignmentSource::Type)
156 AlignmentSource getAlignmentSource() const { return AlignSource; } in getAlignmentSource()
157 void setAlignmentSource(AlignmentSource Source) { AlignSource = Source; } in setAlignmentSource()
449 LValueBaseInfo(AlignmentSource::Decl), TBAAAccessInfo()); in MakeGlobalReg()
DCGExpr.cpp468 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
473 AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
595 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
612 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
1112 if (InnerBaseInfo.getAlignmentSource() != AlignmentSource::Decl) { in EmitPointerWithAlignment()
2454 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitThreadPrivateVarDeclLValue()
2530 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitGlobalVarDeclLValue()
2547 AlignmentSource::Decl) : in EmitGlobalVarDeclLValue()
2548 CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitGlobalVarDeclLValue()
2584 AlignmentSource::Decl); in EmitFunctionDeclLValue()
[all …]
DCGOpenMPRuntimeGPU.cpp1932 AlignmentSource::Decl); in emitGenericVarsProlog()
1993 AlignmentSource::Decl); in emitGenericVarsProlog()
2454 LValueBaseInfo(AlignmentSource::Type), in castValueToType()
2457 LValueBaseInfo(AlignmentSource::Type), in castValueToType()
2549 LValueBaseInfo(AlignmentSource::Type), in shuffleAndStore()
2553 LValueBaseInfo(AlignmentSource::Type), in shuffleAndStore()
2565 LValueBaseInfo(AlignmentSource::Type), in shuffleAndStore()
2569 LValueBaseInfo(AlignmentSource::Type), in shuffleAndStore()
2726 Private->getExprLoc(), LValueBaseInfo(AlignmentSource::Type),
2731 LValueBaseInfo(AlignmentSource::Type), TBAAAccessInfo());
[all …]
DCodeGenFunction.h2387 AlignmentSource Source = AlignmentSource::Type) {
2398 AlignmentSource Source = AlignmentSource::Type) {
2417 AlignmentSource Source =
2418 AlignmentSource::Type) {
3698 AlignmentSource Source = AlignmentSource::Type,
3720 AlignmentSource Source = AlignmentSource::Type,
DCGObjCRuntime.cpp114 LValueBaseInfo(AlignmentSource::Decl), in EmitValueForIvarAtOffset()
DCGStmtOpenMP.cpp532 AlignmentSource::Decl); in emitOutlinedFunctionPrologue()
538 FD->getType(), AlignmentSource::Decl); in emitOutlinedFunctionPrologue()
641 AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
650 AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
896 AlignmentSource::Decl), in EmitOMPFirstprivateClause()
900 AlignmentSource::Decl)); in EmitOMPFirstprivateClause()
DCGObjC.cpp170 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
181 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
188 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
DCodeGenModule.cpp6197 *BaseInfo = LValueBaseInfo(AlignmentSource::AttributedType); in getNaturalTypeAlignment()
6216 *BaseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
6221 *BaseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
DCGOpenMPRuntime.cpp1048 AlignmentSource::Decl); in getThreadIDVariableLValue()
3841 SharedRefLValue.getType(), LValueBaseInfo(AlignmentSource::Decl), in emitPrivatesInit()
9019 AlignmentSource::Decl)); in generateDefaultMapInfo()
12132 BaseLVal = CGF.MakeAddrLValue(Addr, NewType, AlignmentSource::Decl); in emitLastprivateConditionalInit()
12333 CGF.MakeAddrLValue(StructAddr, StructTy, AlignmentSource::Decl); in checkAndEmitLastprivateConditional()
12387 AlignmentSource::Decl); in checkAndEmitSharedLastprivateConditional()
12390 AlignmentSource::Decl); in checkAndEmitSharedLastprivateConditional()
DCGExprCXX.cpp1589 if (BaseInfo.getAlignmentSource() != AlignmentSource::Decl) in EmitCXXNewExpr()
DCGBlocks.cpp1031 MakeAddrLValue(blockField, type, AlignmentSource::Decl), in EmitBlockLiteral()