/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Bitcode/ |
H A D | BitstreamWriter.h | 121 void Emit(uint32_t Val, unsigned NumBits) { argument 122 assert(NumBits && NumBits <= 32 && "Invalid value size!"); 123 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); 125 if (CurBit + NumBits < 32) { 126 CurBit += NumBits; 137 CurBit = (CurBit+NumBits) & 31; 140 void Emit64(uint64_t Val, unsigned NumBits) { argument 141 if (NumBits <= 32) 142 Emit((uint32_t)Val, NumBits); 157 EmitVBR(uint32_t Val, unsigned NumBits) argument 170 EmitVBR64(uint64_t Val, unsigned NumBits) argument [all...] |
H A D | BitstreamReader.h | 289 uint32_t Read(unsigned NumBits) { argument 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; local 295 BitsInCurWord -= NumBits; 312 // Extract NumBits-BitsInCurWord from what we just read. 313 unsigned BitsLeft = NumBits-BitsInCurWord; 327 uint64_t Read64(unsigned NumBits) { argument 328 if (NumBits < 334 ReadVBR(unsigned NumBits) argument 354 ReadVBR64(unsigned NumBits) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 68 static bool CanEvaluateShifted(Value *V, unsigned NumBits, bool isLeftShift, argument 84 if (CI->getZExtValue() == NumBits) { 112 return CanEvaluateShifted(I->getOperand(0), NumBits, isLeftShift, IC) && 113 CanEvaluateShifted(I->getOperand(1), NumBits, isLeftShift, IC); 124 if (CI->getValue() == NumBits) return true; 130 if (CI->getZExtValue() > NumBits) { 133 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) 148 if (CI->getValue() == NumBits) return true; 154 if (CI->getValue().ult(TypeWidth) && CI->getZExtValue() > NumBits) { 155 unsigned LowBits = CI->getZExtValue() - NumBits; 183 GetShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, InstCombiner &IC) argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/ |
H A D | Thumb1RegisterInfo.cpp | 144 unsigned NumBits, unsigned Scale) { 146 unsigned Chunk = ((1 << NumBits) - 1) * Scale; 152 NumBits = 8; 154 Chunk = ((1 << NumBits) - 1) * Scale; 180 unsigned NumBits = 1; 188 NumBits = 7; 201 NumBits = 8; 210 NumBits = 8; 214 NumBits = 7; 218 NumBits 143 calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, unsigned NumBits, unsigned Scale) argument 487 unsigned NumBits = (FrameReg == ARM::SP) ? 8 : 5; variable [all...] |
H A D | Thumb2InstrInfo.cpp | 487 unsigned NumBits = 0; 496 NumBits = 8; 501 NumBits = 12; 509 NumBits = 8; 529 unsigned Mask = (1 << NumBits) - 1; 536 ImmedOffset |= 1 << NumBits; 550 ImmedOffset |= 1 << NumBits;
|
H A D | ARMBaseRegisterInfo.cpp | 1008 unsigned NumBits = 0; local 1018 NumBits = 8; 1021 NumBits = 12; 1026 NumBits = 8; 1031 NumBits = 12; 1034 NumBits = 8; 1037 NumBits = 5; 1054 unsigned Mask = (1 << NumBits) - 1;
|
H A D | ARMBaseInstrInfo.cpp | 1826 unsigned NumBits = 0; 1832 NumBits = 12; 1840 NumBits = 12; 1848 NumBits = 8; 1860 NumBits = 8; 1876 if (NumBits > 0) { 1880 unsigned Mask = (1 << NumBits) - 1; 1891 ImmedOffset |= 1 << NumBits; 1904 ImmedOffset |= 1 << NumBits;
|
/macosx-10.9.5/llvmCore-3425.0.33/tools/llvm-bcanalyzer/ |
H A D | llvm-bcanalyzer.cpp | 289 /// NumBits - The total size in bits of all of these blocks. 290 uint64_t NumBits; member in struct:PerBlockIDStats 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);
|
/macosx-10.9.5/llvmCore-3425.0.33/utils/TableGen/ |
H A D | AsmWriterEmitter.cpp | 383 unsigned NumBits = Log2_32_Ceil(UniqueOperandCommands.size()); 386 if (NumBits > BitsLeft) { 387 DEBUG(errs() << "Not enough bits to densely encode " << NumBits 397 BitsLeft -= NumBits; 470 unsigned NumBits = Log2_32_Ceil(Commands.size()); 471 assert(NumBits <= BitsLeft && "consistency error"); 474 O << "\n // Fragment " << i << " encoded into " << NumBits 481 << ((1 << NumBits)-1) << ") {\n" 492 << ((1 << NumBits)-1) << ") {\n" 503 BitsLeft -= NumBits; [all...] |
H A D | FixedLenDecoderEmitter.cpp | 224 unsigned NumBits; // number of bits to filter member in class:__anon10828::Filter 404 unsigned NumBits) const; 495 : Owner(f.Owner), StartBit(f.StartBit), NumBits(f.NumBits), Mixed(f.Mixed), 504 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) { 505 assert(StartBit + NumBits - 1 < Owner->BitWidth); 518 bool ok = Owner->fieldFromInsn(Field, Insn, StartBit, NumBits); 560 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) 589 for (unsigned bitIndex = 0; bitIndex < NumBits; ++bitIndex) { 635 TableInfo.Table.push_back(NumBits); [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ |
H A D | DerivedTypes.h | 41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ argument 42 setSubclassData(NumBits); 54 /// If an IntegerType with the same NumBits value was previously instantiated, 56 /// one instance with a given NumBits value is ever created. 58 static IntegerType *get(LLVMContext &C, unsigned NumBits);
|
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/ADT/ |
H A D | BitVector.h | 120 unsigned NumBits = 0; local 123 NumBits += CountPopulation_32((uint32_t)Bits[i]); 125 NumBits += CountPopulation_64(Bits[i]); 128 return NumBits;
|
H A D | SparseBitVector.h | 124 unsigned NumBits = 0; 127 NumBits += CountPopulation_32(Bits[i]); 129 NumBits += CountPopulation_64(Bits[i]); 132 return NumBits;
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Hexagon/ |
H A D | HexagonAsmPrinter.cpp | 64 void HexagonAsmPrinter::EmitAlignment(unsigned NumBits, argument 72 AsmPrinter::EmitAlignment(NumBits, GV);
|
H A D | HexagonAsmPrinter.h | 40 virtual void EmitAlignment(unsigned NumBits,
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/VMCore/ |
H A D | Type.cpp | 322 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { argument 323 assert(NumBits >= MIN_INT_BITS && "bitwidth too small"); 324 assert(NumBits <= MAX_INT_BITS && "bitwidth too large"); 327 switch (NumBits) { 337 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; 340 Entry = new (C.pImpl->TypeAllocator) IntegerType(C, NumBits);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 72 unsigned NumBits = 0; local 74 NumBits = TD.getPreferredAlignmentLog(GVar); 77 if (InBits > NumBits) 78 NumBits = InBits; 82 return NumBits; 86 // If the GVAlign is larger than NumBits, or if we are required to obey 87 // NumBits because the GV has an assigned section, obey it. 88 if (GVAlign > NumBits || GV->hasSection()) 89 NumBits = GVAlign; 90 return NumBits; 1416 EmitAlignment(unsigned NumBits, const GlobalValue *GV) const argument [all...] |
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 225 void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const;
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/AsmParser/ |
H A D | LLLexer.cpp | 433 uint64_t NumBits = atoull(StartChar, CurPtr); local 434 if (NumBits < IntegerType::MIN_INT_BITS || 435 NumBits > IntegerType::MAX_INT_BITS) { 439 TyVal = IntegerType::get(Context, NumBits);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.h | 206 void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0) const {} argument
|
H A D | NVPTXAsmPrinter.cpp | 1268 unsigned NumBits = cast<IntegerType>(Ty)->getBitWidth(); local 1269 if (NumBits == 1) 1271 else if (NumBits <= 64) { 1273 return name + utostr(NumBits);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/ |
H A D | ConstantFolding.cpp | 482 unsigned NumBits = Ty->getPrimitiveSizeInBits(); local 485 if ((NumBits >> 3) == StrLen + 1 && (NumBits & 7) == 0 && 487 APInt StrVal(NumBits, 0); 488 APInt SingleChar(NumBits, 0);
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 197 uint64_t NumBits = Log2_32_Ceil(VE.getTypes().size()+1); local 202 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 211 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 220 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 236 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); 244 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits));
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/TableGen/ |
H A D | Record.cpp | 153 static bool canFitInBitfield(int64_t Value, unsigned NumBits) { argument 154 // For example, with NumBits == 4, we permit Values from [-7 .. 15]. 155 return (NumBits >= sizeof(Value) * 8) || 156 (Value >> NumBits == 0) || (Value >> (NumBits-1) == -1); 1252 unsigned NumBits = T->getNumBits(); local 1256 if (Bits[i] >= NumBits)
|
/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 390 int NumBits = NewStoredVT.getSizeInBits(); local 391 int IncrementSize = NumBits / 8; 394 SDValue ShiftAmount = DAG.getConstant(NumBits, 514 unsigned NumBits = LoadedVT.getSizeInBits(); local 516 NewLoadedVT = EVT::getIntegerVT(*DAG.getContext(), NumBits/2); 517 NumBits >>= 1; 520 unsigned IncrementSize = NumBits / 8; 552 SDValue ShiftAmount = DAG.getConstant(NumBits, 2422 /// SplatByte - Distribute ByteVal over NumBits bits. 2424 static APInt SplatByte(unsigned NumBits, uint8_ [all...] |