/external/llvm/lib/Support/ |
APSInt.cpp | 24 unsigned NumBits = ((Str.size() * 64) / 19) + 2; 25 APInt Tmp(NumBits, Str, /*Radix=*/10); 28 if (MinBits > 0 && MinBits < NumBits) 34 if (ActiveBits > 0 && ActiveBits < NumBits)
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BitSet.cs | 260 public int NumBits() {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
BitSet.cs | 307 public int NumBits()
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 290 unsigned NumBits; 292 NumBits = TI.getIntWidth(); 294 NumBits = TI.getWCharWidth(); 296 NumBits = TI.getChar16Width(); 298 NumBits = TI.getChar32Width(); 300 NumBits = TI.getCharWidth(); 303 llvm::APSInt Val(NumBits);
|
/external/llvm/include/llvm/ADT/ |
BitVector.h | 122 unsigned NumBits = 0; 124 NumBits += countPopulation(Bits[i]); 125 return NumBits;
|
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 476 uint64_t NumBits = atoull(StartChar, CurPtr); 477 if (NumBits < IntegerType::MIN_INT_BITS || 478 NumBits > IntegerType::MAX_INT_BITS) { 482 TyVal = IntegerType::get(Context, NumBits);
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 365 /// NumBits - The total size in bits of all of these blocks. 366 uint64_t NumBits; 382 : NumInstances(0), NumBits(0), 414 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 455 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 713 PrintSize(Stats.NumBits); 715 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; 719 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 35 int NumBits;
39 NumBits = 0;
41 public UInt32 GetRnd(int numBits)
44 if (NumBits > numBits)
46 result = Value & (((UInt32)1 << numBits) - 1);
47 Value >>= numBits;
48 NumBits -= numBits;
51 numBits -= NumBits; [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeDAG.cpp | 408 int NumBits = NewStoredVT.getSizeInBits(); 409 int IncrementSize = NumBits / 8; 413 DAG.getConstant(NumBits, dl, TLI.getShiftAmountTy(Val.getValueType(), 538 unsigned NumBits = LoadedVT.getSizeInBits(); 540 NewLoadedVT = EVT::getIntegerVT(*DAG.getContext(), NumBits/2); 541 NumBits >>= 1; 544 unsigned IncrementSize = NumBits / 8; 581 DAG.getConstant(NumBits, dl, TLI.getShiftAmountTy(Hi.getValueType(), [all...] |
/external/llvm/lib/Target/ARM/ |
ARMBaseRegisterInfo.cpp | 625 unsigned NumBits = 0; 635 NumBits = 8; 638 NumBits = 12; 643 NumBits = 8; 648 NumBits = 12; 651 NumBits = 8; 654 NumBits = (BaseReg == ARM::SP ? 8 : 5); 671 unsigned Mask = (1 << NumBits) - 1;
|
/external/llvm/utils/TableGen/ |
FixedLenDecoderEmitter.cpp | 223 unsigned NumBits; // number of bits to filter 256 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 397 unsigned NumBits) const; 491 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed), 498 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, 500 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { 501 assert(StartBit + NumBits - 1 < Owner->BitWidth); 514 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits); [all...] |
AsmWriterEmitter.cpp | 363 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); 366 if (NumBits > BitsLeft) { 367 DEBUG(errs() << "Not enough bits to densely encode " << NumBits 377 BitsLeft -= NumBits; 450 unsigned NumBits = Log2_32_Ceil(Commands.size()); 451 assert(NumBits <= BitsLeft && "consistency error"); 454 O << "\n // Fragment " << i << " encoded into " << NumBits 461 << ((1 << NumBits)-1) << ") {\n" 472 << ((1 << NumBits)-1) << ") {\n" 483 BitsLeft -= NumBits; [all...] |
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 30 int NumBits;
34 NumBits = 0;
36 public int GetRnd(int numBits)
39 if (NumBits > numBits)
41 result = Value & ((1 << numBits) - 1);
42 Value >>>= numBits;
43 NumBits -= numBits;
46 numBits -= NumBits; [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 563 unsigned NumBits = Ty->getPrimitiveSizeInBits(); 566 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && 568 APInt StrVal(NumBits, 0); 569 APInt SingleChar(NumBits, 0); [all...] |
/external/llvm/lib/TableGen/ |
Record.cpp | 408 static bool canFitInBitfield(int64_t Value, unsigned NumBits) { 409 // For example, with NumBits == 4, we permit Values from [-7 .. 15]. 410 return (NumBits >= sizeof(Value) * 8) || 411 (Value >> NumBits == 0) || (Value >> (NumBits-1) == -1); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXISelDAGToDAG.cpp | [all...] |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZISelLowering.cpp | [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriter.cpp | 219 uint64_t NumBits = Log2_32_Ceil(VE.getTypes().size()+1); 224 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 234 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 243 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 250 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); [all...] |
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriter.cpp | 190 uint64_t NumBits = Log2_32_Ceil(VE.getTypes().size()+1); 195 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 205 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 213 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 228 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 235 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 190 uint64_t NumBits = Log2_32_Ceil(VE.getTypes().size()+1); 195 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 204 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 213 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 229 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 237 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 345 uint64_t NumBits = VE.computeBitsRequiredForTypeIndicies(); 350 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 359 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 368 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 384 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 392 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 81 unsigned NumBits = 0; 83 NumBits = DL.getPreferredAlignmentLog(GVar); 86 if (InBits > NumBits) 87 NumBits = InBits; 91 return NumBits; 95 // If the GVAlign is larger than NumBits, or if we are required to obey 96 // NumBits because the GV has an assigned section, obey it. 97 if (GVAlign > NumBits || GV->hasSection()) 98 NumBits = GVAlign; 99 return NumBits; [all...] |
/external/llvm/lib/IR/ |
Constants.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | [all...] |