Chromium Code Reviews| Index: src/IceTargetLoweringMIPS32.h |
| diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h |
| index 09b981bb96062d7dd78ccd94ba9155664759e9d0..619ccb6b05918a832ea068ce8d52a60e87f86c21 100644 |
| --- a/src/IceTargetLoweringMIPS32.h |
| +++ b/src/IceTargetLoweringMIPS32.h |
| @@ -734,6 +734,9 @@ protected: |
| /// Mem.Offset is fixed up. |
| OperandMIPS32Mem *legalizeMemOperand(OperandMIPS32Mem *Mem); |
| + /// Legalizes Immidiate if larger value overflows range of 16 bits |
|
Jim Stichnoth
2016/10/17 14:20:46
Immediate
sagar.thakur
2016/10/18 07:02:21
Done.
|
| + Variable *legalizeImmidiate(int32_t Imm); |
| + |
| /// Legalizes Mov if its Source (or Destination) is a spilled Variable, or |
| /// if its Source is a Rematerializable variable (this form is used in lieu |
| /// of lea, which is not available in MIPS.) |
| @@ -758,6 +761,7 @@ protected: |
| uint32_t MaxOutArgsSizeBytes = 0; |
| uint32_t TotalStackSizeBytes = 0; |
| uint32_t CurrentAllocaOffset = 0; |
| + uint32_t VariableAllocaAlignBytes = 0; |
| static SmallBitVector TypeToRegisterSet[RCMIPS32_NUM]; |
| static SmallBitVector TypeToRegisterSetUnfiltered[RCMIPS32_NUM]; |
| static SmallBitVector RegisterAliases[RegMIPS32::Reg_NUM]; |