| Index: src/IceTargetLoweringARM32.h
|
| diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h
|
| index 306aaa92373c07d6650afb8cf67d896fe479076b..09ab2e21f982b63f55de8d7d8bc73784caf15798 100644
|
| --- a/src/IceTargetLoweringARM32.h
|
| +++ b/src/IceTargetLoweringARM32.h
|
| @@ -55,7 +55,7 @@ class TargetARM32 : public TargetLowering {
|
| TargetARM32 &operator=(const TargetARM32 &) = delete;
|
|
|
| public:
|
| - static void staticInit();
|
| + static void staticInit(const ClFlags &Flags);
|
| // TODO(jvoung): return a unique_ptr.
|
| static TargetARM32 *create(Cfg *Func) { return new TargetARM32(Func); }
|
|
|
| @@ -120,12 +120,12 @@ public:
|
|
|
| void emitVariable(const Variable *Var) const override;
|
|
|
| - const char *getConstantPrefix() const final { return "#"; }
|
| void emit(const ConstantUndef *C) const final;
|
| void emit(const ConstantInteger32 *C) const final;
|
| void emit(const ConstantInteger64 *C) const final;
|
| void emit(const ConstantFloat *C) const final;
|
| void emit(const ConstantDouble *C) const final;
|
| + void emit(const ConstantRelocatable *C) const final;
|
|
|
| void lowerArguments() override;
|
| void addProlog(CfgNode *Node) override;
|
| @@ -146,12 +146,12 @@ public:
|
| /// immediates, shifted registers, or modified fp imm.
|
| Legal_Mem = 1 << 2, /// includes [r0, r1 lsl #2] as well as [sp, #12]
|
| Legal_Rematerializable = 1 << 3,
|
| - Legal_All = ~Legal_Rematerializable,
|
| + Legal_Default = ~Legal_Rematerializable,
|
| };
|
|
|
| using LegalMask = uint32_t;
|
| Operand *legalizeUndef(Operand *From, int32_t RegNum = Variable::NoRegister);
|
| - Operand *legalize(Operand *From, LegalMask Allowed = Legal_All,
|
| + Operand *legalize(Operand *From, LegalMask Allowed = Legal_Default,
|
| int32_t RegNum = Variable::NoRegister);
|
| Variable *legalizeToReg(Operand *From, int32_t RegNum = Variable::NoRegister);
|
|
|
|
|