@@ -181,7 +181,7 @@ class MachineFrameInfo {
181
181
182
182
uint8_t SSPLayout;
183
183
184
- StackObject (uint64_t Size , llvm:: Align Alignment, int64_t SPOffset,
184
+ StackObject (uint64_t Size , Align Alignment, int64_t SPOffset,
185
185
bool IsImmutable, bool IsSpillSlot, const AllocaInst *Alloca,
186
186
bool IsAliased, uint8_t StackID = 0 )
187
187
: SPOffset(SPOffset), Size (Size ), Alignment(Alignment),
@@ -419,7 +419,9 @@ class MachineFrameInfo {
419
419
420
420
// / Required alignment of the local object blob,
421
421
// / which is the strictest alignment of any object in it.
422
- void setLocalFrameMaxAlign (Align Align) { LocalFrameMaxAlign = Align; }
422
+ void setLocalFrameMaxAlign (Align Alignment) {
423
+ LocalFrameMaxAlign = Alignment;
424
+ }
423
425
424
426
// / Return the required alignment of the local object blob.
425
427
Align getLocalFrameMaxAlign () const { return LocalFrameMaxAlign; }
@@ -564,7 +566,7 @@ class MachineFrameInfo {
564
566
unsigned getMaxAlignment () const { return MaxAlignment.value (); }
565
567
566
568
// / Make sure the function is at least Align bytes aligned.
567
- void ensureMaxAlignment (llvm:: Align Align );
569
+ void ensureMaxAlignment (Align Alignment );
568
570
// / FIXME: Remove this once transition to Align is over.
569
571
inline void ensureMaxAlignment (unsigned Align) {
570
572
ensureMaxAlignment (assumeAligned (Align));
@@ -732,9 +734,9 @@ class MachineFrameInfo {
732
734
733
735
// / Create a new statically sized stack object, returning
734
736
// / a nonnegative identifier to represent it.
735
- int CreateStackObject (uint64_t Size , llvm:: Align Alignment, bool isSpillSlot,
737
+ int CreateStackObject (uint64_t Size , Align Alignment, bool isSpillSlot,
736
738
const AllocaInst *Alloca = nullptr , uint8_t ID = 0 );
737
- // / FIXME: Remove this function when transition to llvm:: Align is over.
739
+ // / FIXME: Remove this function when transition to Align is over.
738
740
inline int CreateStackObject (uint64_t Size , unsigned Alignment,
739
741
bool isSpillSlot,
740
742
const AllocaInst *Alloca = nullptr ,
@@ -745,8 +747,8 @@ class MachineFrameInfo {
745
747
746
748
// / Create a new statically sized stack object that represents a spill slot,
747
749
// / returning a nonnegative identifier to represent it.
748
- int CreateSpillStackObject (uint64_t Size , llvm:: Align Alignment);
749
- // / FIXME: Remove this function when transition to llvm:: Align is over.
750
+ int CreateSpillStackObject (uint64_t Size , Align Alignment);
751
+ // / FIXME: Remove this function when transition to Align is over.
750
752
inline int CreateSpillStackObject (uint64_t Size , unsigned Alignment) {
751
753
return CreateSpillStackObject (Size , assumeAligned (Alignment));
752
754
}
@@ -760,9 +762,8 @@ class MachineFrameInfo {
760
762
// / Notify the MachineFrameInfo object that a variable sized object has been
761
763
// / created. This must be created whenever a variable sized object is
762
764
// / created, whether or not the index returned is actually used.
763
- int CreateVariableSizedObject (llvm::Align Alignment,
764
- const AllocaInst *Alloca);
765
- // / FIXME: Remove this function when transition to llvm::Align is over.
765
+ int CreateVariableSizedObject (Align Alignment, const AllocaInst *Alloca);
766
+ // / FIXME: Remove this function when transition to Align is over.
766
767
int CreateVariableSizedObject (unsigned Alignment, const AllocaInst *Alloca) {
767
768
return CreateVariableSizedObject (assumeAligned (Alignment), Alloca);
768
769
}
0 commit comments