Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenValue.h109 enum class AlignmentSource { enum
127 static inline AlignmentSource getFieldAlignmentSource(AlignmentSource source) { in getFieldAlignmentSource()
130 return AlignmentSource::Decl; in getFieldAlignmentSource()
134 AlignmentSource alignSource;
137 explicit LValueBaseInfo(AlignmentSource source = AlignmentSource::Type)
139 AlignmentSource getAlignmentSource() const { return alignSource; } in getAlignmentSource()
140 void setAlignmentSource(AlignmentSource source) { alignSource = source; } in setAlignmentSource()
H A DCIRGenExpr.cpp274 lv = cgf.makeAddrLValue(addr, t, AlignmentSource::Decl); in emitGlobalVarDeclLValue()
404 AlignmentSource baseAlignSource = baseInfo.getAlignmentSource(); in emitLValueForField()
480 AlignmentSource fieldAlignSource = baseInfo.getAlignmentSource(); in emitLValueForFieldInitialization()
581 vd->getType(), AlignmentSource::Decl) in emitDeclRefLValue()
582 : makeAddrLValue(addr, ty, AlignmentSource::Decl); in emitDeclRefLValue()
876 e->getType(), AlignmentSource::Decl); in emitStringLiteralLValue()
1385 LValue lvalue = makeAddrLValue(addr, type, AlignmentSource::Decl); in convertTempToRValue()
1660 AlignmentSource source) { in emitLoadOfReferenceLValue()
H A DCIRGenFunction.h537 AlignmentSource source = AlignmentSource::Type) {
991 QualType refTy, AlignmentSource source);
H A DCIRGenModule.cpp149 *baseInfo = LValueBaseInfo(AlignmentSource::AttributedType); in getNaturalTypeAlignment()
166 *baseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
171 *baseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
H A DCIRGenDecl.cpp153 LValue lv = makeAddrLValue(addr, type, AlignmentSource::Decl); in emitAutoVarInit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGValue.h141 enum class AlignmentSource {
159 static inline AlignmentSource getFieldAlignmentSource(AlignmentSource Source) {
162 return AlignmentSource::Decl;
166 AlignmentSource AlignSource;
169 explicit LValueBaseInfo(AlignmentSource Source = AlignmentSource::Type)
171 AlignmentSource getAlignmentSource() const { return AlignSource; }
172 void setAlignmentSource(AlignmentSource Source) { AlignSource = Source; }
483 LValueBaseInfo(AlignmentSource::Decl), TBAAAccessInfo());
H A DCGExpr.cpp514 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
519 AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
650 LValue LV = MakeAddrLValue(Object, E->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
667 return MakeAddrLValue(Object, M->getType(), AlignmentSource::Decl); in EmitMaterializeTemporaryExpr()
1351 if (InnerBaseInfo.getAlignmentSource() != AlignmentSource::Decl) { in EmitPointerWithAlignment()
2899 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitThreadPrivateVarDeclLValue()
2997 return CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitGlobalVarDeclLValue()
3017 AlignmentSource::Decl) : in EmitGlobalVarDeclLValue()
3018 CGF.MakeAddrLValue(Addr, T, AlignmentSource::Decl); in EmitGlobalVarDeclLValue()
3045 return CGF.MakeAddrLValue(V, ETy, Alignment, AlignmentSource::Decl); in EmitFunctionDeclLValue()
[all …]
H A DCodeGenFunction.h2705 AlignmentSource Source = AlignmentSource::Type) {
2716 AlignmentSource Source = AlignmentSource::Type) {
2724 AlignmentSource Source = AlignmentSource::Type) {
2732 AlignmentSource Source = AlignmentSource::Type) {
2757 AlignmentSource Source = AlignmentSource::Type) {
4305 AlignmentSource Source = AlignmentSource::Type,
4327 AlignmentSource Source = AlignmentSource::Type,
H A DCGObjCRuntime.cpp111 LValueBaseInfo(AlignmentSource::Decl), in EmitValueForIvarAtOffset()
H A DCGOpenMPRuntimeGPU.cpp1099 AlignmentSource::Decl); in emitGenericVarsProlog()
1405 LValueBaseInfo(AlignmentSource::Type), in castValueToType()
1408 LValueBaseInfo(AlignmentSource::Type), in castValueToType()
H A DCGObjC.cpp174 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
185 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
192 ElementType, AlignmentSource::Decl); in EmitObjCCollectionLiteral()
H A DCGStmtOpenMP.cpp618 AlignmentSource::Decl); in emitOutlinedFunctionPrologue()
624 FD->getType(), AlignmentSource::Decl); in emitOutlinedFunctionPrologue()
734 AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
745 Arg->getType(), AlignmentSource::Decl); in GenerateOpenMPCapturedStmtFunction()
983 AlignmentSource::Decl), in EmitOMPFirstprivateClause()
988 AlignmentSource::Decl)); in EmitOMPFirstprivateClause()
H A DCGOpenMPRuntime.cpp1018 AlignmentSource::Decl); in getThreadIDVariableLValue()
3297 SharedRefLValue.getType(), LValueBaseInfo(AlignmentSource::Decl), in emitPrivatesInit()
9106 AlignmentSource::Decl)); in generateDefaultMapInfo()
11723 BaseLVal = CGF.MakeAddrLValue(Addr, NewType, AlignmentSource::Decl); in emitLastprivateConditionalInit()
11926 CGF.MakeAddrLValue(StructAddr, StructTy, AlignmentSource::Decl); in checkAndEmitLastprivateConditional()
11980 AlignmentSource::Decl); in checkAndEmitSharedLastprivateConditional()
11983 AlignmentSource::Decl); in checkAndEmitSharedLastprivateConditional()
H A DCGExprCXX.cpp1650 if (BaseInfo.getAlignmentSource() != AlignmentSource::Decl) in EmitCXXNewExpr()
H A DMicrosoftCXXABI.cpp2522 AlignmentSource::Decl) in EmitThreadLocalVarDeclLValue()
2523 : CGF.MakeAddrLValue(Addr, LValType, AlignmentSource::Decl); in EmitThreadLocalVarDeclLValue()
H A DCodeGenModule.cpp7993 *BaseInfo = LValueBaseInfo(AlignmentSource::AttributedType); in getNaturalTypeAlignment()
8012 *BaseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
8017 *BaseInfo = LValueBaseInfo(AlignmentSource::Type); in getNaturalTypeAlignment()
H A DCGDecl.cpp1658 AlignmentSource::Decl); in EmitAutoVarAlloca()
H A DCGBlocks.cpp1048 MakeAddrLValue(blockField, type, AlignmentSource::Decl), in EmitBlockLiteral()