Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
DSelectionDAG.cpp1249 APInt NewVal = Elt->getValue().zextOrTrunc(EltVT.getSizeInBits()); in getConstant()
1275 .zextOrTrunc(ViaEltSizeInBits), DL, in getConstant()
3284 Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth()); in computeKnownBits()
3285 Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth()); in computeKnownBits()
3300 Known.One &= Known2.One.zextOrTrunc(Known.One.getBitWidth()); in computeKnownBits()
3301 Known.Zero &= Known2.Zero.zextOrTrunc(Known.Zero.getBitWidth()); in computeKnownBits()
3461 return Const->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo()
3483 return C->getAPIntValue().zextOrTrunc(BitWidth).isPowerOf2(); in isKnownToBeAPowerOfTwo()
4398 return getConstant(Val.zextOrTrunc(VT.getSizeInBits()), DL, VT, in getNode()
9538 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
DDAGCombiner.cpp5277 for (SplatValue = SplatValue.zextOrTrunc(EltBitWidth); in visitAND()
5301 Constant = Constant.zextOrTrunc(Load->getMemoryVT().getScalarSizeInBits()); in visitAND()
6099 if (OppLHSAmt != ExtractFromAmt - NeededShiftAmt.zextOrTrunc( in extractShiftForRotate()
9148 APInt C = cast<ConstantSDNode>(Op)->getAPIntValue().zextOrTrunc(EVTBits); in tryToFoldExtendOfConstant()
11464 zextOrTrunc(SrcBitSize).zext(DstBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
11491 getAPIntValue().zextOrTrunc(SrcBitSize); in ConstantFoldBITCASTofBUILD_VECTOR()
15400 .zextOrTrunc(Val.getValueSizeInBits()) in MergeStoresOfConstantsOrVecElts()
15401 .zextOrTrunc(ElementSizeBits), in MergeStoresOfConstantsOrVecElts()
15465 .zextOrTrunc(ElementSizeBits) in MergeStoresOfConstantsOrVecElts()
15466 .zextOrTrunc(SizeInBits); in MergeStoresOfConstantsOrVecElts()
[all …]
DTargetLowering.cpp867 Known = SrcKnown.zextOrTrunc(BitWidth, false); in SimplifyDemandedBits()
903 APInt DemandedSclBits = DemandedBits.zextOrTrunc(NumSclBits); in SimplifyDemandedBits()
907 Known = KnownScl.zextOrTrunc(BitWidth, false); in SimplifyDemandedBits()
2522 KnownZero = SrcZero.zextOrTrunc(NumElts); in SimplifyDemandedVectorElts()
2523 KnownUndef = SrcUndef.zextOrTrunc(NumElts); in SimplifyDemandedVectorElts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantRange.h317 ConstantRange zextOrTrunc(uint32_t BitWidth) const;
/third_party/skia/third_party/externals/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()
DConstantFolding.cpp756 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop()
757 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop()
905 BasePtr = Base->getValue().zextOrTrunc(BitWidth); in SymbolicallyEvaluateGEP()
DMemoryBuiltins.cpp628 I = I.zextOrTrunc(IntTyBits); in CheckedZextOrTrunc()
DValueTracking.cpp994 uint64_t ShiftAmtKZ = Known.Zero.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator()
995 uint64_t ShiftAmtKO = Known.One.zextOrTrunc(64).getZExtValue(); in computeKnownBitsFromShiftOperator()
1210 Known = Known.zextOrTrunc(SrcBitWidth, false); in computeKnownBitsFromOperator()
1212 Known = Known.zextOrTrunc(BitWidth, true /* ExtendedBitsAreKnownZero */); in computeKnownBitsFromOperator()
DBasicAliasAnalysis.cpp2027 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPSInt.h111 return APSInt(zextOrTrunc(width), IsUnsigned); in extOrTrunc()
DAPInt.h1404 APInt zextOrTrunc(unsigned width) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp741 GV.IntVal = GV.IntVal.zextOrTrunc(IntWidth); in getConstantValue()
747 GV.IntVal = GV.IntVal.zextOrTrunc(PtrWidth); in getConstantValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1184 APInt zextOrTrunc(unsigned width) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp879 exit(GV.IntVal.zextOrTrunc(32).getZExtValue()); in exitCalled()
1534 Src.IntVal = Src.IntVal.zextOrTrunc(PtrSize); in executeIntToPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2816 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
7449 CnstBits |= SplatBits.zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
7450 UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits()); in resolveBuildVector()
7463 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm64()
7485 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm32()
7533 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm16()
7572 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm321s()
7603 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImm8()
7624 uint64_t Value = Bits.zextOrTrunc(64).getZExtValue(); in tryAdvSIMDModImmFP()
7883 Const->getAPIntValue().zextOrTrunc(BitSize).getZExtValue()); in LowerBUILD_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp758 ConstantRange ConstantRange::zextOrTrunc(uint32_t DstTySize) const { in zextOrTrunc() function in ConstantRange
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1591 APInt Shift = SplatConst->getAPIntValue().zextOrTrunc(32); in LowerShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp3068 SDValue Lo = DAG.getConstant(V.zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt()
3069 SDValue Hi = DAG.getConstant(V.lshr(32).zextOrTrunc(32), DL, MVT::i32); in bitcastConstantFPToInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp984 APInt APInt::zextOrTrunc(unsigned width) const { in zextOrTrunc() function in APInt
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2399 return Value.zextOrTrunc(8).getZExtValue(); in isRepeatedByteSequence()

12