/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/llvm/include/llvm/ADT/ |
BitVector.h | 112 unsigned NumBits = 0; 115 NumBits += CountPopulation_32((uint32_t)Bits[i]); 117 NumBits += CountPopulation_64(Bits[i]); 120 return NumBits;
|
/external/llvm/lib/Target/ARM/ |
Thumb1RegisterInfo.cpp | 143 unsigned NumBits, unsigned Scale) { 145 unsigned Chunk = ((1 << NumBits) - 1) * Scale; 151 NumBits = 8; 153 Chunk = ((1 << NumBits) - 1) * Scale; 179 unsigned NumBits = 1; 187 NumBits = 7; 200 NumBits = 8; 209 NumBits = 8; 213 NumBits = 7; 217 NumBits = 8 [all...] |
ARMBaseRegisterInfo.cpp | [all...] |
/external/clang/lib/Lex/ |
PPExpressions.cpp | 275 unsigned NumBits; 277 NumBits = TI.getIntWidth(); 279 NumBits = TI.getWCharWidth(); 281 NumBits = TI.getChar16Width(); 283 NumBits = TI.getChar32Width(); 285 NumBits = TI.getCharWidth(); 288 llvm::APSInt Val(NumBits);
|
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 433 uint64_t NumBits = atoull(StartChar, CurPtr); 434 if (NumBits < IntegerType::MIN_INT_BITS || 435 NumBits > IntegerType::MAX_INT_BITS) { 439 TyVal = IntegerType::get(Context, NumBits); 767 uint32_t numBits = ((Len * 64) / 19) + 2; 768 APInt Tmp(numBits, StringRef(TokStart, Len), 10); 771 if (minBits > 0 && minBits < numBits) 776 if (activeBits > 0 && activeBits < numBits)
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 289 /// NumBits - The total size in bits of all of these blocks. 290 uint64_t NumBits; 306 : NumInstances(0), NumBits(0), 338 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 377 BlockStats.NumBits += BlockBitEnd-BlockBitStart; 556 PrintSize(Stats.NumBits); 558 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; 562 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
|
/external/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 289 uint32_t Read(unsigned NumBits) { 290 assert(NumBits <= 32 && "Cannot return more than 32 bits!"); 292 if (BitsInCurWord >= NumBits) { 293 uint32_t R = CurWord & ((1U << NumBits)-1); 294 CurWord >>= NumBits; 295 BitsInCurWord -= NumBits; 312 // Extract NumBits-BitsInCurWord from what we just read. 313 unsigned BitsLeft = NumBits-BitsInCurWord; 327 uint64_t Read64(unsigned NumBits) { 328 if (NumBits <= 32) return Read(NumBits) [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 479 unsigned NumBits = Ty->getPrimitiveSizeInBits(); 482 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && 484 APInt StrVal(NumBits, 0); 485 APInt SingleChar(NumBits, 0); [all...] |
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 350 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); 353 if (NumBits > BitsLeft) { 354 DEBUG(errs() << "Not enough bits to densely encode " << NumBits 360 BitsLeft -= NumBits; 411 unsigned NumBits = Log2_32_Ceil(Commands.size()); 412 assert(NumBits <= BitsLeft && "consistency error"); 415 BitsLeft -= NumBits; 417 O << "\n // Fragment " << i << " encoded into " << NumBits 423 << ((1 << NumBits)-1) << ") {\n" 433 << ((1 << NumBits)-1) << ") {\n [all...] |
FixedLenDecoderEmitter.cpp | 131 unsigned NumBits; // number of bits to filter 164 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed); 313 unsigned NumBits) const; 396 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed), 403 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, 405 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { 406 assert(StartBit + NumBits - 1 < Owner->BitWidth); 419 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits); [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 205 uint64_t NumBits = Log2_32_Ceil(VE.getTypes().size()+1); 210 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 219 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 228 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 244 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 252 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeDAG.cpp | 386 int NumBits = NewStoredVT.getSizeInBits(); 387 int IncrementSize = NumBits / 8; 390 SDValue ShiftAmount = DAG.getConstant(NumBits, 509 unsigned NumBits = LoadedVT.getSizeInBits(); 511 NewLoadedVT = EVT::getIntegerVT(*DAG.getContext(), NumBits/2); 512 NumBits >>= 1; 515 unsigned IncrementSize = NumBits / 8; 547 SDValue ShiftAmount = DAG.getConstant(NumBits, [all...] |
SelectionDAG.cpp | [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 75 unsigned NumBits = 0; 77 NumBits = TD.getPreferredAlignmentLog(GVar); 80 if (InBits > NumBits) 81 NumBits = InBits; 85 return NumBits; 89 // If the GVAlign is larger than NumBits, or if we are required to obey 90 // NumBits because the GV has an assigned section, obey it. 91 if (GVAlign > NumBits || GV->hasSection()) 92 NumBits = GVAlign; 93 return NumBits; [all...] |
/external/llvm/lib/TableGen/ |
Record.cpp | 150 static bool canFitInBitfield(int64_t Value, unsigned NumBits) { 151 // For example, with NumBits == 4, we permit Values from [-7 .. 15]. 152 return (NumBits >= sizeof(Value) * 8) || 153 (Value >> NumBits == 0) || (Value >> (NumBits-1) == -1); [all...] |
/external/llvm/lib/VMCore/ |
Constants.cpp | [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.pas | 459 function NumBits: Integer; [all...] |
/external/clang/lib/CodeGen/ |
CGExpr.cpp | [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelLowering.cpp | [all...] |