/external/icu/icu4c/source/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))
|
D | LigatureSubstProc2.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 | 221 SDValue SignBit = DAG.getNode(ISD::SHL, dl, RVT, DAG.getConstant(1, RVT), in SoftenFloatRes_FCOPYSIGN() local 224 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN() 229 SignBit = DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 231 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN() 232 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 234 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 235 SignBit = DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 237 TLI.getShiftAmountTy(SignBit.getValueType()))); in SoftenFloatRes_FCOPYSIGN() 248 return DAG.getNode(ISD::OR, dl, LVT, LHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
|
D | LegalizeDAG.cpp | 1565 SDValue SignBit; in ExpandFCOPYSIGN() local 1570 SignBit = DAG.getNode(ISD::BITCAST, dl, IVT, Tmp2); in ExpandFCOPYSIGN() 1583 SignBit = DAG.getLoad(LoadTy, dl, Ch, StackPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1594 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN() 1601 SignBit = DAG.getNode(ISD::SHL, dl, LoadTy, SignBit, in ExpandFCOPYSIGN() 1603 TLI.getShiftAmountTy(SignBit.getValueType()))); in ExpandFCOPYSIGN() 1607 SignBit = DAG.getSetCC(dl, getSetCCResultType(SignBit.getValueType()), in ExpandFCOPYSIGN() 1608 SignBit, DAG.getConstant(0, SignBit.getValueType()), in ExpandFCOPYSIGN() 1614 return DAG.getSelect(dl, AbsVal.getValueType(), SignBit, in ExpandFCOPYSIGN() 2433 SDValue SignBit = DAG.getConstant(0x80000000u, MVT::i32); in ExpandLegalINT_TO_FP() local [all …]
|
D | TargetLowering.cpp | 770 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits() local 774 if (KnownZero.intersects(SignBit) || (HighBits & ~NewMask) == HighBits) in SimplifyDemandedBits() 789 if (KnownOne.intersects(SignBit)) in SimplifyDemandedBits()
|
D | SelectionDAG.cpp | 2139 APInt SignBit = APInt::getSignBit(BitWidth); in computeKnownBits() local 2140 SignBit = SignBit.lshr(ShAmt); // Adjust to where it is now in the mask. in computeKnownBits() 2142 if (KnownZero.intersects(SignBit)) { in computeKnownBits() 2144 } else if (KnownOne.intersects(SignBit)) { in computeKnownBits()
|
D | DAGCombiner.cpp | 6870 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local 6873 NewConv, DAG.getConstant(SignBit, VT)); in visitBITCAST() 6876 NewConv, DAG.getConstant(~SignBit, VT)); in visitBITCAST() 6909 APInt SignBit = APInt::getSignBit(VT.getSizeInBits()); in visitBITCAST() local 6911 X, DAG.getConstant(SignBit, VT)); in visitBITCAST() 6917 Cst, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 740 APInt SignBit(APInt::getSignBit(BitWidth)); in SimplifyDemandedUseBits() local 742 SignBit = APIntOps::lshr(SignBit, ShiftAmt); in SimplifyDemandedUseBits() 753 } else if ((KnownOne & SignBit) != 0) { // New bits are known one. in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 1200 const APInt &SignBit = XorCst->getValue(); in visitICmpInstWithInstAndIntCst() local 1205 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 1062 unsigned SignBit = APINT_BITS_PER_WORD - BitWidth; in ashr() local 1064 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUISelLowering.cpp | 1966 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local 1970 Zero, SignBit); in LowerFTRUNC()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 12320 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, SrcVT, Op1, Mask1); in LowerFCOPYSIGN() local 12328 return SignBit; in LowerFCOPYSIGN() 12346 return DAG.getNode(X86ISD::FOR, dl, VT, Val, SignBit); in LowerFCOPYSIGN()
|