/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 131 KnownBits zextOrTrunc(unsigned BitWidth) { in zextOrTrunc() function 132 return KnownBits(Zero.zextOrTrunc(BitWidth), One.zextOrTrunc(BitWidth)); in zextOrTrunc()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 253 LOI->KnownZero = LOI->KnownZero.zextOrTrunc(BitWidth); in GetLiveOutRegInfo() 254 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth); in GetLiveOutRegInfo() 294 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 329 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
/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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantRange.h | 195 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 403 LOI->Known = LOI->Known.zextOrTrunc(BitWidth); in GetLiveOutRegInfo() 441 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo() 474 APInt Val = CI->getValue().zextOrTrunc(BitWidth); in ComputePHILiveOutRegInfo()
|
/external/llvm/include/llvm/IR/ |
D | ConstantRange.h | 246 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 253 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 338 Count |= SubElt->getValue().zextOrTrunc(64); in simplifyX86immShift() 365 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth)); in simplifyX86immShift() 795 APInt APIndex = CIIndex->getValue().zextOrTrunc(6); in simplifyX86extrq() 796 APInt APLength = CILength->getValue().zextOrTrunc(6); in simplifyX86extrq() 847 Elt = Elt.zextOrTrunc(Length); in simplifyX86extrq() 874 APIndex = APIndex.zextOrTrunc(6); in simplifyX86insertq() 875 APLength = APLength.zextOrTrunc(6); in simplifyX86insertq() 939 V10 = V10.zextOrTrunc(Length).zextOrTrunc(64).shl(Index); in simplifyX86insertq() 1039 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar() 2864 APInt Len = V11.zextOrTrunc(6); in visitCallInst() [all …]
|
D | InstCombineSimplifyDemanded.cpp | 343 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits() 347 Known = InputKnown.zextOrTrunc(BitWidth); in SimplifyDemandedUseBits() 691 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits() 1347 APInt SubUndef = UndefElts2.lshr(OutIdx * Ratio).zextOrTrunc(Ratio); in SimplifyDemandedVectorElts()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 281 APInt MaskIn = Mask.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits() 282 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits() 283 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits() 286 KnownZero = KnownZero.zextOrTrunc(BitWidth); in ComputeMaskedBits() 287 KnownOne = KnownOne.zextOrTrunc(BitWidth); in ComputeMaskedBits()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APSInt.h | 84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
/external/llvm/include/llvm/ADT/ |
D | APSInt.h | 94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
D | APInt.h | 1208 APInt LLVM_ATTRIBUTE_UNUSED_RESULT zextOrTrunc(unsigned width) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APSInt.h | 94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
|
/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()
|
D | MemoryBuiltins.cpp | 519 I = I.zextOrTrunc(IntTyBits); in visitCallSite()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 480 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 725 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop() 726 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop() 874 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 739 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 745 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 742 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue() 748 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 577 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled() 1050 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
|
/external/llvm/lib/IR/ |
D | ConstantRange.cpp | 628 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
|