Home
last modified time | relevance | path

Searched refs:SrcBitWidth (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DGISelKnownBits.cpp352 unsigned SrcBitWidth = SrcTy.isPointer() in computeKnownBitsImpl() local
355 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsImpl()
356 Known = Known.zextOrTrunc(SrcBitWidth, true); in computeKnownBitsImpl()
359 if (BitWidth > SrcBitWidth) in computeKnownBitsImpl()
360 Known.Zero.setBitsFrom(SrcBitWidth); in computeKnownBitsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp392 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
394 APInt InputDemandedMask = DemandedMask.zextOrTrunc(SrcBitWidth); in SimplifyDemandedUseBits()
395 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()
398 assert(InputKnown.getBitWidth() == SrcBitWidth && "Src width changed?"); in SimplifyDemandedUseBits()
427 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
429 APInt InputDemandedBits = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
433 if (DemandedMask.getActiveBits() > SrcBitWidth) in SimplifyDemandedUseBits()
434 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
436 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits()
443 DemandedMask.getActiveBits() <= SrcBitWidth) { in SimplifyDemandedUseBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1201 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local
1205 SrcBitWidth = ScalarTy->isPointerTy() ? in computeKnownBitsFromOperator()
1209 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()
1210 Known = Known.zextOrTrunc(SrcBitWidth, false); in computeKnownBitsFromOperator()
1228 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local
1230 Known = Known.trunc(SrcBitWidth); in computeKnownBitsFromOperator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6625 unsigned SrcBitWidth = Op.getOperand(OpNo).getScalarValueSizeInBits(); in computeNumSignBitsBinOp() local
6628 if (SrcBitWidth > VTBits) { // PACK in computeNumSignBitsBinOp()
6629 unsigned SrcExtraBits = SrcBitWidth - VTBits; in computeNumSignBitsBinOp()
6634 assert (SrcBitWidth == VTBits && "Expected operands of same bitwidth."); in computeNumSignBitsBinOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2229 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in GetDemandedBits() local
2233 if (DemandedBits.getActiveBits() > SrcBitWidth) in GetDemandedBits()
2235 APInt SrcDemandedBits = DemandedBits.trunc(SrcBitWidth); in GetDemandedBits()
DTargetLowering.cpp863 unsigned SrcBitWidth = Src.getScalarValueSizeInBits(); in SimplifyDemandedBits() local
864 APInt SrcDemandedBits = DemandedBits.zextOrSelf(SrcBitWidth); in SimplifyDemandedBits()