Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: src/IceTargetLowering.h

Issue 1681003002: ARM32 vector division lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceInstARM32.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/IceInstARM32.cpp ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698