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

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

Completed in 299 milliseconds