| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 /// Returns the smallest type which is equal to or larger than Size bytes. If | 264 /// Returns the smallest type which is equal to or larger than Size bytes. If |
| 265 /// one doesn't exist then the largest type smaller than Size bytes is | 265 /// one doesn't exist then the largest type smaller than Size bytes is |
| 266 /// returned. The type is suitable for memory copies as described at | 266 /// returned. The type is suitable for memory copies as described at |
| 267 /// largestTypeInSize. | 267 /// largestTypeInSize. |
| 268 static Type firstTypeThatFitsSize(uint32_t Size, | 268 static Type firstTypeThatFitsSize(uint32_t Size, |
| 269 uint32_t MaxSize = NoSizeLimit); | 269 uint32_t MaxSize = NoSizeLimit); |
| 270 | 270 |
| 271 Variable *copyToReg8(Operand *Src, int32_t RegNum = Variable::NoRegister); | 271 Variable *copyToReg8(Operand *Src, int32_t RegNum = Variable::NoRegister); |
| 272 Variable *copyToReg(Operand *Src, int32_t RegNum = Variable::NoRegister); | 272 Variable *copyToReg(Operand *Src, int32_t RegNum = Variable::NoRegister); |
| 273 | 273 |
| 274 /// Returns a register containing all zeros, without affecting the FLAGS |
| 275 /// register, using the best instruction for the type. |
| 276 Variable *makeZeroedRegister(Type Ty, int32_t RegNum = Variable::NoRegister); |
| 277 |
| 274 /// \name Returns a vector in a register with the given constant entries. | 278 /// \name Returns a vector in a register with the given constant entries. |
| 275 /// @{ | 279 /// @{ |
| 276 Variable *makeVectorOfZeros(Type Ty, int32_t RegNum = Variable::NoRegister); | 280 Variable *makeVectorOfZeros(Type Ty, int32_t RegNum = Variable::NoRegister); |
| 277 Variable *makeVectorOfOnes(Type Ty, int32_t RegNum = Variable::NoRegister); | 281 Variable *makeVectorOfOnes(Type Ty, int32_t RegNum = Variable::NoRegister); |
| 278 Variable *makeVectorOfMinusOnes(Type Ty, | 282 Variable *makeVectorOfMinusOnes(Type Ty, |
| 279 int32_t RegNum = Variable::NoRegister); | 283 int32_t RegNum = Variable::NoRegister); |
| 280 Variable *makeVectorOfHighOrderBits(Type Ty, | 284 Variable *makeVectorOfHighOrderBits(Type Ty, |
| 281 int32_t RegNum = Variable::NoRegister); | 285 int32_t RegNum = Variable::NoRegister); |
| 282 Variable *makeVectorOfFabsMask(Type Ty, | 286 Variable *makeVectorOfFabsMask(Type Ty, |
| 283 int32_t RegNum = Variable::NoRegister); | 287 int32_t RegNum = Variable::NoRegister); |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br); | 752 lowerIcmp64(const InstIcmp *Icmp, const InstBr *Br); |
| 749 | 753 |
| 750 BoolFolding FoldingInfo; | 754 BoolFolding FoldingInfo; |
| 751 }; | 755 }; |
| 752 } // end of namespace X86Internal | 756 } // end of namespace X86Internal |
| 753 } // end of namespace Ice | 757 } // end of namespace Ice |
| 754 | 758 |
| 755 #include "IceTargetLoweringX86BaseImpl.h" | 759 #include "IceTargetLoweringX86BaseImpl.h" |
| 756 | 760 |
| 757 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H | 761 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H |
| OLD | NEW |