/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 153 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/ |
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() 1550 APInt Len = V11.zextOrTrunc(6); in instCombineIntrinsic() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 412 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/ |
D | InstCombineCalls.cpp | 289 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 …]
|
D | InstCombineSimplifyDemanded.cpp | 38 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/ |
D | ConstantRange.h | 246 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/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);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 356 Known = Known.zextOrTrunc(SrcBitWidth, true); in computeKnownBitsImpl() 358 Known = Known.zextOrTrunc(BitWidth, true); in computeKnownBitsImpl()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantRange.h | 333 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 317 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 459 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/ |
D | FunctionLoweringInfo.cpp | 448 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 481 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | GISelKnownBits.cpp | 409 Known = Known.zextOrTrunc(SrcBitWidth); in computeKnownBitsImpl() 411 Known = Known.zextOrTrunc(BitWidth); in computeKnownBitsImpl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 384 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 …]
|
D | InstCombineSimplifyDemanded.cpp | 394 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/ |
D | KnownBits.h | 164 KnownBits zextOrTrunc(unsigned BitWidth) const { in zextOrTrunc() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | StackSafetyAnalysis.cpp | 242 ConstantRange Offset = SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in offsetFromAlloca() 257 SE.getUnsignedRange(Expr).zextOrTrunc(PointerSize); in getAccessRange()
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APSInt.h | 111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 377 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/ |
D | APFixedPoint.cpp | 383 APInt FractPart = Val.zextOrTrunc(Scale).zext(Width); in toString()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 812 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()
|
D | ConstantFolding.cpp | 681 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 682 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 820 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|