Searched refs:DstWidth (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | FixedPoint.cpp | 21 unsigned DstWidth = DstSema.getWidth(); local 58 NewVal = NewVal.extOrTrunc(DstWidth); 357 llvm::APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, argument 362 llvm::APSInt DstMin = llvm::APSInt::getMinValue(DstWidth, !DstSign); 363 llvm::APSInt DstMax = llvm::APSInt::getMaxValue(DstWidth, !DstSign); 365 if (SrcWidth < DstWidth) { 366 Result = Result.extend(DstWidth); 367 } else if (SrcWidth > DstWidth) { 383 return Result.extOrTrunc(DstWidth);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | FixedPoint.h | 164 llvm::APSInt convertToInt(unsigned DstWidth, bool DstSign,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1639 unsigned DstWidth = Ty->getFPMantissaWidth(); local 1652 // Specifically, if OpWidth >= 2*DstWdith+1 and DstWidth is sufficient 1662 if (OpWidth >= 2*DstWidth+1 && DstWidth >= SrcWidth) { 1676 if (OpWidth >= LHSWidth + RHSWidth && DstWidth >= SrcWidth) { 1689 if (OpWidth >= 2*DstWidth && DstWidth >= SrcWidth) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 1208 unsigned DstWidth = CI2->getType()->getBitWidth(); local 1211 APInt PossiblySetBits(APInt::getLowBitsSet(DstWidth, SrcWidth)); 1247 unsigned DstWidth = CI2->getType()->getBitWidth(); local 1248 unsigned SrcWidth = std::min(DstWidth, Log2(*GVAlign)); 1249 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 1286 unsigned DstWidth = Context.getIntWidth(DstType); local 1290 AdjustAPSInt(RhsVal, DstWidth, DstIsSigned); 1309 AdjustAPSInt(Val, DstWidth, DstIsSigned);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1463 unsigned DstWidth = DstFPSema.getWidth(); local 1469 llvm::Type *DstIntTy = Builder.getIntNTy(DstWidth); 1503 // Compare to DstWidth to prevent resizing twice. 1504 ResultWidth = std::max(SrcWidth + DstScale - SrcScale, DstWidth); 1531 if (ResultWidth != DstWidth)
|
Completed in 214 milliseconds