| Index: src/IceTargetLoweringX8632.h
|
| diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
|
| index 4213a595d930c449d101162c4744f369511ac417..129684a8ae3e7f148edb1038e4a3be6b48039c45 100644
|
| --- a/src/IceTargetLoweringX8632.h
|
| +++ b/src/IceTargetLoweringX8632.h
|
| @@ -120,6 +120,9 @@ public:
|
| // i8, and i16 are rounded up to 4 bytes.
|
| return (typeWidthInBytes(Ty) + 3) & ~3;
|
| }
|
| + size_t minStackSlotSizeLog2() const final { return 2; }
|
| + size_t maxStackSlotSizeLog2() const final { return 4; }
|
| +
|
| void emitVariable(const Variable *Var) const override;
|
|
|
| const char *getConstantPrefix() const final { return "$"; }
|
| @@ -139,10 +142,10 @@ public:
|
| // function calls using the 32-bit push instruction (though the
|
| // latter could be done by directly writing to the stack).
|
| void split64(Variable *Var);
|
| - void finishArgumentLowering(Variable *Arg, Variable *FramePtr,
|
| - size_t BasicFrameOffset, size_t &InArgsSizeBytes);
|
| Operand *loOperand(Operand *Operand);
|
| Operand *hiOperand(Operand *Operand);
|
| + void finishArgumentLowering(Variable *Arg, Variable *FramePtr,
|
| + size_t BasicFrameOffset, size_t &InArgsSizeBytes);
|
| X8632::Address stackVarToAsmOperand(const Variable *Var) const;
|
|
|
| enum X86InstructionSet {
|
| @@ -205,8 +208,6 @@ protected:
|
| void scalarizeArithmetic(InstArithmetic::OpKind K, Variable *Dest,
|
| Operand *Src0, Operand *Src1);
|
|
|
| - void sortByAlignment(VarList &Dest, const VarList &Source) const;
|
| -
|
| // Operand legalization helpers. To deal with address mode
|
| // constraints, the helpers will create a new Operand and emit
|
| // instructions that guarantee that the Operand kind is one of those
|
| @@ -303,11 +304,6 @@ protected:
|
| void _bswap(Variable *SrcDest) {
|
| Context.insert(InstX8632Bswap::create(Func, SrcDest));
|
| }
|
| - void
|
| - _bundle_lock(InstBundleLock::Option BundleOption = InstBundleLock::Opt_None) {
|
| - Context.insert(InstBundleLock::create(Func, BundleOption));
|
| - }
|
| - void _bundle_unlock() { Context.insert(InstBundleUnlock::create(Func)); }
|
| void _cbwdq(Variable *Dest, Operand *Src0) {
|
| Context.insert(InstX8632Cbwdq::create(Func, Dest, Src0));
|
| }
|
|
|