/prebuilts/go/darwin-x86/src/go/constant/ |
value.go | 1005 // or Shift instead. 1187 // Shift returns the result of the shift expression x op s 1191 func Shift(x Value, op token.Token, s uint) Value { 1221 panic(fmt.Sprintf("invalid shift %v %s %d", x, op, s))
|
/prebuilts/go/linux-x86/src/go/constant/ |
value.go | 1005 // or Shift instead. 1187 // Shift returns the result of the shift expression x op s 1191 func Shift(x Value, op token.Token, s uint) Value { 1221 panic(fmt.Sprintf("invalid shift %v %s %d", x, op, s))
|
/external/capstone/arch/AArch64/ |
AArch64InstPrinter.c | 134 // instruction. In all cases the immediate shift amount shift must be in 138 int shift = 0; local 144 shift = 31 - imms; 148 shift = 63 - imms; 151 shift = immr; 154 shift = immr; 157 shift = immr; 160 shift = immr; 168 printInt32Bang(O, shift); [all...] |
/external/llvm/include/llvm/Support/ |
MathExtras.h | 54 T Shift = std::numeric_limits<T>::digits >> 1; 55 T Mask = std::numeric_limits<T>::max() >> Shift; 56 while (Shift) { 58 Val >>= Shift; 59 ZeroBits |= Shift; 61 Shift >>= 1; 62 Mask >>= Shift; 126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 624 ScaledNumber &operator<<=(int16_t Shift) { [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMCCodeEmitter.cpp | 203 /// getShiftOp - Return the shift opcode (bit[6:5]) of the immediate value. 423 unsigned Shift = IsLittleEndian ? i * 8 : (Size - 1 - i) * 8; 424 EmitByte((Val >> Shift) & 0xff, OS); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonStoreWidening.cpp | 407 unsigned Shift = 0; 417 unsigned Val = (SO.getImm() & Mask) << Shift; 419 Shift += NBits;
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCInstrInfo.cpp | 101 unsigned Shift = HexagonMCInstrInfo::getExtentAlignment(MCII, MCI); 103 MCConstantExpr::create((Value & 0x3f) << Shift, Context), Context));
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 498 // Can fold binop, compare or shift here if the RHS is a constant, 634 unsigned Shift; // The amount shifted. 638 : PHIId(pn), Shift(Sh), Inst(User) {} 643 if (Shift < RHS.Shift) return true; 644 if (Shift > RHS.Shift) return false; 652 unsigned Shift; // The amount shifted. 656 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 660 : PN(pn), Shift(Sh), Width(0) { [all...] |
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 37 ConstantInt *Shift; 40 Shift = Builder.getInt64(63); 43 Shift = Builder.getInt32(31); 46 // Following instructions are generated for both i32 (shift 31) and 47 // i64 (shift 63). 58 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); 59 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); 109 ConstantInt *Shift; 112 Shift = Builder.getInt64(63); 115 Shift = Builder.getInt32(31) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
MSP430ISelLowering.cpp | 603 assert(0 && "Invalid shift opcode!"); 618 // FIXME: for some shift amounts this might be done better! 792 bool Shift = false; 810 Shift = true; 815 Shift = true; 825 if (Shift) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
PPCISelDAGToDAG.cpp | 85 /// isRotateAndMask - Returns true if Mask and Shift can be folded into a 339 unsigned Shift = 32; 343 !isInt32Immediate(N->getOperand(1).getNode(), Shift) || (Shift > 31)) 347 // apply shift left to mask if it comes first 348 if (isShiftMask) Mask = Mask << Shift; 349 // determine which bits are made indeterminant by shift 350 Indeterminant = ~(0xFFFFFFFFu << Shift); 352 // apply shift right to mask if it comes first 353 if (isShiftMask) Mask = Mask >> Shift; [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 417 // Can fold binop, compare or shift here if the RHS is a constant, 558 unsigned Shift; // The amount shifted. 562 : PHIId(pn), Shift(Sh), Inst(User) {} 567 if (Shift < RHS.Shift) return true; 568 if (Shift > RHS.Shift) return false; 576 unsigned Shift; // The amount shifted. 580 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 584 : PN(pn), Shift(Sh), Width(0) { [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
MathExtras.h | 54 T Shift = std::numeric_limits<T>::digits >> 1; 55 T Mask = std::numeric_limits<T>::max() >> Shift; 56 while (Shift) { 58 Val >>= Shift; 59 ZeroBits |= Shift; 61 Shift >>= 1; 62 Mask >>= Shift; 126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceTargetLoweringX8664.cpp | 349 uint16_t Shift = 0; 378 Shift = Mem->getShift(); 404 if (Shift == 0 && isAssignedToRspOrRbp(Index) && ZeroReg == RebasePtr) { 408 Shift = Mem->getShift(); 478 if (Shift == 0) { 484 Func, Mem->getType(), Base, Offset, Index, Shift, 489 Shift = 0; 495 Func, Mem->getType(), ZeroReg, Offset, T, Shift, 566 Addr->Shift = 0;
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_hostheader.c | 183 IMG_INT16 Shift; 227 Shift = (IMG_INT16)((8 - bit_cnt) - (size_bits_p[0] & 7)); 229 if (Shift >= 0) { 230 wrt_bits <<= Shift; 235 InputVal.UI16Input >>= -Shift; 240 size_bits_p[0] = size_bits_p[0] - ((IMG_UINT8) - Shift); 241 InputVal.UI8Input[0] = InputVal.UI8Input[0] >> (8 + Shift); 243 lnc__write_upto8bits_elements(mtx_hdr, elt_p, InputVal.UI8Input[0], (IMG_UINT16) - Shift); [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_hostheader.c | 183 IMG_INT16 Shift; 227 Shift = (IMG_INT16)((8 - bit_cnt) - (size_bits_p[0] & 7)); 229 if (Shift >= 0) { 230 wrt_bits <<= Shift; 235 InputVal.UI16Input >>= -Shift; 240 size_bits_p[0] = size_bits_p[0] - ((IMG_UINT8) - Shift); 241 InputVal.UI8Input[0] = InputVal.UI8Input[0] >> (8 + Shift); 243 pnw__write_upto8bits_elements(mtx_hdr, elt_p, InputVal.UI8Input[0], (IMG_UINT16) - Shift); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
MathExtras.h | 54 T Shift = std::numeric_limits<T>::digits >> 1; 55 T Mask = std::numeric_limits<T>::max() >> Shift; 56 while (Shift) { 58 Val >>= Shift; 59 ZeroBits |= Shift; 61 Shift >>= 1; 62 Mask >>= Shift; 126 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 624 ScaledNumber &operator<<=(int16_t Shift) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
MathExtras.h | 55 T Shift = std::numeric_limits<T>::digits >> 1; 56 T Mask = std::numeric_limits<T>::max() >> Shift; 57 while (Shift) { 59 Val >>= Shift; 60 ZeroBits |= Shift; 62 Shift >>= 1; 63 Mask >>= Shift; 127 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 624 ScaledNumber &operator<<=(int16_t Shift) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
MathExtras.h | 55 T Shift = std::numeric_limits<T>::digits >> 1; 56 T Mask = std::numeric_limits<T>::max() >> Shift; 57 while (Shift) { 59 Val >>= Shift; 60 ZeroBits |= Shift; 62 Shift >>= 1; 63 Mask >>= Shift; 127 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 624 ScaledNumber &operator<<=(int16_t Shift) { [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
MathExtras.h | 55 T Shift = std::numeric_limits<T>::digits >> 1; 56 T Mask = std::numeric_limits<T>::max() >> Shift; 57 while (Shift) { 59 Val >>= Shift; 60 ZeroBits |= Shift; 62 Shift >>= 1; 63 Mask >>= Shift; 127 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >>= 1) [all...] |
ScaledNumber.h | 88 // Shift right and round. 89 int Shift = 64 - Width - countLeadingZeros(Digits); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 91 Digits & (UINT64_C(1) << (Shift - 1))); 277 /// scales in place. Shift the digits as necessary to form equivalent numbers, 307 // Shift LDigits left as much as possible, then shift RDigits right. 309 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 624 ScaledNumber &operator<<=(int16_t Shift) { [all...] |