Searched refs:BitWidth (Results 51 - 75 of 101) sorted by relevance

12345

/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1621 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 DAArch64InstPrinter.cpp167 int BitWidth = Opcode == AArch64::BFMXri ? 64 : 32; local
168 int LSB = (BitWidth - ImmR) % BitWidth;
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp855 unsigned BitWidth = DL.getPointerSizeInBits(ASL); local
856 APInt OffsetL(BitWidth, 0), OffsetR(BitWidth, 0);
H A DLowerBitSets.cpp294 unsigned BitWidth = BitsType->getBitWidth(); local
298 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp218 static void DefineTypeSizeof(StringRef MacroName, unsigned BitWidth, argument
221 Twine(BitWidth / TI.getCharWidth()));
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp167 unsigned BitWidth = Context.getTypeSize(castTy); local
170 return makeLocAsInteger(val, BitWidth);
/external/llvm/lib/Support/
H A DAPFloat.cpp3351 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 DIntrinsicEmitter.cpp270 unsigned BitWidth = MVT(VT).getSizeInBits(); local
271 switch (BitWidth) {
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2029 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 DSemaDecl.cpp4129 /*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 DSemaTemplateInstantiateDecl.cpp548 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 DDAGCombiner.cpp180 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 DLegalizeTypes.cpp890 unsigned BitWidth = Op.getValueType().getSizeInBits(); local
892 EVT::getIntegerVT(*DAG.getContext(), BitWidth), Op);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1352 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 DScalarEvolutionExpander.cpp1034 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 DLazyValueInfo.cpp914 unsigned BitWidth = Val->getType()->getIntegerBitWidth(); local
915 ConstantRange EdgesVals(BitWidth, DefaultCase/*isFullSet*/);
/external/llvm/include/llvm/Target/
H A DTargetLowering.h784 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 DInstCombineMulDivRem.cpp136 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 DInstCombineSelect.cpp675 if (unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits()) {
676 APInt MinSignedValue = APInt::getSignBit(BitWidth);
/external/llvm/lib/IR/
H A DConstantFold.cpp687 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 DXCoreISelLowering.cpp1628 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 DScalarReplAggregates.cpp365 unsigned BitWidth = AllocaSize * 8; local
369 if (BitWidth > ScalarLoadThreshold)
373 !HadNonMemTransferAccess && !DL.fitsInLegalInteger(BitWidth))
383 NewTy = IntegerType::get(AI->getContext(), BitWidth);
H A DInductiveRangeCheckElimination.cpp1360 unsigned BitWidth = cast<IntegerType>(IndVar->getType())->getBitWidth(); local
1361 UpperLimit = SE.getConstant(APInt::getSignedMaxValue(BitWidth));
/external/clang/include/clang/AST/
H A DExpr.h1238 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 DSIInstrInfo.cpp2264 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);

Completed in 6010 milliseconds

12345