Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DKnownBits.h153 KnownBits zextOrTrunc(unsigned BitWidth, in zextOrTrunc() function
157 return KnownBits(Zero.zextOrTrunc(BitWidth), One.zextOrTrunc(BitWidth)); in zextOrTrunc()
/external/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()
1550 APInt Len = V11.zextOrTrunc(6); in instCombineIntrinsic()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp412 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
413 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
453 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
488 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp289 Count |= SubElt->getValue().zextOrTrunc(64); in simplifyX86immShift()
316 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth)); in simplifyX86immShift()
557 APInt APIndex = CIIndex->getValue().zextOrTrunc(6); in simplifyX86extrq()
558 APInt APLength = CILength->getValue().zextOrTrunc(6); in simplifyX86extrq()
608 Elt = Elt.lshr(Index).zextOrTrunc(Length); in simplifyX86extrq()
636 APIndex = APIndex.zextOrTrunc(6); in simplifyX86insertq()
637 APLength = APLength.zextOrTrunc(6); in simplifyX86insertq()
701 V10 = V10.zextOrTrunc(Length).zextOrTrunc(64).shl(Index); in simplifyX86insertq()
798 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar()
850 Index = Index.zextOrTrunc(32).getLoBits(3); in simplifyX86vpermv()
[all …]
DInstCombineSimplifyDemanded.cpp38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
790 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits()
1172 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
/external/llvm/include/llvm/IR/
DConstantRange.h246 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/llvm-project/clang/lib/AST/Interp/
DBoolean.h57 return APSInt(toAPSInt().zextOrTrunc(NumBits), true); in toAPSInt()
DIntegral.h113 return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp356 Known = Known.zextOrTrunc(SrcBitWidth, true); in computeKnownBitsImpl()
358 Known = Known.zextOrTrunc(BitWidth, true); in computeKnownBitsImpl()
/external/llvm-project/llvm/include/llvm/IR/
DConstantRange.h333 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h317 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp459 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
492 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp448 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
481 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp409 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl()
411 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp384 Count |= SubElt->getValue().zextOrTrunc(64); in simplifyX86immShift()
411 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth)); in simplifyX86immShift()
752 APInt APIndex = CIIndex->getValue().zextOrTrunc(6); in simplifyX86extrq()
753 APInt APLength = CILength->getValue().zextOrTrunc(6); in simplifyX86extrq()
804 Elt = Elt.zextOrTrunc(Length); in simplifyX86extrq()
831 APIndex = APIndex.zextOrTrunc(6); in simplifyX86insertq()
832 APLength = APLength.zextOrTrunc(6); in simplifyX86insertq()
896 V10 = V10.zextOrTrunc(Length).zextOrTrunc(64).shl(Index); in simplifyX86insertq()
996 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar()
3077 APInt Len = V11.zextOrTrunc(6); in visitCallInst()
[all …]
DInstCombineSimplifyDemanded.cpp394 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()
399 Known = InputKnown.zextOrTrunc(BitWidth, in SimplifyDemandedUseBits()
765 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits()
1503 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/include/llvm/Support/
DKnownBits.h164 KnownBits zextOrTrunc(unsigned BitWidth) const { in zextOrTrunc() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DStackSafetyAnalysis.cpp242 ConstantRange Offset = SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in offsetFromAlloca()
257 SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in getAccessRange()
/external/llvm/include/llvm/ADT/
DAPSInt.h94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
/external/llvm-project/llvm/include/llvm/ADT/
DAPSInt.h111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp377 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()
382 Known = InputKnown.zextOrTrunc(BitWidth); in SimplifyDemandedUseBits()
1454 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width); in toString()
/external/llvm/lib/Analysis/
DValueTracking.cpp812 uint64_t ShiftAmtKZ = KnownZero.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator()
813 uint64_t ShiftAmtKO = KnownOne.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator()
982 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()
983 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()
985 KnownZero = KnownZero.zextOrTrunc(BitWidth); in computeKnownBitsFromOperator()
986 KnownOne = KnownOne.zextOrTrunc(BitWidth); in computeKnownBitsFromOperator()
DConstantFolding.cpp681 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop()
682 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop()
820 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()

12345