Home
last modified time | relevance | path

Searched refs:ComputeMaxSignificantBits (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h483 unsigned ComputeMaxSignificantBits(const Value *Op, unsigned Depth = 0,
485 return llvm::ComputeMaxSignificantBits(Op, DL, Depth, &AC, CxtI, &DT);
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp98 (IsFreeTruncation(RHS) && ComputeMaxSignificantBits(RHS, *DL) <= 8)) in matchVPDPBUSDPattern()
H A DX86ISelLowering.cpp7109 if (DAG.ComputeMaxSignificantBits(LHS) <= EltSizeInBits && in getPack()
7110 DAG.ComputeMaxSignificantBits(RHS) <= EltSizeInBits) in getPack()
23763 if (DAG.ComputeMaxSignificantBits(Op0.getOperand(0)) <= 16) in EmitCmp()
23766 if (DAG.ComputeMaxSignificantBits(Op1.getOperand(0)) <= 16) in EmitCmp()
42932 (IsFreeTruncation(Op1) && DAG.ComputeMaxSignificantBits(Op1) <= 8)) in detectExtMul()
46257 if (DAG.ComputeMaxSignificantBits(N1) > 16 || in combineMulToPMADDWD()
46258 DAG.ComputeMaxSignificantBits(N0) > 16) in combineMulToPMADDWD()
50355 return DAG.ComputeMaxSignificantBits(V) <= 16; in combinePMULH()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueTracking.h208 unsigned ComputeMaxSignificantBits(const Value *Op, const DataLayout &DL,
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1950 unsigned ComputeMaxSignificantBits(SDValue Op, unsigned Depth = 0) const;
1956 unsigned ComputeMaxSignificantBits(SDValue Op, const APInt &DemandedElts,
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp453 return ComputeMaxSignificantBits(Op, *DL, 0, AC); in numBitsSigned()
H A DAMDGPUISelLowering.cpp55 return DAG.ComputeMaxSignificantBits(Op); in numBitsSigned()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp918 if (ComputeMaxSignificantBits(AddSub->getOperand(0), 0, AddSub) > in matchSAddSubSat()
920 ComputeMaxSignificantBits(AddSub->getOperand(1), 0, AddSub) > NewBitWidth) in matchSAddSubSat()
H A DInstCombineCompares.cpp1271 if (IC.ComputeMaxSignificantBits(A, 0, &I) > NewWidth || in processUGT_ADDCST_ADD()
1272 IC.ComputeMaxSignificantBits(B, 0, &I) > NewWidth) in processUGT_ADDCST_ADD()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1809 unsigned OpLEffectiveBits = DAG.ComputeMaxSignificantBits(OpL); in PromoteSetCCOperands()
1810 unsigned OpREffectiveBits = DAG.ComputeMaxSignificantBits(OpR); in PromoteSetCCOperands()
H A DSelectionDAG.cpp4503 unsigned SelectionDAG::ComputeMaxSignificantBits(SDValue Op, in ComputeMaxSignificantBits() function in SelectionDAG
4509 unsigned SelectionDAG::ComputeMaxSignificantBits(SDValue Op, in ComputeMaxSignificantBits() function in SelectionDAG
H A DDAGCombiner.cpp12990 if (ExtVTBits >= DAG.ComputeMaxSignificantBits(N0)) in visitSIGN_EXTEND_INREG()
13007 DAG.ComputeMaxSignificantBits(N00) <= ExtVTBits) && in visitSIGN_EXTEND_INREG()
13026 DAG.ComputeMaxSignificantBits(N00) <= ExtVTBits))) && in visitSIGN_EXTEND_INREG()
H A DTargetLowering.cpp2167 TLO.DAG.ComputeMaxSignificantBits(Op0, DemandedElts, Depth + 1); in SimplifyDemandedBits()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp5276 ComputeMaxSignificantBits(Cond, DL, 0, AC, SI); in eliminateDeadSwitchCases()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp423 unsigned llvm::ComputeMaxSignificantBits(const Value *V, const DataLayout &DL, in ComputeMaxSignificantBits() function in llvm