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

Side by Side Diff: src/IceTargetLoweringMIPS32.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/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void lowerLoad(const InstLoad *Inst) override; 109 void lowerLoad(const InstLoad *Inst) override;
110 void lowerPhi(const InstPhi *Inst) override; 110 void lowerPhi(const InstPhi *Inst) override;
111 void lowerRet(const InstRet *Inst) override; 111 void lowerRet(const InstRet *Inst) override;
112 void lowerSelect(const InstSelect *Inst) override; 112 void lowerSelect(const InstSelect *Inst) override;
113 void lowerStore(const InstStore *Inst) override; 113 void lowerStore(const InstStore *Inst) override;
114 void lowerSwitch(const InstSwitch *Inst) override; 114 void lowerSwitch(const InstSwitch *Inst) override;
115 void lowerUnreachable(const InstUnreachable *Inst) override; 115 void lowerUnreachable(const InstUnreachable *Inst) override;
116 void prelowerPhis() override; 116 void prelowerPhis() override;
117 void doAddressOptLoad() override; 117 void doAddressOptLoad() override;
118 void doAddressOptStore() override; 118 void doAddressOptStore() override;
119 void randomlyInsertNop(float Probability) override; 119 void randomlyInsertNop(float Probability,
120 RandomNumberGenerator &RNG) override;
120 void makeRandomRegisterPermutation( 121 void makeRandomRegisterPermutation(
121 llvm::SmallVectorImpl<int32_t> &Permutation, 122 llvm::SmallVectorImpl<int32_t> &Permutation,
122 const llvm::SmallBitVector &ExcludeRegisters) const override; 123 const llvm::SmallBitVector &ExcludeRegisters) const override;
123 124
124 static Type stackSlotType(); 125 static Type stackSlotType();
125 126
126 bool UsesFramePointer = false; 127 bool UsesFramePointer = false;
127 bool NeedsStackAlignment = false; 128 bool NeedsStackAlignment = false;
128 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; 129 llvm::SmallBitVector TypeToRegisterSet[IceType_NUM];
129 llvm::SmallBitVector ScratchRegs; 130 llvm::SmallBitVector ScratchRegs;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 protected: 171 protected:
171 explicit TargetHeaderMIPS32(GlobalContext *Ctx); 172 explicit TargetHeaderMIPS32(GlobalContext *Ctx);
172 173
173 private: 174 private:
174 ~TargetHeaderMIPS32() = default; 175 ~TargetHeaderMIPS32() = default;
175 }; 176 };
176 177
177 } // end of namespace Ice 178 } // end of namespace Ice
178 179
179 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H 180 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698