/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelDAGToDAG.cpp | 1621 unsigned BitWidth = VT.getSizeInBits() - NumberOfIgnoredHighBits; local 1623 APInt SignificantDstMask = APInt(BitWidth, DstMask); 1624 APInt SignificantBitsToBeInserted = BitsToBeInserted.zextOrTrunc(BitWidth); 1813 unsigned BitWidth = VT.getSizeInBits(); local 1814 unsigned UBFMOpc = BitWidth == 32 ? AArch64::UBFMWri : AArch64::UBFMXri; 1821 CurDAG->getTargetConstant(BitWidth - ShlAmount, VT), 1822 CurDAG->getTargetConstant(BitWidth - 1 - ShlAmount, VT)); 1829 CurDAG->getTargetConstant(BitWidth - 1, VT)); 1841 unsigned BitWidth = VT.getSizeInBits(); local 1842 (void)BitWidth; [all...] |
/external/llvm/lib/Target/AArch64/InstPrinter/ |
H A D | AArch64InstPrinter.cpp | 167 int BitWidth = Opcode == AArch64::BFMXri ? 64 : 32; local 168 int LSB = (BitWidth - ImmR) % BitWidth;
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 855 unsigned BitWidth = DL.getPointerSizeInBits(ASL); local 856 APInt OffsetL(BitWidth, 0), OffsetR(BitWidth, 0);
|
H A D | LowerBitSets.cpp | 294 unsigned BitWidth = BitsType->getBitWidth(); local 298 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
|
/external/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 218 static void DefineTypeSizeof(StringRef MacroName, unsigned BitWidth, argument 221 Twine(BitWidth / TI.getCharWidth()));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleSValBuilder.cpp | 167 unsigned BitWidth = Context.getTypeSize(castTy); local 170 return makeLocAsInteger(val, BitWidth);
|
/external/llvm/lib/Support/ |
H A D | APFloat.cpp | 3351 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE) 3353 switch (BitWidth) { 3355 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth)); 3357 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth)); 3359 return APFloat(IEEEdouble, APInt::getAllOnesValue(BitWidth)); 3361 return APFloat(x87DoubleExtended, APInt::getAllOnesValue(BitWidth)); 3364 return APFloat(IEEEquad, APInt::getAllOnesValue(BitWidth)); 3365 return APFloat(PPCDoubleDouble, APInt::getAllOnesValue(BitWidth));
|
/external/llvm/utils/TableGen/ |
H A D | IntrinsicEmitter.cpp | 270 unsigned BitWidth = MVT(VT).getSizeInBits(); local 271 switch (BitWidth) {
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 2029 unsigned BitWidth = CI->getBitWidth(); local 2035 unsigned ExtraBitsSize = BitWidth & 63; 2047 // 0 1 BitWidth / 64 2052 // ExtraBits 0 1 (BitWidth / 64) - 1 2058 ExtraBits = Realigned.getRawData()[BitWidth / 64]; 2065 for (unsigned i = 0, e = BitWidth / 64; i != e; ++i) { 2076 Size -= (BitWidth / 64) * 8;
|
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 4129 /*BitWidth=*/nullptr, /*Mutable=*/false, 4229 /*BitWidth=*/nullptr, /*Mutable=*/false, 12209 Expr *BitWidth, bool *ZeroWidth) { 12222 << FieldName << FieldTy << BitWidth->getSourceRange(); 12224 << FieldTy << BitWidth->getSourceRange(); 12225 } else if (DiagnoseUnexpandedParameterPack(const_cast<Expr *>(BitWidth), 12231 if (BitWidth->isValueDependent() || BitWidth->isTypeDependent()) 12232 return BitWidth; 12235 ExprResult ICE = VerifyIntegerConstantExpression(BitWidth, 12206 VerifyBitField(SourceLocation FieldLoc, IdentifierInfo *FieldName, QualType FieldTy, bool IsMsStruct, Expr *BitWidth, bool *ZeroWidth) argument 12294 HandleField(Scope *S, RecordDecl *Record, SourceLocation DeclStart, Declarator &D, Expr *BitWidth, InClassInitStyle InitStyle, AccessSpecifier AS) argument 12401 CheckFieldDecl(DeclarationName Name, QualType T, TypeSourceInfo *TInfo, RecordDecl *Record, SourceLocation Loc, bool Mutable, Expr *BitWidth, InClassInitStyle InitStyle, SourceLocation TSSL, AccessSpecifier AS, NamedDecl *PrevDecl, Declarator *D) argument 12657 Expr *BitWidth = (Expr*)BitfieldWidth; local 13219 unsigned BitWidth = Context.getIntWidth(T); local 13244 unsigned BitWidth = Context.getTypeSize(T); local [all...] |
H A D | SemaTemplateInstantiateDecl.cpp | 548 Expr *BitWidth = D->getBitWidth(); local 550 BitWidth = nullptr; 551 else if (BitWidth) { 557 = SemaRef.SubstExpr(BitWidth, TemplateArgs); 560 BitWidth = nullptr; 562 BitWidth = InstantiatedBitWidth.getAs<Expr>(); 570 BitWidth,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 180 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); local 181 APInt Demanded = APInt::getAllOnesValue(BitWidth); 2843 unsigned BitWidth = VT.getScalarType().getSizeInBits(); local 2845 APInt::getAllOnesValue(BitWidth))) 2908 unsigned BitWidth = VT.getVectorElementType().getSizeInBits(); local 2913 if (BitWidth > SplatBitSize) 2914 for (SplatValue = SplatValue.zextOrTrunc(BitWidth); 2915 SplatBitSize < BitWidth; 2920 // multiple of 'BitWidth'. Otherwise, we could propagate a wrong value. 2921 if (SplatBitSize % BitWidth 3070 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits(); local 3090 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits(); local 9229 unsigned BitWidth = Origin->getValueSizeInBits(0); local 9839 unsigned BitWidth = N1.getValueSizeInBits(); local [all...] |
H A D | LegalizeTypes.cpp | 890 unsigned BitWidth = Op.getValueType().getSizeInBits(); local 892 EVT::getIntegerVT(*DAG.getContext(), BitWidth), Op);
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 1352 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); local 1353 APInt Op0KnownZero(BitWidth, 0); 1354 APInt Op0KnownOne(BitWidth, 0); 2996 uint32_t BitWidth = CI->getBitWidth(); local 2997 APInt LHSKnownZero(BitWidth, 0); 2998 APInt LHSKnownOne(BitWidth, 0); 3178 unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits(); local 3179 if (ICI && BitWidth) { 3181 APInt MinSignedValue = APInt::getSignBit(BitWidth);
|
H A D | ScalarEvolutionExpander.cpp | 1034 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth(); local 1035 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2); 1048 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth(); local 1049 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
|
H A D | LazyValueInfo.cpp | 914 unsigned BitWidth = Val->getType()->getIntegerBitWidth(); local 915 ConstantRange EdgesVals(BitWidth, DefaultCase/*isFullSet*/);
|
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 784 unsigned BitWidth = VT.getSizeInBits(); 786 return (BitWidth + RegWidth - 1) / RegWidth; 2077 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 136 unsigned BitWidth = LHS->getType()->getScalarSizeInBits(); local 145 if (SignBits > BitWidth + 1) 149 // SignBits == BitWidth + 1 and 150 // SignBits == BitWidth 153 if (SignBits == BitWidth + 1) {
|
H A D | InstCombineSelect.cpp | 675 if (unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits()) { 676 APInt MinSignedValue = APInt::getSignBit(BitWidth);
|
/external/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 687 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); local 689 CI->getValue().zext(BitWidth)); 694 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); local 696 CI->getValue().sext(BitWidth));
|
/external/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 1628 unsigned BitWidth = OutVal.getValueSizeInBits(); local 1629 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); 1645 unsigned BitWidth = Time.getValueSizeInBits(); local 1646 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 365 unsigned BitWidth = AllocaSize * 8; local 369 if (BitWidth > ScalarLoadThreshold) 373 !HadNonMemTransferAccess && !DL.fitsInLegalInteger(BitWidth)) 383 NewTy = IntegerType::get(AI->getContext(), BitWidth);
|
H A D | InductiveRangeCheckElimination.cpp | 1360 unsigned BitWidth = cast<IntegerType>(IndVar->getType())->getBitWidth(); local 1361 UpperLimit = SE.getConstant(APInt::getSignedMaxValue(BitWidth));
|
/external/clang/include/clang/AST/ |
H A D | Expr.h | 1238 unsigned BitWidth; member in class:clang::APNumericStorage 1240 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } 1246 APNumericStorage() : VAL(0), BitWidth(0) { } 1249 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); 1251 return llvm::APInt(BitWidth, NumWords, pVal); 1253 return llvm::APInt(BitWidth, VAL);
|
/external/llvm/lib/Target/R600/ |
H A D | SIInstrInfo.cpp | 2264 uint32_t BitWidth = (Imm & 0x7f0000) >> 16; // Extract bits [22:16]. 2267 Inst->addOperand(MachineOperand::CreateImm(BitWidth)); 2490 uint32_t BitWidth = (Imm & 0x7f0000) >> 16; // Extract bits [22:16]. 2496 BitWidth <= 32 && 2500 if (BitWidth < 32) { 2508 .addImm(BitWidth);
|