/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 181 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 …]
|
D | InstructionSimplify.cpp | 1434 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst()
|
D | ScalarEvolution.cpp | 4050 unsigned NS = ComputeNumSignBits(U->getValue(), DL, 0, AC, nullptr, DT); in getRange()
|
/external/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 100 unsigned ComputeNumSignBits(Value *Op, const DataLayout &DL,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 481 unsigned ComputeNumSignBits(Value *Op, unsigned Depth = 0, 483 return llvm::ComputeNumSignBits(Op, DL, Depth, AC, CxtI, DT);
|
D | InstCombineAddSub.cpp | 912 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()
|
D | InstCombineMulDivRem.cpp | 141 ComputeNumSignBits(LHS, 0, &CxtI) + ComputeNumSignBits(RHS, 0, &CxtI); in WillNotOverflowSignedMul()
|
D | InstCombineShifts.cpp | 721 ComputeNumSignBits(I.getOperand(0), 0, &I) > ShAmt) { in visitShl()
|
D | InstCombineCasts.cpp | 1087 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt()
|
D | InstCombineCompares.cpp | 2061 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/ |
D | SelectionDAG.cpp | 2415 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 …]
|
D | TargetLowering.cpp | 804 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()
|
D | SelectionDAGISel.cpp | 651 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo()
|
D | DAGCombiner.cpp | 1714 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/ |
D | AMDGPUISelLowering.cpp | 1846 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/ |
D | XCoreISelLowering.cpp | 686 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0)); in TryExpandADDWithMul() 687 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1)); in TryExpandADDWithMul()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1147 unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const;
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 9158 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/ |
D | SystemZISelLowering.cpp | 2329 } else if (DAG.ComputeNumSignBits(Op1) > 32) { in lowerSDIVREM()
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrInfo.td | 341 return CurDAG->ComputeNumSignBits(SDValue(N,0)) >= 17;
|