Searched defs:BitWidth (Results 51 - 60 of 60) sorted by relevance

123

/external/clang/lib/AST/
H A DExprConstant.cpp4406 /// Perform the given integer operation, which is known to need at most BitWidth
4412 unsigned BitWidth, Operation Op) {
4416 APSInt Value(Op(LHS.extend(BitWidth), RHS.extend(BitWidth)), false);
4418 if (Result.extend(BitWidth) != Value)
4410 CheckedIntArithmetic(EvalInfo &Info, const Expr *E, const APSInt &LHS, const APSInt &RHS, unsigned BitWidth, Operation Op) argument
H A DASTContext.cpp4019 uint64_t BitWidth = Field->getBitWidthValue(*this); local
4024 if (BitWidth < IntSize)
4027 if (BitWidth == IntSize)
4176 /*BitWidth=*/0,
4220 /*BitWidth=*/0,
4263 /*BitWidth=*/0,
4340 /*BitWidth=*/0, /*Mutable=*/false,
5372 /*BitWidth=*/0,
5446 /*BitWidth=*/0,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp137 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); local
138 APInt Demanded = APInt::getAllOnesValue(BitWidth);
2412 unsigned BitWidth = VT.getScalarType().getSizeInBits(); local
2434 APInt::getAllOnesValue(BitWidth)))
2498 unsigned BitWidth = VT.getVectorElementType().getSizeInBits(); local
2503 if (BitWidth > SplatBitSize)
2504 for (SplatValue = SplatValue.zextOrTrunc(BitWidth);
2505 SplatBitSize < BitWidth;
2509 Constant = APInt::getAllOnesValue(BitWidth);
2510 for (unsigned i = 0, n = SplatBitSize/BitWidth;
2625 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits(); local
2647 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits(); local
7324 unsigned BitWidth = N1.getValueSizeInBits(); local
[all...]
H A DSelectionDAG.cpp961 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); local
962 APInt Imm = APInt::getLowBitsSet(BitWidth,
1100 unsigned BitWidth = TLI.getPointerTy().getSizeInBits(); local
1101 if (BitWidth < 64)
1102 Offset = SignExtend64(Offset, BitWidth);
1675 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); local
1676 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth);
1696 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits(); local
1698 KnownZero = KnownOne = APInt(BitWidth, 0); // Don't know anything.
1761 BitWidth)
[all...]
H A DSelectionDAGBuilder.cpp2075 uint32_t BitWidth = std::max(Last.getBitWidth(), First.getBitWidth()) + 1; local
2076 APInt LastExt = Last.zext(BitWidth), FirstExt = First.zext(BitWidth);
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3932 unsigned BitWidth = VT.getSizeInBits(); local
3946 DAG.getConstant(BitWidth, AmtVT), Amt);
3951 DAG.getConstant(-BitWidth, AmtVT));
3962 unsigned BitWidth = VT.getSizeInBits(); local
3975 DAG.getConstant(BitWidth, AmtVT), Amt);
3980 DAG.getConstant(-BitWidth, AmtVT));
3991 unsigned BitWidth = VT.getSizeInBits(); local
4003 DAG.getConstant(BitWidth, AmtVT), Amt);
4008 DAG.getConstant(-BitWidth, AmtVT));
/external/clang/lib/Sema/
H A DSemaDecl.cpp3111 /*BitWidth=*/0, /*Mutable=*/false,
3208 /*BitWidth=*/0, /*Mutable=*/false,
9172 QualType FieldTy, Expr *BitWidth,
9186 << FieldName << FieldTy << BitWidth->getSourceRange();
9188 << FieldTy << BitWidth->getSourceRange();
9189 } else if (DiagnoseUnexpandedParameterPack(const_cast<Expr *>(BitWidth),
9195 if (BitWidth->isValueDependent() || BitWidth->isTypeDependent())
9196 return Owned(BitWidth);
9199 ExprResult ICE = VerifyIntegerConstantExpression(BitWidth,
9170 VerifyBitField(SourceLocation FieldLoc, IdentifierInfo *FieldName, QualType FieldTy, Expr *BitWidth, bool *ZeroWidth) argument
9257 HandleField(Scope *S, RecordDecl *Record, SourceLocation DeclStart, Declarator &D, Expr *BitWidth, InClassInitStyle InitStyle, AccessSpecifier AS) argument
9352 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
9750 Expr *BitWidth = (Expr*)BitfieldWidth; local
10281 unsigned BitWidth = Context.getIntWidth(T); local
10306 unsigned BitWidth = Context.getTypeSize(T); local
[all...]
H A DSemaDeclCXX.cpp1508 Expr *BitWidth = static_cast<Expr*>(BW); local
1601 Member = HandleField(S, cast<CXXRecordDecl>(CurContext), Loc, D, BitWidth,
1613 if (BitWidth) {
1620 << Name << BitWidth->getSourceRange();
1624 << Name << BitWidth->getSourceRange();
1630 << BitWidth->getSourceRange();
1633 BitWidth = 0;
H A DSemaOverload.cpp1744 APSInt BitWidth; local
1746 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) {
1747 APSInt ToSize(BitWidth.getBitWidth(), BitWidth.isUnsigned());
1751 if (BitWidth < ToSize ||
1752 (FromType->isSignedIntegerType() && BitWidth <= ToSize)) {
1758 if (FromType->isUnsignedIntegerType() && BitWidth <= ToSize) {
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8617 unsigned BitWidth = Op0.getValueSizeInBits(); local
8619 if (BitWidth > AndBitWidth) {
8622 if (Zeros.countLeadingOnes() < BitWidth - AndBitWidth)
13267 unsigned BitWidth = KnownZero.getBitWidth(); local
13276 KnownZero = KnownOne = APInt(BitWidth, 0); // Don't know anything.
13295 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1);
13320 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - NumLoBits);
14094 unsigned BitWidth local
15626 unsigned BitWidth = Op1.getValueSizeInBits(); local
[all...]

Completed in 3091 milliseconds

123