| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86InstCombineIntrinsic.cpp | 268 Count |= SubElt->getValue().zextOrTrunc(64); in simplifyX86immShift() 286 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth)); in simplifyX86immShift() 640 APInt APIndex = CIIndex->getValue().zextOrTrunc(6); in simplifyX86extrq() 641 APInt APLength = CILength->getValue().zextOrTrunc(6); in simplifyX86extrq() 689 Elt = Elt.zextOrTrunc(Length); in simplifyX86extrq() 716 APIndex = APIndex.zextOrTrunc(6); in simplifyX86insertq() 717 APLength = APLength.zextOrTrunc(6); in simplifyX86insertq() 779 V10 = V10.zextOrTrunc(Length).zextOrTrunc(64).shl(Index); in simplifyX86insertq() 876 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar() 1548 APInt Len = V11.zextOrTrunc(6); in instCombineIntrinsic() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| D | Boolean.h | 57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
|
| D | Integral.h | 113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | FunctionLoweringInfo.cpp | 465 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 497 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
| D | SelectionDAG.cpp | 1376 APInt NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits()); in getConstant() 3448 Known = KnownBits::commonBits(Known, Known2.zextOrTrunc(BitWidth)); in computeKnownBits() 3623 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 3645 return C->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 4667 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT, in getNode() 4674 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT, in getNode() 10320 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
|
| D | DAGCombiner.cpp | 5769 for (SplatValue = SplatValue.zextOrTrunc(EltBitWidth); in visitAND() 5793 Constant = Constant.zextOrTrunc(Load->getMemoryVT().getScalarSizeInBits()); in visitAND() 6693 if (OppLHSAmt != ExtractFromAmt - NeededShiftAmt.zextOrTrunc( in extractShiftForRotate() 10464 APInt C = cast<ConstantSDNode>(Op)->getAPIntValue().zextOrTrunc(EVTBits); in tryToFoldExtendOfConstant() 12962 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 12989 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 16961 .zextOrTrunc(Val.getValueSizeInBits()) in mergeStoresOfConstantsOrVecElts() 16962 .zextOrTrunc(ElementSizeBits), in mergeStoresOfConstantsOrVecElts() 17026 .zextOrTrunc(ElementSizeBits) in mergeStoresOfConstantsOrVecElts() 17027 .zextOrTrunc(SizeInBits); in mergeStoresOfConstantsOrVecElts() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| D | ConstantRange.h | 337 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | GISelKnownBits.cpp | 462 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl() 464 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
|
| D | Utils.cpp | 703 return CI->getValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 741 if (!Const || !Const->zextOrTrunc(BitWidth).isPowerOf2()) in isKnownToBeAPowerOfTwo()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| D | KnownBits.h | 185 KnownBits zextOrTrunc(unsigned BitWidth) const { in zextOrTrunc() function
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineSimplifyDemanded.cpp | 392 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits() 397 Known = InputKnown.zextOrTrunc(BitWidth); in SimplifyDemandedUseBits() 1495 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| D | APSInt.h | 106 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
| D | APInt.h | 1404 APInt zextOrTrunc(unsigned width) const;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | APFixedPoint.cpp | 383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width); in toString()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/ |
| D | IRInterpreter.cpp | 160 scalar = value.zextOrTrunc(type_size * 8); in AssignToMatchType() 354 resolved_value.zextOrTrunc(llvm::NextPowerOf2(constant_size) * 8)); in ResolveConstant()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| D | ExecutionEngine.cpp | 735 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 741 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | ConstantFolding.cpp | 825 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 826 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 973 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|
| D | MemoryBuiltins.cpp | 660 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
|
| D | BasicAliasAnalysis.cpp | 1776 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()
|
| D | ValueTracking.cpp | 473 APInt UnsignedMax = Range.getUnsignedMax().zextOrTrunc(BitWidth); in computeKnownBitsFromRangeMetadata() 972 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 973 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 1174 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsFromOperator()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| D | Execution.cpp | 881 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled() 1531 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | ConstantRange.cpp | 779 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGExpr.cpp | 3951 ConstLength = CL->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 3958 ConstLowerBound = LB->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 4013 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
|
| D | CGExprCXX.cpp | 771 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| D | AArch64ISelLowering.cpp | 3642 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL() 9621 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 9622 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 9635 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm64() 9657 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm32() 9705 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm16() 9744 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm321s() 9775 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm8() 9796 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImmFP() 10079 Const->getAPIntValue().zextOrTrunc(BitSize).getZExtValue()); in LowerBUILD_VECTOR() [all …]
|