/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 46 // Shift as little as possible to maximize precision. 48 int Shift = 64 - LeadingZeros; local 50 Upper = Upper << LeadingZeros | Lower >> Shift; 51 return getRounded(Upper, Shift, 52 Shift && (Lower & UINT64_C(1) << (Shift - 1))); 64 int Shift = 0; local 66 Shift -= Zeros; 74 return getAdjusted<uint32_t>(Quotient, Shift); 77 return getRounded<uint32_t>(Quotient, Shift, Remainde 86 int Shift = 0; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | LEB128.h | 133 unsigned Shift = 0; 145 if (Shift >= 64 || Slice << Shift >> Shift != Slice) { 152 Value += uint64_t(*p & 0x7f) << Shift; 153 Shift += 7; 166 unsigned Shift = 0; 179 Value |= (uint64_t(Byte & 0x7f) << Shift); 180 Shift += 7; 183 if (Shift < 6 [all...] |
H A D | ScaledNumber.h | 87 // Shift right and round. 88 int Shift = 64 - Width - countLeadingZeros(Digits); local 89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 90 Digits & (UINT64_C(1) << (Shift - 1))); 276 /// scales in place. Shift the digits as necessary to form equivalent numbers, 306 // Shift LDigits left as much as possible, then shift RDigits right. 623 ScaledNumber &operator<<=(int16_t Shift) { argument 624 shiftLeft(Shift); 627 ScaledNumber &operator>>=(int16_t Shift) { argument 700 adjustToWidth(uint64_t N, int32_t Shift) argument 730 operator <<(const ScaledNumber<DigitsT> &L, int16_t Shift) argument 736 operator >>(const ScaledNumber<DigitsT> &L, int16_t Shift) argument 833 shiftLeft(int32_t Shift) argument 860 Digits <<= Shift; local 863 shiftRight(int32_t Shift) argument 886 Digits >>= Shift; local [all...] |
H A D | MathExtras.h | 99 T Shift = std::numeric_limits<T>::digits >> 1; local 100 T Mask = std::numeric_limits<T>::max() >> Shift; 101 while (Shift) { 103 Val >>= Shift; local 104 ZeroBits |= Shift; 106 Shift >>= 1; 107 Mask >>= Shift; local 171 for (T Shift = std::numeric_limits<T>::digits >> 1; Shift; Shift >> [all...] |
H A D | LowLevelTypeImpl.h | 237 static uint64_t maskAndShift(uint64_t Val, uint64_t Mask, uint8_t Shift) { argument 239 return (Val & Mask) << Shift;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | OperatorPrecedence.h | 39 Shift = 12, // <<, >> enumerator in enum:clang::prec::Level
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ExpandImm.cpp | 270 unsigned Shift = 0; // LSL amount for high bits with MOVZ/MOVN local 275 Shift = (TZ / 16) * 16; 278 unsigned Imm16 = (Imm >> Shift) & Mask; 281 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); 283 if (Shift == LastShift) 292 while (Shift < LastShift) { 293 Shift += 16; 294 Imm16 = (Imm >> Shift) & Mask; 299 AArch64_AM::getShifterImm(AArch64_AM::LSL, Shift) }); 313 for (unsigned Shift [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/ |
H A D | stack_trace_compressor.cpp | 37 uint8_t Shift = 0; local 40 *Out |= (static_cast<uintptr_t>(In[i]) & 0x7f) << Shift; 45 Shift += 7; 48 if (Shift >= sizeof(uintptr_t) * 8)
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | PointerEmbeddedInt.h | 44 Shift = sizeof(uintptr_t) * CHAR_BIT - Bits, 66 Value = static_cast<uintptr_t>(I) << Shift; 74 return static_cast<IntT>(static_cast<intptr_t>(Value) >> Shift); 75 return static_cast<IntT>(Value >> Shift); 97 enum { NumLowBitsAvailable = T::Shift };
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTInfo.h | 38 #define PRINTCOMP(GetMacro, Shift) \ 41 (int)GetMacro(C.compute_pgm_resource_registers >> Shift); \ 43 #define PARSECOMP(SetMacro, Shift) \ 48 C.compute_pgm_resource_registers &= ~(SetMacro(0xFFFFFFFFFFFFFFFFULL) << Shift); \ 49 C.compute_pgm_resource_registers |= SetMacro(Value) << Shift; \ 53 #define COMPPGM(name, aname, GetMacro, SetMacro, Shift) \ 54 RECORD(name, aname, PRINTCOMP(GetMacro, Shift), PARSECOMP(SetMacro, Shift))
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 37 return prec::Shift; 66 case tok::lessless: return prec::Shift;
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_ppmd_private.h | 108 Byte Shift; /* Speed of Freq change; low Shift is for fast change */ member in struct:__anon24 109 Byte Count; /* Count to next change of Shift */ 112 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \ 113 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 317 dbgs() << '[' << Depth << "] Shift not known constant: " << *RHSMI); 320 uint64_t Shift = RHSKnown.getConstant().getZExtValue(); local 321 LLVM_DEBUG(dbgs() << '[' << Depth << "] Shift is " << Shift << '\n'); local 328 Known.Zero = Known.Zero.ashr(Shift); 329 Known.One = Known.One.ashr(Shift); 332 Known.Zero = Known.Zero.lshr(Shift); 333 Known.One = Known.One.lshr(Shift); 334 Known.Zero.setBitsFrom(Known.Zero.getBitWidth() - Shift); 337 Known.Zero = Known.Zero.shl(Shift); [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | WhitespaceManager.cpp | 237 int Shift = 0; local 271 Shift = 0; 280 Shift = Column - Changes[i].StartOfTokenColumn; 281 Changes[i].Spaces += Shift; 291 Changes[i].Spaces += Shift; 294 assert(Shift >= 0); 295 Changes[i].StartOfTokenColumn += Shift; 297 Changes[i + 1].PreviousEndOfTokenColumn += Shift; 447 int Shift = 0; local 451 Shift 695 int Shift = 0; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | LLDBServerUtilities.cpp | 51 channel_then_categories.Shift(); // Shift off the channel
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 36 ConstantInt *Shift; local 39 Shift = Builder.getInt64(63); 42 Shift = Builder.getInt32(31); 57 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); 58 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); 108 ConstantInt *Shift; local 111 Shift = Builder.getInt64(63); 114 Shift = Builder.getInt32(31); 130 Value *Tmp = Builder.CreateAShr(Dividend, Shift); 131 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift); [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/ |
H A D | ASTDiff.h | 39 int Depth, Height, Shift = 0; member in struct:clang::diff::Node
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 903 unsigned Shift; // The amount shifted. member in struct:__anon2616::PHIUsageRecord 907 : PHIId(pn), Shift(Sh), Inst(User) {} 912 if (Shift < RHS.Shift) return true; 913 if (Shift > RHS.Shift) return false; 921 unsigned Shift; // The amount shifted. member in struct:__anon2616::LoweredPHIRecord 925 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} 929 : PN(pn), Shift(Sh), Width(0) {} 943 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>> 1024 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 206 static uint64_t shiftRightAndRound(uint64_t N, int Shift) { 207 assert(Shift >= 0); 208 assert(Shift < 64); 209 if (!Shift) 211 return (N >> Shift) + (UINT64_C(1) & N >> (Shift - 1)); 234 int Shift = 0; local 236 Shift = 33; 238 Shift = 33 - countLeadingZeros(Total); 241 if (!Shift) { [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MicroMipsSizeReduction.cpp | 52 ImmField() : ImmFieldOperand(-1), Shift(0), LBound(0), HBound(0) {} 53 ImmField(uint8_t Shift, int16_t LBound, int16_t HBound, argument 55 : ImmFieldOperand(ImmFieldOperand), Shift(Shift), LBound(LBound), 58 uint8_t Shift; // Shift value member in struct:__anon2316::ImmField 105 uint8_t Shift() const { return Imm.Shift; } function in struct:__anon2316::ReduceEntry 213 // ImmField(Shift, LBound, HBound, ImmFieldPosition) 326 // bits equal to Shift an 327 InRange(int64_t Value, unsigned short Shift, int LBound, int HBound) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | CompletionRequest.h | 120 m_parsed_line.Shift();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AddressingModes.h | 802 for (int Shift = 0; Shift <= RegWidth - 16; Shift += 16) 803 if ((Value & ~(0xffffULL << Shift)) == 0) 809 inline static bool isMOVZMovAlias(uint64_t Value, int Shift, int RegWidth) { argument 814 if (Value == 0 && Shift != 0) 817 return (Value & ~(0xffffULL << Shift)) == 0; 820 inline static bool isMOVNMovAlias(uint64_t Value, int Shift, int RegWidth) { argument 829 return isMOVZMovAlias(Value, Shift, RegWidth);
|
/freebsd-11-stable/stand/pc98/boot0.5/ |
H A D | putssjis.s | 35 # Display string with Shift-JIS support 113 # Convert Shift-JIS into JIS.
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNRegBankReassign.cpp | 501 unsigned Shift = countTrailingZeros(LM); 502 if (Shift >= NUM_VGPR_BANKS) 505 FreeBanks = ((VB >> Shift) | (VB << (NUM_VGPR_BANKS - Shift))) & 508 unsigned Shift = countTrailingZeros(LM) >> 1; 509 if (Shift >= NUM_SGPR_BANKS) 512 FreeBanks = ((SB >> Shift) | (SB << (NUM_SGPR_BANKS - Shift))) &
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_add_impl.inc | 85 // Shift the significands to give us round, guard and sticky, and set the 92 // Shift the significand of b by the difference in exponents, with a sticky 144 // Shift the significand into place, and mask off the implicit bit.
|