/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 298 static unsigned ComputeNumSignBits(const Value *V, unsigned Depth, 301 unsigned llvm::ComputeNumSignBits(const Value *V, const DataLayout &DL, in ComputeNumSignBits() function in llvm 305 return ::ComputeNumSignBits( in ComputeNumSignBits() 2458 static unsigned ComputeNumSignBits(const Value *V, unsigned Depth, in ComputeNumSignBits() function 2498 return ComputeNumSignBits(U->getOperand(0), Depth + 1, Q) + Tmp; in ComputeNumSignBitsImpl() 2510 unsigned NumBits = ComputeNumSignBits(U->getOperand(0), Depth + 1, Q); in ComputeNumSignBitsImpl() 2531 unsigned NumrBits = ComputeNumSignBits(U->getOperand(0), Depth + 1, Q); in ComputeNumSignBitsImpl() 2553 Tmp = ComputeNumSignBits(U->getOperand(0), Depth + 1, Q); in ComputeNumSignBitsImpl() 2569 Tmp = ComputeNumSignBits(U->getOperand(0), Depth + 1, Q); in ComputeNumSignBitsImpl() 2581 Tmp = ComputeNumSignBits(U->getOperand(0), Depth + 1, Q); in ComputeNumSignBitsImpl() [all …]
|
D | IVDescriptors.cpp | 133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType()
|
D | InstructionSimplify.cpp | 1400 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst()
|
D | ScalarEvolution.cpp | 5752 unsigned NS = ComputeNumSignBits(U->getValue(), DL, 0, &AC, nullptr, &DT); in getRangeRef()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3496 unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const { in ComputeNumSignBits() function in SelectionDAG 3501 return ComputeNumSignBits(Op, DemandedElts, Depth); in ComputeNumSignBits() 3504 unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, const APInt &DemandedElts, in ComputeNumSignBits() function in SelectionDAG 3541 Tmp2 = ComputeNumSignBits(Op.getOperand(i), Depth + 1); in ComputeNumSignBits() 3575 Tmp = ComputeNumSignBits(Op.getOperand(0), DemandedLHS, Depth + 1); in ComputeNumSignBits() 3577 Tmp2 = ComputeNumSignBits(Op.getOperand(1), DemandedRHS, Depth + 1); in ComputeNumSignBits() 3598 return ComputeNumSignBits(N0, DemandedElts, Depth + 1); in ComputeNumSignBits() 3613 Tmp = ComputeNumSignBits(N0, SrcDemandedElts, Depth + 1); in ComputeNumSignBits() 3635 return ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1) + Tmp; in ComputeNumSignBits() 3640 Tmp2 = ComputeNumSignBits(Op.getOperand(0), DemandedElts, Depth+1); in ComputeNumSignBits() [all …]
|
D | TargetLowering.cpp | 1605 unsigned NumSignBits = TLO.DAG.ComputeNumSignBits(Op0); in SimplifyDemandedBits() 5756 unsigned LHSSB = DAG.ComputeNumSignBits(LHS); in expandMUL_LOHI() 5757 unsigned RHSSB = DAG.ComputeNumSignBits(RHS); in expandMUL_LOHI() 7329 unsigned LHSLead = Signed ? DAG.ComputeNumSignBits(LHS) - 1 in expandFixedPointDiv()
|
D | LegalizeIntegerTypes.cpp | 1366 OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1; in PromoteSetCCOperands() 1368 OpR.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpR) + 1; in PromoteSetCCOperands()
|
D | SelectionDAGISel.cpp | 770 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo()
|
D | DAGCombiner.cpp | 2417 if (DAG.ComputeNumSignBits(N1.getOperand(0)) != VT.getScalarSizeInBits()) in foldAddSubMasked1() 7709 if (DAG.ComputeNumSignBits(N0) == OpSizeInBits) in visitSRA() 9634 unsigned NumSignBits = DAG.ComputeNumSignBits(Op); in visitSIGN_EXTEND() 10576 if (DAG.ComputeNumSignBits(N0) >= VTBits-EVTBits+1) in visitSIGN_EXTEND_INREG() 10593 (N00Bits - DAG.ComputeNumSignBits(N00)) < EVTBits) && in visitSIGN_EXTEND_INREG() 10640 unsigned InSignBits = DAG.ComputeNumSignBits(N0.getOperand(0)); in visitSIGN_EXTEND_INREG() 19760 DAG.ComputeNumSignBits(N0) == VT.getScalarSizeInBits()) in visitVECREDUCE()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 424 return ScalarSize - ComputeNumSignBits(Op, *DL, 0, AC); in numBitsSigned() 643 unsigned LHSSignBits = ComputeNumSignBits(Num, DL, 0, AC, &I); in expandDivRem24() 647 unsigned RHSSignBits = ComputeNumSignBits(Den, DL, 0, AC, &I); in expandDivRem24()
|
D | AMDGPUISelLowering.cpp | 62 return VT.getSizeInBits() - DAG.ComputeNumSignBits(Op); in numBitsSigned() 1535 unsigned LHSSignBits = DAG.ComputeNumSignBits(LHS); in LowerDIVREM24() 1539 unsigned RHSSignBits = DAG.ComputeNumSignBits(RHS); in LowerDIVREM24() 1980 DAG.ComputeNumSignBits(LHS) > 32 && in LowerSDIVREM() 1981 DAG.ComputeNumSignBits(RHS) > 32) { in LowerSDIVREM() 4039 unsigned OpSignBits = DAG.ComputeNumSignBits(BitsFrom); in PerformDAGCombine() 4582 unsigned Op0SignBits = DAG.ComputeNumSignBits(Op.getOperand(0), Depth + 1); in ComputeNumSignBitsForTargetNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 171 unsigned ComputeNumSignBits(const Value *Op, const DataLayout &DL,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 749 unsigned ComputeNumSignBits(const Value *Op, unsigned Depth = 0, 751 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
|
D | InstCombineCasts.cpp | 415 IC.ComputeNumSignBits(I->getOperand(0), 0, CxtI)) in canEvaluateTruncated() 1396 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt()
|
D | InstCombineShifts.cpp | 1004 if (!I.hasNoSignedWrap() && ComputeNumSignBits(Op0, 0, &I) > ShAmt) { in visitShl()
|
D | InstCombineSimplifyDemanded.cpp | 585 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 1288 if (IC.ComputeNumSignBits(A, 0, &I) < NeededSignBits || in processUGT_ADDCST_ADD() 1289 IC.ComputeNumSignBits(B, 0, &I) < NeededSignBits) in processUGT_ADDCST_ADD()
|
D | InstCombineAndOrXor.cpp | 2117 if (ComputeNumSignBits(A) != Ty->getScalarSizeInBits()) in getSelectCondition()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1568 unsigned ComputeNumSignBits(SDValue Op, unsigned Depth = 0) const; 1578 unsigned ComputeNumSignBits(SDValue Op, const APInt &DemandedElts,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 657 unsigned LHSSB = DAG.ComputeNumSignBits(Mul.getOperand(0)); in TryExpandADDWithMul() 658 unsigned RHSSB = DAG.ComputeNumSignBits(Mul.getOperand(1)); in TryExpandADDWithMul()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 7393 DAG.ComputeNumSignBits(N0, EltsLHS, Depth + 1) <= NumBitsPerElt) || in getFauxShuffleMask() 7395 DAG.ComputeNumSignBits(N1, EltsRHS, Depth + 1) <= NumBitsPerElt)) in getFauxShuffleMask() 11050 if ((N1.isUndef() || DAG.ComputeNumSignBits(VV1) > BitSize) && in matchShuffleWithPACK() 11051 (N2.isUndef() || DAG.ComputeNumSignBits(VV2) > BitSize)) { in matchShuffleWithPACK() 17496 if (CondEltSize != DAG.ComputeNumSignBits(Cond)) in LowerVSELECT() 19845 if (DAG.ComputeNumSignBits(In) < InVT.getScalarSizeInBits()) { in LowerTruncateVecI1() 19895 if (DAG.ComputeNumSignBits(In) < InVT.getScalarSizeInBits()) { in LowerTruncateVecI1() 19968 if ((InNumEltBits - NumPackedSignBits) < DAG.ComputeNumSignBits(In)) in LowerTRUNCATE() 20858 In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1; in EmitCmp() 20864 In.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(In) + 1; in EmitCmp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3515 else if (DAG.ComputeNumSignBits(Op1) > 32) in lowerSDIVREM() 6619 unsigned LHS = DAG.ComputeNumSignBits(Op.getOperand(OpNo), Src0DemE, Depth + 1); in computeNumSignBitsBinOp() 6622 unsigned RHS = DAG.ComputeNumSignBits(Op.getOperand(OpNo + 1), Src1DemE, Depth + 1); in computeNumSignBitsBinOp() 6672 unsigned Tmp = DAG.ComputeNumSignBits(PackedOp, SrcDemE, Depth + 1); in ComputeNumSignBitsForTargetNode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 4524 unsigned ExtraSignBits = ComputeNumSignBits(Cond, DL, 0, AC, SI) - 1; in eliminateDeadSwitchCases()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 12364 if (DAG.ComputeNumSignBits(N->getOperand(0)) != OpBits || in DAGCombineTruncBoolExt() 12365 DAG.ComputeNumSignBits(N->getOperand(1)) != OpBits) in DAGCombineTruncBoolExt() 12763 DAG.ComputeNumSignBits(Inputs[i].getOperand(0)) < in DAGCombineExtBoolTrunc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 5489 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, nullptr, DT); in computeMinimumValueSizes()
|