| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | Boolean.h | 57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
|
| H A D | Integral.h | 113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 465 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 497 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
| H A D | SelectionDAG.cpp | 1375 APInt NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits()); in getConstant() 1417 NewVal.lshr(i * ViaEltSizeInBits).zextOrTrunc(ViaEltSizeInBits), DL, in getConstant() 3451 Known = KnownBits::commonBits(Known, Known2.zextOrTrunc(BitWidth)); in computeKnownBits() 3626 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 3648 return C->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 4616 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT, in getNode() 10234 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
|
| H A D | DAGCombiner.cpp | 5739 for (SplatValue = SplatValue.zextOrTrunc(EltBitWidth); in visitAND() 5763 Constant = Constant.zextOrTrunc(Load->getMemoryVT().getScalarSizeInBits()); in visitAND() 6663 if (OppLHSAmt != ExtractFromAmt - NeededShiftAmt.zextOrTrunc( in extractShiftForRotate() 10321 APInt C = cast<ConstantSDNode>(Op)->getAPIntValue().zextOrTrunc(EVTBits); in tryToFoldExtendOfConstant() 12769 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 12796 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR() 16763 .zextOrTrunc(Val.getValueSizeInBits()) in mergeStoresOfConstantsOrVecElts() 16764 .zextOrTrunc(ElementSizeBits), in mergeStoresOfConstantsOrVecElts() 16828 .zextOrTrunc(ElementSizeBits) in mergeStoresOfConstantsOrVecElts() 16829 .zextOrTrunc(SizeInBits); in mergeStoresOfConstantsOrVecElts() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 337 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 447 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl() 449 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
|
| H A D | Utils.cpp | 690 return CI->getValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo() 728 if (!Const || !Const->zextOrTrunc(BitWidth).isPowerOf2()) in isKnownToBeAPowerOfTwo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 185 KnownBits zextOrTrunc(unsigned BitWidth) const { in zextOrTrunc() function
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
| H A D | APInt.h | 1404 APInt zextOrTrunc(unsigned width) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | APFixedPoint.cpp | 383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width); in toString()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 735 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 741 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 793 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 794 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 937 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|
| H A D | MemoryBuiltins.cpp | 660 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
|
| H A D | BasicAliasAnalysis.cpp | 1758 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()
|
| H A D | ValueTracking.cpp | 472 APInt UnsignedMax = Range.getUnsignedMax().zextOrTrunc(BitWidth); in computeKnownBitsFromRangeMetadata() 971 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 972 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator() 1173 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsFromOperator()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Execution.cpp | 881 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled() 1531 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 779 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 3561 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL() 9282 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 9283 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector() 9296 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm64() 9318 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm32() 9366 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm16() 9405 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm321s() 9436 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm8() 9457 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImmFP() 9740 Const->getAPIntValue().zextOrTrunc(BitSize).getZExtValue()); in LowerBUILD_VECTOR() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 3951 ConstLength = CL->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 3958 ConstLowerBound = LB->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr() 4013 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
|
| H A D | CGExprCXX.cpp | 768 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 3075 SDValue Lo = DAG.getConstant(V.zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt() 3076 SDValue Hi = DAG.getConstant(V.lshr(32).zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt()
|