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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1338633005: Subzero: Add a flag to mock up bounds checking on unsafe references. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix comment Created 5 years, 3 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/IceTargetLowering.h ('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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void lowerPhi(const InstPhi *Inst) override; 180 void lowerPhi(const InstPhi *Inst) override;
181 void lowerSelect(const InstSelect *Inst) override; 181 void lowerSelect(const InstSelect *Inst) override;
182 void lowerStore(const InstStore *Inst) override; 182 void lowerStore(const InstStore *Inst) override;
183 void lowerSwitch(const InstSwitch *Inst) override; 183 void lowerSwitch(const InstSwitch *Inst) override;
184 void lowerUnreachable(const InstUnreachable *Inst) override; 184 void lowerUnreachable(const InstUnreachable *Inst) override;
185 void lowerOther(const Inst *Instr) override; 185 void lowerOther(const Inst *Instr) override;
186 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); 186 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW);
187 void prelowerPhis() override; 187 void prelowerPhis() override;
188 void doAddressOptLoad() override; 188 void doAddressOptLoad() override;
189 void doAddressOptStore() override; 189 void doAddressOptStore() override;
190 void doMockBoundsCheck(Operand *Opnd) override;
190 void randomlyInsertNop(float Probability, 191 void randomlyInsertNop(float Probability,
191 RandomNumberGenerator &RNG) override; 192 RandomNumberGenerator &RNG) override;
192 193
193 /// Naive lowering of cmpxchg. 194 /// Naive lowering of cmpxchg.
194 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, 195 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
195 Operand *Desired); 196 Operand *Desired);
196 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. 197 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized.
197 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, 198 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr,
198 Operand *Expected, Operand *Desired); 199 Operand *Expected, Operand *Desired);
199 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, 200 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr,
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 } 727 }
727 728
728 BoolFolding FoldingInfo; 729 BoolFolding FoldingInfo;
729 }; 730 };
730 } // end of namespace X86Internal 731 } // end of namespace X86Internal
731 } // end of namespace Ice 732 } // end of namespace Ice
732 733
733 #include "IceTargetLoweringX86BaseImpl.h" 734 #include "IceTargetLoweringX86BaseImpl.h"
734 735
735 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 736 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceTargetLowering.h ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698