Home
last modified time | relevance | path

Searched refs:ComputeNumSignBits (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Analysis/
DValueTracking.cpp181 static unsigned ComputeNumSignBits(Value *V, const DataLayout &DL,
184 unsigned llvm::ComputeNumSignBits(Value *V, const DataLayout &DL, in ComputeNumSignBits() function in llvm
188 return ::ComputeNumSignBits(V, DL, Depth, Query(AC, safeCxtI(V, CxtI), DT)); in ComputeNumSignBits()
1877 unsigned ComputeNumSignBits(Value *V, const DataLayout &DL, unsigned Depth, in ComputeNumSignBits() function
1894 return ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q) + Tmp; in ComputeNumSignBits()
1906 unsigned NumBits = ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q); in ComputeNumSignBits()
1928 ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q); in ComputeNumSignBits()
1950 Tmp = ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q); in ComputeNumSignBits()
1963 Tmp = ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q); in ComputeNumSignBits()
1975 Tmp = ComputeNumSignBits(U->getOperand(0), DL, Depth + 1, Q); in ComputeNumSignBits()
[all …]
DInstructionSimplify.cpp1434 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst()
DScalarEvolution.cpp4050 unsigned NS = ComputeNumSignBits(U->getValue(), DL, 0, AC, nullptr, DT); in getRange()
/external/llvm/include/llvm/Analysis/
DValueTracking.h100 unsigned ComputeNumSignBits(Value *Op, const DataLayout &DL,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h481 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0,
483 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT);
DInstCombineAddSub.cpp912 if (ComputeNumSignBits(LHS, 0, &CxtI) > 1 && in WillNotOverflowSignedAdd()
913 ComputeNumSignBits(RHS, 0, &CxtI) > 1) in WillNotOverflowSignedAdd()
949 if (ComputeNumSignBits(LHS, 0, &CxtI) > 1 && in WillNotOverflowSignedSub()
950 ComputeNumSignBits(RHS, 0, &CxtI) > 1) in WillNotOverflowSignedSub()
DInstCombineMulDivRem.cpp141 ComputeNumSignBits(LHS, 0, &CxtI) + ComputeNumSignBits(RHS, 0, &CxtI); in WillNotOverflowSignedMul()
DInstCombineShifts.cpp721 ComputeNumSignBits(I.getOperand(0), 0, &I) > ShAmt) { in visitShl()
DInstCombineCasts.cpp1087 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt()
DInstCombineCompares.cpp2061 if (IC.ComputeNumSignBits(A, 0, &I) < NeededSignBits || in ProcessUGT_ADDCST_ADD()
2062 IC.ComputeNumSignBits(B, 0, &I) < NeededSignBits) in ProcessUGT_ADDCST_ADD()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2415 unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const{ in ComputeNumSignBits() function in SelectionDAG
2442 return ComputeNumSignBits(Op.getOperand(0), Depth+1) + Tmp; in ComputeNumSignBits()
2450 Tmp2 = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
2454 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
2464 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
2474 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
2476 Tmp2 = ComputeNumSignBits(Op.getOperand(1), Depth+1); in ComputeNumSignBits()
2485 Tmp = ComputeNumSignBits(Op.getOperand(1), Depth+1); in ComputeNumSignBits()
2487 Tmp2 = ComputeNumSignBits(Op.getOperand(2), Depth+1); in ComputeNumSignBits()
2523 Tmp = ComputeNumSignBits(Op.getOperand(0), Depth+1); in ComputeNumSignBits()
[all …]
DTargetLowering.cpp804 TLO.DAG.ComputeNumSignBits(InOp) >= VTBits-ShAmt+1; in SimplifyDemandedBits()
2820 unsigned LHSSB = DAG.ComputeNumSignBits(N->getOperand(0)); in expandMUL()
2821 unsigned RHSSB = DAG.ComputeNumSignBits(N->getOperand(1)); in expandMUL()
DSelectionDAGISel.cpp651 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo()
DDAGCombiner.cpp1714 unsigned NumSignBits = DAG.ComputeNumSignBits(AndOp0); in visitADD()
5565 unsigned NumSignBits = DAG.ComputeNumSignBits(Op); in visitSIGN_EXTEND()
6444 if (DAG.ComputeNumSignBits(N0) >= VTBits-EVTBits+1) in visitSIGN_EXTEND_INREG()
6486 unsigned InSignBits = DAG.ComputeNumSignBits(N0.getOperand(0)); in visitSIGN_EXTEND_INREG()
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp1846 DAG.ComputeNumSignBits(LHS) > 8 && in LowerSDIVREM()
1847 DAG.ComputeNumSignBits(RHS) > 8) { in LowerSDIVREM()
1851 DAG.ComputeNumSignBits(LHS) > 32 && in LowerSDIVREM()
1852 DAG.ComputeNumSignBits(RHS) > 32) { in LowerSDIVREM()
2291 (VT.getSizeInBits() - DAG.ComputeNumSignBits(Op)) < 24; in isI24()
2467 unsigned OpSignBits = DAG.ComputeNumSignBits(BitsFrom); in PerformDAGCombine()
2799 unsigned Op0SignBits = DAG.ComputeNumSignBits(Op.getOperand(0), Depth + 1); in ComputeNumSignBitsForTargetNode()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp686 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0)); in TryExpandADDWithMul()
687 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1)); in TryExpandADDWithMul()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1147 unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const;
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9158 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt()
9159 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt()
9554 DAG.ComputeNumSignBits(Inputs[i].getOperand(0)) < in DAGCombineExtBoolTrunc()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2329 } else if (DAG.ComputeNumSignBits(Op1) > 32) { in lowerSDIVREM()
/external/llvm/lib/Target/ARM/
DARMInstrInfo.td341 return CurDAG->ComputeNumSignBits(SDValue(N,0)) >= 17;