Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index ca26fe185e8bea53b4cbe5ea55ffe102eb810166..d8570f739d763fe62b72cf234fa8f29e10240386 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -560,6 +560,8 @@ protected: |
Context.getLastInserted()->setDestNonKillable(); |
} |
+ bool optimizeScalarMul(Variable *Dest, Operand *Src0, int32_t Src1); |
+ |
const X86InstructionSet InstructionSet; |
bool IsEbpBasedFrame; |
bool NeedsStackAlignment; |
@@ -570,6 +572,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; |