Searched refs:BitsToClear (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 1025 static bool canEvaluateZExtd(Value *V, Type *Ty, unsigned &BitsToClear, in canEvaluateZExtd() argument 1027 BitsToClear = 0; in canEvaluateZExtd() 1046 if (!canEvaluateZExtd(I->getOperand(0), Ty, BitsToClear, IC, CxtI) || in canEvaluateZExtd() 1050 if (BitsToClear == 0 && Tmp == 0) in canEvaluateZExtd() 1060 APInt::getHighBitsSet(VSize, BitsToClear), in canEvaluateZExtd() 1065 BitsToClear = 0; in canEvaluateZExtd() 1078 if (!canEvaluateZExtd(I->getOperand(0), Ty, BitsToClear, IC, CxtI)) in canEvaluateZExtd() 1081 BitsToClear = ShiftAmt < BitsToClear ? BitsToClear - ShiftAmt : 0; in canEvaluateZExtd() 1091 if (!canEvaluateZExtd(I->getOperand(0), Ty, BitsToClear, IC, CxtI)) in canEvaluateZExtd() 1093 BitsToClear += Amt->getZExtValue(); in canEvaluateZExtd() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 28430 uint64_t BitsToClear = Op->getConstantOperandVal(1) in SimplifyDemandedBitsForTargetNode() local 28432 APInt AlreadyZeroedBitsToClear = BitsToClear & KnownOp0.Zero; in SimplifyDemandedBitsForTargetNode() 28433 if (APInt(Known.getBitWidth(), BitsToClear) in SimplifyDemandedBitsForTargetNode() 28438 KnownBits::makeConstant(APInt(Known.getBitWidth(), ~BitsToClear)); in SimplifyDemandedBitsForTargetNode()
|