| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| APSInt.cpp | 25 unsigned NumBits = ((Str.size() * 64) / 19) + 2; 26 APInt Tmp(NumBits, Str, /*radix=*/10); 29 if (MinBits < NumBits) 35 if (ActiveBits < NumBits)
|
| /src/external/apache2/llvm/dist/llvm/lib/TextAPI/ |
| Architecture.cpp | 24 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ 36 #define ARCHINFO(Arch, Type, Subtype, NumBits) .Case(#Arch, AK_##Arch) 44 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ 60 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ 80 #define ARCHINFO(Arch, Type, Subtype, NumBits) \ 82 return NumBits == 64;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/ |
| BitstreamReader.h | 190 Expected<word_t> Read(unsigned NumBits) { 193 assert(NumBits && NumBits <= BitsInWord && 199 if (BitsInCurWord >= NumBits) { 200 word_t R = CurWord & (~word_t(0) >> (BitsInWord - NumBits)); 203 CurWord >>= (NumBits & Mask); 205 BitsInCurWord -= NumBits; 210 unsigned BitsLeft = NumBits - BitsInCurWord; 228 R |= R2 << (NumBits - BitsLeft); 233 Expected<uint32_t> ReadVBR(unsigned NumBits) { [all...] |
| BitstreamWriter.h | 202 void Emit(uint32_t Val, unsigned NumBits) { 203 assert(NumBits && NumBits <= 32 && "Invalid value size!"); 204 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 206 if (CurBit + NumBits < 32) { 207 CurBit += NumBits; 218 CurBit = (CurBit+NumBits) & 31; 229 void EmitVBR(uint32_t Val, unsigned NumBits) { 230 assert(NumBits <= 32 && "Too many bits to emit!"); 231 uint32_t Threshold = 1U << (NumBits-1) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| Boolean.h | 56 APSInt toAPSInt(unsigned NumBits) const { 57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); 84 static Boolean min(unsigned NumBits) { return Boolean(false); } 85 static Boolean max(unsigned NumBits) { return Boolean(true); } 106 static Boolean from(T Value, unsigned NumBits) { 110 static bool inRange(int64_t Value, unsigned NumBits) {
|
| Integral.h | 109 APSInt toAPSInt(unsigned NumBits) const { 111 return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed); 113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed); 151 static Integral min(unsigned NumBits) { 154 static Integral max(unsigned NumBits) { 178 template <typename T> static Integral from(T Value, unsigned NumBits) { 182 static bool inRange(int64_t Value, unsigned NumBits) {
|
| ByteCodeExprGen.h | 194 bool emitConst(PrimType T, unsigned NumBits, const llvm::APInt &Value, 200 unsigned NumBits = getIntWidth(Ty); 201 APInt WrappedValue(NumBits, Value, std::is_signed<T>::value); 202 return emitConst(*Ctx.classify(Ty), NumBits, WrappedValue, E);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/ |
| BitcodeAnalyzer.h | 66 /// NumBits - The total size in bits of all of these blocks. 67 uint64_t NumBits; 78 : NumInstances(0), NumBits(0), NumSubBlocks(0), NumAbbrevs(0),
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/TextAPI/ |
| Architecture.h | 28 #define ARCHINFO(Arch, Type, SubType, NumBits) AK_##Arch,
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| KnownBits.h | 208 /// [bitPosition,bitPosition+numBits). 209 KnownBits extractBits(unsigned NumBits, unsigned BitPosition) const { 210 return KnownBits(Zero.extractBits(NumBits, BitPosition), 211 One.extractBits(NumBits, BitPosition)); 379 /// Return a subset of the known bits from [bitPosition,bitPosition+numBits). 380 KnownBits extractBits(unsigned NumBits, unsigned BitPosition) { 381 return KnownBits(Zero.extractBits(NumBits, BitPosition), 382 One.extractBits(NumBits, BitPosition));
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| Waymarking.h | 119 template <unsigned NumBits> struct WaymarkingTraits { 122 NUM_BITS = NumBits, 191 template <unsigned NumBits> 193 const uint8_t WaymarkingTraits<NumBits>::TagsData<
|
| BitVector.h | 155 unsigned NumBits = 0; 157 NumBits += countPopulation(Bit); 158 return NumBits;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| Thumb2InstrInfo.cpp | 623 unsigned NumBits = 0; 632 NumBits = 8; 637 NumBits = 12; 645 NumBits = 8; 659 NumBits = 8; 673 case ARMII::AddrModeT2_i7s4: NumBits = 9; OffsetMask = 0x3; break; 674 case ARMII::AddrModeT2_i7s2: NumBits = 8; OffsetMask = 0x1; break; 675 default: NumBits = 7; OffsetMask = 0x0; break; 683 NumBits = 8 + 2; 689 NumBits = 8; // 8 bits scaled by [all...] |
| ARMBaseRegisterInfo.cpp | 713 unsigned NumBits = 0; 723 NumBits = 8; 726 NumBits = 12; 731 NumBits = 8; 736 NumBits = 12; 739 NumBits = 8; 742 NumBits = (BaseReg == ARM::SP ? 8 : 5); 759 unsigned Mask = (1 << NumBits) - 1;
|
| ThumbRegisterInfo.cpp | 386 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; 395 unsigned Mask = (1 << NumBits) - 1; 411 NumBits = 5; 412 Mask = (1 << NumBits) - 1;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/ |
| PDBTypes.h | 485 #define VARIANT_WIDTH(Enum, NumBits) \ 487 return NumBits; 510 #define VARIANT_APSINT(Enum, NumBits, IsUnsigned) \ 512 return APSInt(APInt(NumBits, Value.Enum), IsUnsigned);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineShifts.cpp | 483 static bool canEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift, 502 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && 503 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); 507 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); 513 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && 514 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); 522 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) 594 static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, 599 return IC.Builder.CreateShl(C, NumBits); 601 return IC.Builder.CreateLShr(C, NumBits); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/Disassembler/ |
| M68kDisassembler.cpp | 75 uint64_t readBits(unsigned NumBits); 184 uint64_t M68kInstructionReader::readBits(unsigned NumBits) { 185 assert((size() >= NumBits) && "not enough bits to read"); 194 while (BitsRead < NumBits) { 196 unsigned ToRead = std::min(NumBits, AvailableThisWord);
|
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| AsmWriterEmitter.cpp | 372 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); 375 if (NumBits > BitsLeft) { 376 LLVM_DEBUG(errs() << "Not enough bits to densely encode " << NumBits 397 BitsLeft -= NumBits; 487 unsigned NumBits = Log2_32_Ceil(Commands.size()); 488 assert(NumBits <= BitsLeft && "consistency error"); 491 O << "\n // Fragment " << i << " encoded into " << NumBits 498 << ((1 << NumBits)-1) << ") {\n" 509 << ((1 << NumBits)-1) << ") {\n" 520 BitsLeft -= NumBits; [all...] |
| FixedLenDecoderEmitter.cpp | 273 unsigned NumBits; // number of bits to filter 294 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 456 unsigned NumBits) const; 548 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed), 555 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, 557 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { 558 assert(StartBit + NumBits - 1 < Owner->BitWidth); 571 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits); [all...] |
| SearchableTableEmitter.cpp | 165 unsigned NumBits = BI->getNumBits(); 166 if (NumBits <= 8) 168 if (NumBits <= 16) 170 if (NumBits <= 32) 172 if (NumBits <= 64)
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| PPExpressions.cpp | 384 unsigned NumBits; 386 NumBits = TI.getIntWidth(); 388 NumBits = TI.getWCharWidth(); 390 NumBits = TI.getChar16Width(); 392 NumBits = TI.getChar32Width(); 394 NumBits = TI.getCharWidth(); 397 llvm::APSInt Val(NumBits);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/ |
| AVRAsmBackend.cpp | 373 auto NumBits = Info.TargetSize + Info.TargetOffset; 374 auto NumBytes = (NumBits / 8) + ((NumBits % 8) == 0 ? 0 : 1);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| TargetRegisterInfo.h | 1209 /// Move \p NumBits Bits forward in CurrentChunk. 1210 void moveNBits(unsigned NumBits) { 1211 assert(NumBits < 32 && "Undefined behavior spotted!"); 1213 CurrentChunk >>= NumBits; 1215 Idx += NumBits;
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| Type.cpp | 269 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { 270 assert(NumBits >= MIN_INT_BITS && "bitwidth too small"); 271 assert(NumBits <= MAX_INT_BITS && "bitwidth too large"); 274 switch (NumBits) { 285 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; 288 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits);
|