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

Side by Side Diff: src/IceTargetLoweringX86BaseImpl.h

Issue 2208523002: Float Constant CSE (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Address Comments Created 4 years, 4 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
OLDNEW
1 //===- subzero/src/IceTargetLoweringX86BaseImpl.h - x86 lowering -*- C++ -*-==// 1 //===- subzero/src/IceTargetLoweringX86BaseImpl.h - x86 lowering -*- 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 Func->generateLoopInfo(); 453 Func->generateLoopInfo();
454 Func->dump("After loop analysis"); 454 Func->dump("After loop analysis");
455 if (getFlags().getLoopInvariantCodeMotion()) { 455 if (getFlags().getLoopInvariantCodeMotion()) {
456 Func->loopInvariantCodeMotion(); 456 Func->loopInvariantCodeMotion();
457 Func->dump("After LICM"); 457 Func->dump("After LICM");
458 } 458 }
459 459
460 if (getFlags().getLocalCSE() != Ice::LCSE_Disabled) { 460 if (getFlags().getLocalCSE() != Ice::LCSE_Disabled) {
461 Func->localCSE(getFlags().getLocalCSE() == Ice::LCSE_EnabledSSA); 461 Func->localCSE(getFlags().getLocalCSE() == Ice::LCSE_EnabledSSA);
462 Func->dump("After Local CSE"); 462 Func->dump("After Local CSE");
463 Func->floatConstantCSE();
463 } 464 }
464 if (getFlags().getEnableShortCircuit()) { 465 if (getFlags().getEnableShortCircuit()) {
465 Func->shortCircuitJumps(); 466 Func->shortCircuitJumps();
466 Func->dump("After Short Circuiting"); 467 Func->dump("After Short Circuiting");
467 } 468 }
468 469
469 if (!getFlags().getEnablePhiEdgeSplit()) { 470 if (!getFlags().getEnablePhiEdgeSplit()) {
470 // Lower Phi instructions. 471 // Lower Phi instructions.
471 Func->placePhiLoads(); 472 Func->placePhiLoads();
472 if (Func->hasError()) 473 if (Func->hasError())
(...skipping 7610 matching lines...) Expand 10 before | Expand all | Expand 10 after
8083 emitGlobal(*Var, SectionSuffix); 8084 emitGlobal(*Var, SectionSuffix);
8084 } 8085 }
8085 } 8086 }
8086 } break; 8087 } break;
8087 } 8088 }
8088 } 8089 }
8089 } // end of namespace X86NAMESPACE 8090 } // end of namespace X86NAMESPACE
8090 } // end of namespace Ice 8091 } // end of namespace Ice
8091 8092
8092 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H 8093 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASEIMPL_H
OLDNEW
« src/IceCfg.cpp ('K') | « src/IceRegistersMIPS32.h ('k') | src/IceTimerTree.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698