Lines Matching refs:Alignment
606 my $Alignment = $SInfo->{"Param"}{$Pos}{"algn"};
607 if($Alignment<$StackAlgn) {
608 $Alignment = $StackAlgn;
610 return pushStack($SInfo, $Alignment, $TInfo->{$PTid}{"Size"}, { 0 => $PName });
1010 my $Alignment = 0;
1016 $Alignment = $Computed;
1022 $Alignment = $BSize;
1025 $Alignment = 1;
1028 return ($Alignment, $BSize);
1034 $Alignment = $Computed*$BYTE;
1038 $Alignment = getAlignment_Model($Tid, $TInfo, $Arch)*$BYTE;
1040 return ($Alignment, $Type{"Size"}*$BYTE);
1062 my ($Alignment, $MSize) = getAlignment($Pos, $TypePtr, $TInfo, $Arch, $Word);
1064 if(not $Alignment)
1070 $Alignment = 1;
1075 $Alignment = $MSize;
1081 $Alignment = 1;
1087 $Offset += getPadding($Offset, $Alignment);
1100 my ($Offset, $Alignment) = @_;
1102 if($Offset % $Alignment!=0)
1104 $Padding = $Alignment - $Offset % $Alignment;
1116 my (%Alignment, %MSize) = ();
1130 ($Alignment{$Pos}, $MSize{$Pos}) = getAlignment($Pos, $TypePtr, $TInfo, $Arch, $Word);
1132 if(not $Alignment{$Pos})
1137 if($Alignment{$Pos}>$MaxAlgn) {
1138 $MaxAlgn = $Alignment{$Pos};
1155 if($Offset % $Alignment{$Pos}!=0)
1157 $Padding = $Alignment{$Pos} - $Offset % $Alignment{$Pos};
1164 if($Offset % $Alignment{$FieldPos}!=0)
1166 $TPadding = $Alignment{$FieldPos} - $Offset % $Alignment{$FieldPos};
1194 if(($Offset-$Delta) % $Alignment{$Pos} != 0)
1196 my $NPadding = $Alignment{$Pos} - ($Offset-$Delta) % $Alignment{$Pos};