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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1300993002: Use separate random number generator for each randomization pass (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Assign default value of ConstantBlindingCookie in its declaration Created 5 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/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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 void lowerPhi(const InstPhi *Inst) override; 173 void lowerPhi(const InstPhi *Inst) override;
174 void lowerSelect(const InstSelect *Inst) override; 174 void lowerSelect(const InstSelect *Inst) override;
175 void lowerStore(const InstStore *Inst) override; 175 void lowerStore(const InstStore *Inst) override;
176 void lowerSwitch(const InstSwitch *Inst) override; 176 void lowerSwitch(const InstSwitch *Inst) override;
177 void lowerUnreachable(const InstUnreachable *Inst) override; 177 void lowerUnreachable(const InstUnreachable *Inst) override;
178 void lowerOther(const Inst *Instr) override; 178 void lowerOther(const Inst *Instr) override;
179 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW); 179 void lowerRMW(const typename Traits::Insts::FakeRMW *RMW);
180 void prelowerPhis() override; 180 void prelowerPhis() override;
181 void doAddressOptLoad() override; 181 void doAddressOptLoad() override;
182 void doAddressOptStore() override; 182 void doAddressOptStore() override;
183 void randomlyInsertNop(float Probability) override; 183 void randomlyInsertNop(float Probability,
184 RandomNumberGenerator &RNG) override;
184 185
185 /// Naive lowering of cmpxchg. 186 /// Naive lowering of cmpxchg.
186 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected, 187 void lowerAtomicCmpxchg(Variable *DestPrev, Operand *Ptr, Operand *Expected,
187 Operand *Desired); 188 Operand *Desired);
188 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized. 189 /// Attempt a more optimized lowering of cmpxchg. Returns true if optimized.
189 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr, 190 bool tryOptimizedCmpxchgCmpBr(Variable *DestPrev, Operand *Ptr,
190 Operand *Expected, Operand *Desired); 191 Operand *Expected, Operand *Desired);
191 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr, 192 void lowerAtomicRMW(Variable *Dest, uint32_t Operation, Operand *Ptr,
192 Operand *Val); 193 Operand *Val);
193 void lowerCountZeros(bool Cttz, Type Ty, Variable *Dest, Operand *FirstVal, 194 void lowerCountZeros(bool Cttz, Type Ty, Variable *Dest, Operand *FirstVal,
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 } 695 }
695 696
696 BoolFolding FoldingInfo; 697 BoolFolding FoldingInfo;
697 }; 698 };
698 } // end of namespace X86Internal 699 } // end of namespace X86Internal
699 } // end of namespace Ice 700 } // end of namespace Ice
700 701
701 #include "IceTargetLoweringX86BaseImpl.h" 702 #include "IceTargetLoweringX86BaseImpl.h"
702 703
703 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698