HomeSort by: relevance | last modified time | path
    Searched refs:DstWidth (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Support/
APFixedPoint.cpp 22 unsigned DstWidth = DstSema.getWidth();
59 NewVal = NewVal.extOrTrunc(DstWidth);
415 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign,
420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign);
421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign);
423 if (SrcWidth < DstWidth) {
424 Result = Result.extend(DstWidth);
425 } else if (SrcWidth > DstWidth) {
441 return Result.extOrTrunc(DstWidth);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
FixedPointBuilder.h 36 unsigned DstWidth = DstSema.getWidth();
42 Type *DstIntTy = B.getIntNTy(DstWidth);
76 // Compare to DstWidth to prevent resizing twice.
77 ResultWidth = std::max(SrcWidth + DstScale - SrcScale, DstWidth);
104 if (ResultWidth != DstWidth)
150 /// \p DstWidth - The bit width of the result value
153 unsigned DstWidth, bool DstIsSigned) {
156 FixedPointSemantics::GetIntegerSemantics(DstWidth, DstIsSigned), true);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
APFixedPoint.h 168 APSInt convertToInt(unsigned DstWidth, bool DstSign,
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 1695 unsigned DstWidth = Ty->getFPMantissaWidth();
1708 // Specifically, if OpWidth >= 2*DstWdith+1 and DstWidth is sufficient
1718 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) {
1732 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) {
1745 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) {
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantFold.cpp 1289 unsigned DstWidth = CI2->getType()->getBitWidth();
1292 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth));
1328 unsigned DstWidth = CI2->getType()->getBitWidth();
1329 unsigned SrcWidth = std::min(DstWidth, Log2(*GVAlign));
1330 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth));
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 1601 unsigned DstWidth = Context.getIntWidth(DstType);
1605 AdjustAPSInt(RhsVal, DstWidth, DstIsSigned);
1624 AdjustAPSInt(Val, DstWidth, DstIsSigned);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 8618 unsigned DstWidth = DstVT.getScalarSizeInBits();
8619 assert(SatWidth <= DstWidth &&
8626 MinInt = APInt::getSignedMinValue(SatWidth).sextOrSelf(DstWidth);
8627 MaxInt = APInt::getSignedMaxValue(SatWidth).sextOrSelf(DstWidth);
8629 MinInt = APInt::getMinValue(SatWidth).zextOrSelf(DstWidth);
8630 MaxInt = APInt::getMaxValue(SatWidth).zextOrSelf(DstWidth);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 3323 uint64_t DstWidth = DstVT.getScalarSizeInBits();
3324 assert(SatWidth <= DstWidth && "Saturation width cannot exceed result width");
3331 if (SatWidth != DstWidth)
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.cpp 21552 unsigned DstWidth = DstVT.getScalarSizeInBits();
21554 assert(SatWidth <= DstWidth && SatWidth <= TmpWidth &&
21579 MinInt = APInt::getSignedMinValue(SatWidth).sextOrSelf(DstWidth);
21580 MaxInt = APInt::getSignedMaxValue(SatWidth).sextOrSelf(DstWidth);
21582 MinInt = APInt::getMinValue(SatWidth).zextOrSelf(DstWidth);
21583 MaxInt = APInt::getMaxValue(SatWidth).zextOrSelf(DstWidth);
    [all...]

Completed in 94 milliseconds