Home
last modified time | relevance | path

Searched refs:zextOrTrunc (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp268 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/
DBoolean.h57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
DIntegral.h113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp465 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
497 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
DSelectionDAG.cpp1376 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()
DDAGCombiner.cpp5769 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/
DConstantRange.h337 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp462 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()
464 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
DUtils.cpp703 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/
DKnownBits.h185 KnownBits zextOrTrunc(unsigned BitWidth) const { in zextOrTrunc() function
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp392 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/
DAPSInt.h106 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1404 APInt zextOrTrunc(unsigned width) const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width); in toString()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp160 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/
DExecutionEngine.cpp735 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/
DConstantFolding.cpp825 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop()
826 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop()
973 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
DMemoryBuiltins.cpp660 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
DBasicAliasAnalysis.cpp1776 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()
DValueTracking.cpp473 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/
DExecution.cpp881 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/
DConstantRange.cpp779 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp3951 ConstLength = CL->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
3958 ConstLowerBound = LB->zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
4013 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
DCGExprCXX.cpp771 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); in EmitCXXNewAllocSize()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp3642 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 …]

12