Searched refs:Demanded (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | BDCE.cpp | 118 APInt Demanded = DB.getDemandedBits(SE); in bitTrackingDCE() local 122 if (Demanded.countLeadingZeros() >= (DestBitSize - SrcBitSize)) { in bitTrackingDCE()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 31 const APInt &Demanded) { in ShrinkDemandedConstant() argument 42 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant() 46 I->setOperand(OpNo, ConstantInt::get(Op->getType(), *C & Demanded)); in ShrinkDemandedConstant() 1162 APInt Demanded, APInt &Undef) { in SimplifyDemandedVectorElts() argument 1165 if (Value *V = SimplifyDemandedVectorElts(Op, Demanded, Undef, Depth + 1)) { in SimplifyDemandedVectorElts()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 2899 APInt Demanded = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 24); in simplifyMul24() local 2904 SDValue DemandedLHS = TLI.SimplifyMultipleUseDemandedBits(LHS, Demanded, DAG); in simplifyMul24() 2905 SDValue DemandedRHS = TLI.SimplifyMultipleUseDemandedBits(RHS, Demanded, DAG); in simplifyMul24() 2913 if (TLI.SimplifyDemandedBits(LHS, Demanded, DCI)) in simplifyMul24() 2915 if (TLI.SimplifyDemandedBits(RHS, Demanded, DCI)) in simplifyMul24() 4181 APInt Demanded = APInt::getBitsSet(32, in PerformDAGCombine() local 4189 if (TLI.ShrinkDemandedConstant(BitsFrom, Demanded, TLO) || in PerformDAGCombine() 4190 TLI.SimplifyDemandedBits(BitsFrom, Demanded, Known, TLO)) { in PerformDAGCombine()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 3337 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 549 const APInt &Demanded, in ShrinkDemandedOp() argument 571 unsigned DemandedSize = Demanded.getActiveBits(); in ShrinkDemandedOp()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 1620 const APInt &Demanded, in optimizeLogicalImm() argument 1633 uint64_t DemandedBits = Demanded.getZExtValue(); in optimizeLogicalImm() 1688 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 && in optimizeLogicalImm()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 18948 unsigned Demanded = DemandedBits.getZExtValue(); in targetShrinkDemandedConstant() local 18949 unsigned ShrunkMask = Mask & Demanded; in targetShrinkDemandedConstant() 18950 unsigned ExpandedMask = Mask | ~Demanded; in targetShrinkDemandedConstant()
|