/external/icu4c/layout/ |
D | LigatureSubstProc.cpp | 20 #define SignBit(m) ((ExtendedComplement(m) >> 1) & (le_int32)(m)) macro 21 #define SignExtend(v,m) (((v) & SignBit(m))? ((v) | ExtendedComplement(m)): (v))
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeFloatTypes.cpp | 190 SDValue SignBit = DAG.getNode(ISD::SHL, dl, RVT, DAG.getConstant(1, RVT), in SoftenFloatRes_FCOPYSIGN() local 193 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN() 198 SignBit = DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 200 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN() 201 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 203 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 204 SignBit = DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 206 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN() 217 return DAG.getNode(ISD::OR, dl, LVT, LHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
|
D | LegalizeDAG.cpp | 1503 SDValue SignBit; in ExpandFCOPYSIGN() local 1508 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2); in ExpandFCOPYSIGN() 1521 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1532 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1539 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN() 1541 TLI.getShiftAmountTy(SignBit.getValueType()))); in ExpandFCOPYSIGN() 1545 SignBit = DAG.getSetCC(dl, TLI.getSetCCResultType(SignBit.getValueType()), in ExpandFCOPYSIGN() 1546 SignBit, DAG.getConstant(0, SignBit.getValueType()), in ExpandFCOPYSIGN() 1552 return DAG.getNode(ISD::SELECT, dl, AbsVal.getValueType(), SignBit, in ExpandFCOPYSIGN() 2241 SDValue SignBit = DAG.getConstant(0x80000000u, MVT::i32); in ExpandLegalINT_TO_FP() local [all …]
|
D | TargetLowering.cpp | 719 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() local 723 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) { in SimplifyDemandedBits() 727 } else if (KnownOne.intersects(SignBit)) { // New bits are known one. in SimplifyDemandedBits()
|
D | SelectionDAG.cpp | 1862 APInt SignBit = APInt::getSignBit(BitWidth); in ComputeMaskedBits() local 1863 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in ComputeMaskedBits() 1865 if (KnownZero.intersects(SignBit)) { in ComputeMaskedBits() 1867 } else if (KnownOne.intersects(SignBit)) { in ComputeMaskedBits()
|
D | DAGCombiner.cpp | 5592 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local 5595 NewConv, DAG.getConstant(SignBit, VT)); in visitBITCAST() 5598 NewConv, DAG.getConstant(~SignBit, VT)); in visitBITCAST() 5631 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local 5633 X, DAG.getConstant(SignBit, VT)); in visitBITCAST() 5639 Cst, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 697 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits() local 699 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits() 710 } else if ((KnownOne & SignBit) != 0) { // New bits are known one. in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 1079 const APInt &SignBit = XorCST->getValue(); in visitICmpInstWithInstAndIntCst() local 1085 RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1049 unsigned SignBit = APINT_BITS_PER_WORD - BitWidth; in ashr() local 1051 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 8725 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, SrcVT, Op1, Mask1); in LowerFCOPYSIGN() local 8730 SignBit = DAG.getNode(ISD::SCALAR_TO_VECTOR, dl, MVT::v2f64, SignBit); in LowerFCOPYSIGN() 8731 SignBit = DAG.getNode(X86ISD::FSRL, dl, MVT::v2f64, SignBit, in LowerFCOPYSIGN() 8733 SignBit = DAG.getNode(ISD::BITCAST, dl, MVT::v4f32, SignBit); in LowerFCOPYSIGN() 8734 SignBit = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, MVT::f32, SignBit, in LowerFCOPYSIGN() 8761 return DAG.getNode(X86ISD::FOR, dl, VT, Val, SignBit); in LowerFCOPYSIGN() 9376 SDValue SignBit = DAG.getConstant(APInt::getSignBit(EltVT.getSizeInBits()), in LowerVSETCC() local 9378 std::vector<SDValue> SignBits(VT.getVectorNumElements(), SignBit); in LowerVSETCC()
|