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

123

/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp795 unsigned BitWidth =
797 if (BitWidth == 32)
800 assert(BitWidth == 64 && "Invalid index type for getelementptr");
/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 DLegalizeTypes.cpp866 unsigned BitWidth = Op.getValueType().getSizeInBits(); local
868 EVT::getIntegerVT(*DAG.getContext(), BitWidth), Op);
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/Transforms/Scalar/
H A DScalarReplAggregates.cpp359 unsigned BitWidth = AllocaSize * 8; local
363 if (BitWidth > ScalarLoadThreshold)
367 !HadNonMemTransferAccess && !TD.fitsInLegalInteger(BitWidth))
377 NewTy = IntegerType::get(AI->getContext(), BitWidth);
H A DLoopStrengthReduce.cpp3547 unsigned BitWidth = SE.getTypeSizeInBits(IntTy); local
3573 (C->getValue()->getValue().abs() * APInt(BitWidth, F.AM.Scale))
/external/llvm/lib/VMCore/
H A DConstantFold.cpp658 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); local
660 CI->getValue().zext(BitWidth));
665 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth(); local
667 CI->getValue().sext(BitWidth));
/external/clang/include/clang/AST/
H A DExpr.h1131 unsigned BitWidth; member in class:clang::APNumericStorage
1133 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; }
1139 APNumericStorage() : VAL(0), BitWidth(0) { }
1142 unsigned NumWords = llvm::APInt::getNumWords(BitWidth);
1144 return llvm::APInt(BitWidth, NumWords, pVal);
1146 return llvm::APInt(BitWidth, VAL);
/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/CodeGen/
H A DTargetInfo.cpp1693 unsigned BitWidth = VT->getBitWidth();
1694 if ((BitWidth >= 128 && BitWidth <= 256) &&
1875 unsigned BitWidth = cast<llvm::IntegerType>(IRType)->getBitWidth();
1877 if (BitsContainNoUserData(SourceTy, SourceOffset*8+BitWidth,
H A DCGExprConstant.cpp296 unsigned BitWidth = FieldValue.getBitWidth(); local
298 FieldValue = FieldValue.zext(CharWidth) << (CharWidth - BitWidth);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1844 unsigned BitWidth = CI->getBitWidth(); local
1845 assert((BitWidth & 63) == 0 && "only support multiples of 64-bits");
1851 for (unsigned i = 0, e = BitWidth / 64; i != e; ++i) {
/external/clang/lib/AST/
H A DASTImporter.cpp2632 Expr *BitWidth = Importer.Import(D->getBitWidth()); local
2633 if (!BitWidth && D->getBitWidth())
2639 T, TInfo, BitWidth, D->isMutable(),
2744 Expr *BitWidth = Importer.Import(D->getBitWidth()); local
2745 if (!BitWidth && D->getBitWidth())
2753 BitWidth, D->getSynthesize());
H A DDecl.cpp2507 Expr *BitWidth = InitializerOrBitWidth.getPointer(); local
2508 return BitWidth->EvaluateKnownConstInt(Ctx).getZExtValue();
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,
H A DExpr.cpp549 BitWidth = Val.getBitWidth();
/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...]
/external/llvm/lib/Support/
H A DAPFloat.cpp3254 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE)
3256 return APFloat(APInt::getAllOnesValue(BitWidth), isIEEE);
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp370 unsigned BitWidth = cast<IntegerType>(Ty)->getBitWidth(); local
371 return "IntegerType::get(mod->getContext(), " + utostr(BitWidth) + ")";
/external/clang/lib/Sema/
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/clang/lib/Serialization/
H A DASTReader.cpp6215 unsigned BitWidth = Record[Idx++];
6216 unsigned NumWords = llvm::APInt::getNumWords(BitWidth);
6217 llvm::APInt Result(BitWidth, NumWords, &Record[Idx]);
/external/clang/tools/libclang/
H A DCIndex.cpp804 if (Expr *BitWidth = D->getBitWidth())
805 return Visit(MakeCXCursor(BitWidth, StmtParent, TU, RegionOfInterest));
/external/clang/include/clang/Sema/
H A DSema.h6882 QualType FieldTy, Expr *BitWidth,

Completed in 1287 milliseconds

123