Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantRange.h195 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/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/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()
DScalarEvolution.cpp915 CR.zextOrTrunc(NewBits))) in getZeroExtendExpr()
3360 ConstantRange ExtStartRange = StartRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3363 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3364 ConstantRange ExtEndRange = EndRange.zextOrTrunc(BitWidth*2+1); in getUnsignedRange()
3515 MaxBECountRange.zextOrTrunc(BitWidth*2+1); in getSignedRange()
DConstantFolding.cpp645 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPSInt.h84 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1057 APInt zextOrTrunc(unsigned width) const;
/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/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/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/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
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1184 APInt zextOrTrunc(unsigned width) const;
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp37 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth()); in ShrinkDemandedConstant()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp645 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp826 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()
1482 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/external/clang/lib/CodeGen/
DCGExpr.cpp3067 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
3073 ConstLowerBound = ConstLowerBound.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()
3125 ConstLength = ConstLength.zextOrTrunc(PointerWidthInBits); in EmitOMPArraySectionExpr()

12