| Index: src/IceTargetLowering.h
|
| diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
|
| index 799872e1648718d6e55829ebd031fdb1e697f300..8c14481ea17ef44cf10dc6b39f68cacfc34153cf 100644
|
| --- a/src/IceTargetLowering.h
|
| +++ b/src/IceTargetLowering.h
|
| @@ -152,9 +152,9 @@ class TargetLowering {
|
| TargetLowering &operator=(const TargetLowering &) = delete;
|
|
|
| public:
|
| - static void staticInit(const ClFlags &Flags);
|
| + static void staticInit(GlobalContext *Ctx);
|
| // Each target must define a public static method:
|
| - // static void staticInit(const ClFlags &Flags);
|
| + // static void staticInit(GlobalContext *Ctx);
|
|
|
| static std::unique_ptr<TargetLowering> createLowering(TargetArch Target,
|
| Cfg *Func);
|
| @@ -299,6 +299,10 @@ public:
|
|
|
| protected:
|
| explicit TargetLowering(Cfg *Func);
|
| + static llvm::SmallBitVector
|
| + getRegisterSetMask(GlobalContext *Ctx, SizeT NumRegs, SizeT NumRegClasses,
|
| + std::function<SizeT(int32_t)> RegClassFcn,
|
| + std::function<IceString(int32_t)> RegNameFcn);
|
| virtual void lowerAlloca(const InstAlloca *Inst) = 0;
|
| virtual void lowerArithmetic(const InstArithmetic *Inst) = 0;
|
| virtual void lowerAssign(const InstAssign *Inst) = 0;
|
|
|