Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp298 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 …]
DIVDescriptors.cpp133 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType()
DInstructionSimplify.cpp1400 unsigned NumSignBits = ComputeNumSignBits(Op0, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAShrInst()
DScalarEvolution.cpp5752 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/
DSelectionDAG.cpp3496 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 …]
DTargetLowering.cpp1605 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()
DLegalizeIntegerTypes.cpp1366 OpL.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpL) + 1; in PromoteSetCCOperands()
1368 OpR.getScalarValueSizeInBits() - DAG.ComputeNumSignBits(OpR) + 1; in PromoteSetCCOperands()
DSelectionDAGISel.cpp770 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo()
DDAGCombiner.cpp2417 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/
DAMDGPUCodeGenPrepare.cpp424 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()
DAMDGPUISelLowering.cpp62 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/
DValueTracking.h171 unsigned ComputeNumSignBits(const Value *Op, const DataLayout &DL,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h749 unsigned ComputeNumSignBits(const Value *Op, unsigned Depth = 0,
751 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
DInstCombineCasts.cpp415 IC.ComputeNumSignBits(I->getOperand(0), 0, CxtI)) in canEvaluateTruncated()
1396 if (ComputeNumSignBits(Res, 0, &CI) > DestBitSize - SrcBitSize) in visitSExt()
DInstCombineShifts.cpp1004 if (!I.hasNoSignedWrap() && ComputeNumSignBits(Op0, 0, &I) > ShAmt) { in visitShl()
DInstCombineSimplifyDemanded.cpp585 unsigned SignBits = ComputeNumSignBits(I->getOperand(0), Depth + 1, CxtI); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1288 if (IC.ComputeNumSignBits(A, 0, &I) < NeededSignBits || in processUGT_ADDCST_ADD()
1289 IC.ComputeNumSignBits(B, 0, &I) < NeededSignBits) in processUGT_ADDCST_ADD()
DInstCombineAndOrXor.cpp2117 if (ComputeNumSignBits(A) != Ty->getScalarSizeInBits()) in getSelectCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h1568 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/
DXCoreISelLowering.cpp657 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/
DX86ISelLowering.cpp7393 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/
DSystemZISelLowering.cpp3515 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/
DSimplifyCFG.cpp4524 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/
DPPCISelLowering.cpp12364 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/
DSLPVectorizer.cpp5489 auto NumSignBits = ComputeNumSignBits(Scalar, *DL, 0, AC, nullptr, DT); in computeMinimumValueSizes()

12