Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2760 APInt::ms magics = Divisor.magic(); in BuildSDIV() local
2768 DAG.getConstant(magics.m, dl, VT)); in BuildSDIV()
2773 DAG.getConstant(magics.m, dl, VT)).getNode(), 1); in BuildSDIV()
2777 if (Divisor.isStrictlyPositive() && magics.m.isNegative()) { in BuildSDIV()
2782 if (Divisor.isNegative() && magics.m.isStrictlyPositive()) { in BuildSDIV()
2788 if (magics.s > 0) { in BuildSDIV()
2791 DAG.getConstant(magics.s, dl, getShiftAmountTy(Q.getValueType(), DL))); in BuildSDIV()
2823 APInt::mu magics = Divisor.magicu(); in BuildUDIV() local
2829 if (magics.a != 0 && !Divisor[0]) { in BuildUDIV()
2837 magics = Divisor.lshr(Shift).magicu(Shift); in BuildUDIV()
[all …]