| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 457   void sortVarsByAlignment(VarList &Dest, const VarList &Source) const; | 457   void sortVarsByAlignment(VarList &Dest, const VarList &Source) const; | 
| 458 | 458 | 
| 459   /// Make a call to an external helper function. | 459   /// Make a call to an external helper function. | 
| 460   InstCall *makeHelperCall(const IceString &Name, Variable *Dest, | 460   InstCall *makeHelperCall(const IceString &Name, Variable *Dest, | 
| 461                            SizeT MaxSrcs); | 461                            SizeT MaxSrcs); | 
| 462 | 462 | 
| 463   void _set_dest_redefined() { Context.getLastInserted()->setDestRedefined(); } | 463   void _set_dest_redefined() { Context.getLastInserted()->setDestRedefined(); } | 
| 464 | 464 | 
| 465   bool shouldOptimizeMemIntrins(); | 465   bool shouldOptimizeMemIntrins(); | 
| 466 | 466 | 
|  | 467   void scalarizeArithmetic(InstArithmetic::OpKind K, Variable *Dest, | 
|  | 468                            Operand *Src0, Operand *Src1); | 
|  | 469 | 
| 467   /// SandboxType enumerates all possible sandboxing strategies that | 470   /// SandboxType enumerates all possible sandboxing strategies that | 
| 468   enum SandboxType { | 471   enum SandboxType { | 
| 469     ST_None, | 472     ST_None, | 
| 470     ST_NaCl, | 473     ST_NaCl, | 
| 471     ST_Nonsfi, | 474     ST_Nonsfi, | 
| 472   }; | 475   }; | 
| 473 | 476 | 
| 474   static SandboxType determineSandboxTypeFromFlags(const ClFlags &Flags); | 477   static SandboxType determineSandboxTypeFromFlags(const ClFlags &Flags); | 
| 475 | 478 | 
| 476   Cfg *Func; | 479   Cfg *Func; | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 568   virtual void lower() {} | 571   virtual void lower() {} | 
| 569 | 572 | 
| 570 protected: | 573 protected: | 
| 571   explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 574   explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 
| 572   GlobalContext *Ctx; | 575   GlobalContext *Ctx; | 
| 573 }; | 576 }; | 
| 574 | 577 | 
| 575 } // end of namespace Ice | 578 } // end of namespace Ice | 
| 576 | 579 | 
| 577 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 580 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 
| OLD | NEW | 
|---|