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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1455033005: Subzero. Adds a pass for target-specific helper call generation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years 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/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('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/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX86Base.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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void lowerInsertElement(const InstInsertElement *Inst) override; 175 void lowerInsertElement(const InstInsertElement *Inst) override;
176 void lowerLoad(const InstLoad *Inst) override; 176 void lowerLoad(const InstLoad *Inst) override;
177 void lowerPhi(const InstPhi *Inst) override; 177 void lowerPhi(const InstPhi *Inst) override;
178 void lowerSelect(const InstSelect *Inst) override; 178 void lowerSelect(const InstSelect *Inst) override;
179 void lowerStore(const InstStore *Inst) override; 179 void lowerStore(const InstStore *Inst) override;
180 void lowerSwitch(const InstSwitch *Inst) override; 180 void lowerSwitch(const InstSwitch *Inst) override;
181 void lowerUnreachable(const InstUnreachable *Inst) override; 181 void lowerUnreachable(const InstUnreachable *Inst) override;
182 void lowerOther(const Inst *Instr) override; 182 void lowerOther(const Inst *Instr) override;
183 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); 183 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW);
184 void prelowerPhis() override; 184 void prelowerPhis() override;
185 void genTargetHelperCallFor(Inst *Instr) override { (void)Instr; }
185 void doAddressOptLoad() override; 186 void doAddressOptLoad() override;
186 void doAddressOptStore() override; 187 void doAddressOptStore() override;
187 void doMockBoundsCheck(Operand *Opnd) override; 188 void doMockBoundsCheck(Operand *Opnd) override;
188 void randomlyInsertNop(float Probability, 189 void randomlyInsertNop(float Probability,
189 RandomNumberGenerator &RNG) override; 190 RandomNumberGenerator &RNG) override;
190 191
191 /// Naive lowering of cmpxchg. 192 /// Naive lowering of cmpxchg.
192 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, 193 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
193 Operand *Desired); 194 Operand *Desired);
194 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. 195 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized.
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br); 772 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br);
772 773
773 BoolFolding FoldingInfo; 774 BoolFolding FoldingInfo;
774 }; 775 };
775 } // end of namespace X86Internal 776 } // end of namespace X86Internal
776 } // end of namespace Ice 777 } // end of namespace Ice
777 778
778 #include "IceTargetLoweringX86BaseImpl.h" 779 #include "IceTargetLoweringX86BaseImpl.h"
779 780
780 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 781 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698