Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DKnownBits.h131 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/
DFunctionLoweringInfo.cpp253 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/
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/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h195 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp403 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/
DConstantRange.h246 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantRange.h253 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp338 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 …]
DInstCombineSimplifyDemanded.cpp343 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/
DValueTracking.cpp281 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/
DAPSInt.h84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
/external/llvm/include/llvm/ADT/
DAPSInt.h94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1208 APInt LLVM_ATTRIBUTE_UNUSED_RESULT zextOrTrunc(unsigned width) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPSInt.h94 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
/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()
DMemoryBuiltins.cpp519 I = I.zextOrTrunc(IntTyBits); in visitCallSite()
/external/swiftshader/third_party/LLVM/lib/Support/
DConstantRange.cpp480 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp725 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/
DExecutionEngine.cpp739 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/
DExecutionEngine.cpp742 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/
DExecution.cpp577 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()
1050 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/external/llvm/lib/IR/
DConstantRange.cpp628 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange

123