| Index: src/IceTargetLowering.h
|
| diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
|
| index 799872e1648718d6e55829ebd031fdb1e697f300..71536cdd4e9b82af7f784a3a60a9048ee5eba995 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,12 @@ public:
|
|
|
| protected:
|
| explicit TargetLowering(Cfg *Func);
|
| + // Applies command line filters to TypeToRegisterSet array.
|
| + static void
|
| + filterTypeToRegisterSet(GlobalContext *Ctx, int32_t NumRegs,
|
| + llvm::SmallBitVector TypeToRegisterSet[],
|
| + size_t TypeToRegisterSetSize,
|
| + std::function<IceString(int32_t)> getRegName);
|
| virtual void lowerAlloca(const InstAlloca *Inst) = 0;
|
| virtual void lowerArithmetic(const InstArithmetic *Inst) = 0;
|
| virtual void lowerAssign(const InstAssign *Inst) = 0;
|
|
|