OLD | NEW |
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 // Applies command line filters to TypeToRegisterSet array. | 368 // Applies command line filters to TypeToRegisterSet array. |
369 static void filterTypeToRegisterSet( | 369 static void filterTypeToRegisterSet( |
370 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], | 370 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], |
371 size_t TypeToRegisterSetSize, | 371 size_t TypeToRegisterSetSize, |
372 std::function<std::string(RegNumT)> getRegName, | 372 std::function<std::string(RegNumT)> getRegName, |
373 std::function<const char *(RegClass)> getRegClassName); | 373 std::function<const char *(RegClass)> getRegClassName); |
374 virtual void lowerAlloca(const InstAlloca *Instr) = 0; | 374 virtual void lowerAlloca(const InstAlloca *Instr) = 0; |
375 virtual void lowerArithmetic(const InstArithmetic *Instr) = 0; | 375 virtual void lowerArithmetic(const InstArithmetic *Instr) = 0; |
376 virtual void lowerAssign(const InstAssign *Instr) = 0; | 376 virtual void lowerAssign(const InstAssign *Instr) = 0; |
377 virtual void lowerBr(const InstBr *Instr) = 0; | 377 virtual void lowerBr(const InstBr *Instr) = 0; |
| 378 virtual void lowerBreakpoint(const InstBreakpoint *Instr) = 0; |
378 virtual void lowerCall(const InstCall *Instr) = 0; | 379 virtual void lowerCall(const InstCall *Instr) = 0; |
379 virtual void lowerCast(const InstCast *Instr) = 0; | 380 virtual void lowerCast(const InstCast *Instr) = 0; |
380 virtual void lowerFcmp(const InstFcmp *Instr) = 0; | 381 virtual void lowerFcmp(const InstFcmp *Instr) = 0; |
381 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; | 382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; |
382 virtual void lowerIcmp(const InstIcmp *Instr) = 0; | 383 virtual void lowerIcmp(const InstIcmp *Instr) = 0; |
383 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; | 384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; |
384 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; | 385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; |
385 virtual void lowerLoad(const InstLoad *Instr) = 0; | 386 virtual void lowerLoad(const InstLoad *Instr) = 0; |
386 virtual void lowerPhi(const InstPhi *Instr) = 0; | 387 virtual void lowerPhi(const InstPhi *Instr) = 0; |
387 virtual void lowerRet(const InstRet *Instr) = 0; | 388 virtual void lowerRet(const InstRet *Instr) = 0; |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 virtual void lower() {} | 618 virtual void lower() {} |
618 | 619 |
619 protected: | 620 protected: |
620 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 621 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
621 GlobalContext *Ctx; | 622 GlobalContext *Ctx; |
622 }; | 623 }; |
623 | 624 |
624 } // end of namespace Ice | 625 } // end of namespace Ice |
625 | 626 |
626 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 627 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
OLD | NEW |