OLD | NEW |
---|---|
1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
540 } | 540 } |
541 void _pand(Variable *Dest, Operand *Src0) { | 541 void _pand(Variable *Dest, Operand *Src0) { |
542 Context.insert<typename Traits::Insts::Pand>(Dest, Src0); | 542 Context.insert<typename Traits::Insts::Pand>(Dest, Src0); |
543 } | 543 } |
544 void _pandn(Variable *Dest, Operand *Src0) { | 544 void _pandn(Variable *Dest, Operand *Src0) { |
545 Context.insert<typename Traits::Insts::Pandn>(Dest, Src0); | 545 Context.insert<typename Traits::Insts::Pandn>(Dest, Src0); |
546 } | 546 } |
547 void _pblendvb(Variable *Dest, Operand *Src0, Operand *Src1) { | 547 void _pblendvb(Variable *Dest, Operand *Src0, Operand *Src1) { |
548 Context.insert<typename Traits::Insts::Pblendvb>(Dest, Src0, Src1); | 548 Context.insert<typename Traits::Insts::Pblendvb>(Dest, Src0, Src1); |
549 } | 549 } |
550 void _pcmpeq(Variable *Dest, Operand *Src0) { | 550 void _pcmpeq(Variable *Dest, Operand *Src0, |
551 Context.insert<typename Traits::Insts::Pcmpeq>(Dest, Src0); | 551 Type ArithmeticType = IceType_void) { |
Jim Stichnoth
2015/12/20 18:42:23
rename parameter to ArithmeticTypeOverride ?
sehr
2016/01/07 18:53:12
Done.
| |
552 Context.insert<typename Traits::Insts::Pcmpeq>(Dest, Src0, ArithmeticType); | |
552 } | 553 } |
553 void _pcmpgt(Variable *Dest, Operand *Src0) { | 554 void _pcmpgt(Variable *Dest, Operand *Src0) { |
554 Context.insert<typename Traits::Insts::Pcmpgt>(Dest, Src0); | 555 Context.insert<typename Traits::Insts::Pcmpgt>(Dest, Src0); |
555 } | 556 } |
556 void _pextr(Variable *Dest, Operand *Src0, Operand *Src1) { | 557 void _pextr(Variable *Dest, Operand *Src0, Operand *Src1) { |
557 Context.insert<typename Traits::Insts::Pextr>(Dest, Src0, Src1); | 558 Context.insert<typename Traits::Insts::Pextr>(Dest, Src0, Src1); |
558 } | 559 } |
559 void _pinsr(Variable *Dest, Operand *Src0, Operand *Src1) { | 560 void _pinsr(Variable *Dest, Operand *Src0, Operand *Src1) { |
560 Context.insert<typename Traits::Insts::Pinsr>(Dest, Src0, Src1); | 561 Context.insert<typename Traits::Insts::Pinsr>(Dest, Src0, Src1); |
561 } | 562 } |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
811 lowerIcmp64(const InstIcmp *Icmp, const Inst *Consumer); | 812 lowerIcmp64(const InstIcmp *Icmp, const Inst *Consumer); |
812 | 813 |
813 BoolFolding FoldingInfo; | 814 BoolFolding FoldingInfo; |
814 }; | 815 }; |
815 } // end of namespace X86Internal | 816 } // end of namespace X86Internal |
816 } // end of namespace Ice | 817 } // end of namespace Ice |
817 | 818 |
818 #include "IceTargetLoweringX86BaseImpl.h" | 819 #include "IceTargetLoweringX86BaseImpl.h" |
819 | 820 |
820 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 821 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
OLD | NEW |