|
@@ -686,6 +686,12 @@ public:
|
|
|
return JumpBufAlignment;
|
|
|
}
|
|
|
|
|
|
+ /// getMinStackArgumentAlignment - return the minimum stack alignment of an
|
|
|
+ /// argument.
|
|
|
+ unsigned getMinStackArgumentAlignment() const {
|
|
|
+ return MinStackArgumentAlignment;
|
|
|
+ }
|
|
|
+
|
|
|
/// getPrefLoopAlignment - return the preferred loop alignment.
|
|
|
///
|
|
|
unsigned getPrefLoopAlignment() const {
|
|
@@ -1082,6 +1088,12 @@ protected:
|
|
|
PrefLoopAlignment = Align;
|
|
|
}
|
|
|
|
|
|
+ /// setMinStackArgumentAlignment - Set the minimum stack alignment of an
|
|
|
+ /// argument.
|
|
|
+ void setMinStackArgumentAlignment(unsigned Align) {
|
|
|
+ MinStackArgumentAlignment = Align;
|
|
|
+ }
|
|
|
+
|
|
|
/// setShouldFoldAtomicFences - Set if the target's implementation of the
|
|
|
/// atomic operation intrinsics includes locking. Default is false.
|
|
|
void setShouldFoldAtomicFences(bool fold) {
|
|
@@ -1515,6 +1527,11 @@ private:
|
|
|
/// buffers
|
|
|
unsigned JumpBufAlignment;
|
|
|
|
|
|
+ /// MinStackArgumentAlignment - The minimum alginment that any argument
|
|
|
+ /// on the stack needs to have.
|
|
|
+ ///
|
|
|
+ unsigned MinStackArgumentAlignment;
|
|
|
+
|
|
|
/// PrefLoopAlignment - The perferred loop alignment.
|
|
|
///
|
|
|
unsigned PrefLoopAlignment;
|