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

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: change the default sz-seed back to 1. 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
« no previous file with comments | « src/IceOperand.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index 408156f806db5fb540d00c06a94c25934dbf4a33..dda2e4ef22087baabeaccbae917dd08dba58a6f0 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -596,6 +596,14 @@ protected:
VarList PhysicalRegisters[IceType_NUM];
static IceString RegNames[];
+ // Randomize a given immediate operand
+ Operand *randomizeOrPoolImmediate(Constant *Immediate,
+ int32_t RegNum = Variable::NoRegister);
+ OperandX8632Mem *
+ randomizeOrPoolImmediate(OperandX8632Mem *MemOperand,
+ int32_t RegNum = Variable::NoRegister);
+ bool RandomizationPoolingPaused;
+
private:
~TargetX8632() override {}
BoolFolding FoldingInfo;
« no previous file with comments | « src/IceOperand.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698