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

Unified Diff: src/IceTargetLoweringX8632.h

Issue 1185703004: Add constant blinding/pooling option for X8632 code translation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: reformat Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index ca26fe185e8bea53b4cbe5ea55ffe102eb810166..64538763e273ce25c64248b8ea1a36104fdf8b86 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -570,6 +570,15 @@ protected:
VarList PhysicalRegisters[IceType_NUM];
static IceString RegNames[];
+ // Randomize a given immediate operand
+ uint32_t getRandomizationCookie();
Jim Stichnoth 2015/06/12 23:48:18 I think this method should be const.
+ Operand *randomizeOrPoolImmediate(Constant *immediate,
Jim Stichnoth 2015/06/12 23:48:18 capitalize "immediate"
+ int32_t RegNum = Variable::NoRegister);
+ OperandX8632Mem *
+ randomizeOrPoolImmediate(OperandX8632Mem *MemOperand,
+ int32_t RegNum = Variable::NoRegister);
+ bool RandomizationPoolingPaused;
+
private:
~TargetX8632() override {}
BoolFolding FoldingInfo;

Powered by Google App Engine
This is Rietveld 408576698