Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h49 SignBit = 0x80, enumerator
50 SignedSize1 = SignBit | Size1,
51 SignedSize2 = SignBit | Size2,
52 SignedSize4 = SignBit | Size4,
53 SignedSize8 = SignBit | Size8,
54 SignedSizeLEB = SignBit | SizeLEB,
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp321 SDValue SignBit = DAG.getNode( in SoftenFloatRes_FCOPYSIGN() local
325 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN()
330 SignBit = in SoftenFloatRes_FCOPYSIGN()
335 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
337 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN()
338 SignBit = in SoftenFloatRes_FCOPYSIGN()
2686 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftPromoteHalfRes_FCOPYSIGN()
2691 SignBit = in SoftPromoteHalfRes_FCOPYSIGN()
2696 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftPromoteHalfRes_FCOPYSIGN()
2698 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftPromoteHalfRes_FCOPYSIGN()
[all …]
H A DLegalizeDAG.cpp71 uint8_t SignBit; member
1496 State.SignBit = NumBits - 1; in getSignAsIntValue()
1532 State.SignBit = 7; in getSignAsIntValue()
1570 SDValue Cond = DAG.getSetCC(DL, getSetCCResultType(IntVT), SignBit, in ExpandFCOPYSIGN()
1584 int ShiftAmount = SignAsInt.SignBit - MagAsInt.SignBit; in ExpandFCOPYSIGN()
1586 if (SignBit.getScalarValueSizeInBits() < in ExpandFCOPYSIGN()
1588 SignBit = DAG.getNode(ISD::ZERO_EXTEND, DL, MagVT, SignBit); in ExpandFCOPYSIGN()
1593 SignBit = DAG.getNode(ISD::SRL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN()
1596 SignBit = DAG.getNode(ISD::SHL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN()
1598 if (SignBit.getScalarValueSizeInBits() > in ExpandFCOPYSIGN()
[all …]
H A DDAGCombiner.cpp12523 SDValue SignBit = DAG.getConstant( in visitBITCAST() local
12527 FlipBit = SignBit; in visitBITCAST()
12536 FlipBit = DAG.getNode(ISD::AND, SDLoc(N0), MVT::i64, Hi, SignBit); in visitBITCAST()
12544 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local
12547 NewConv, DAG.getConstant(SignBit, DL, VT)); in visitBITCAST()
12550 NewConv, DAG.getConstant(~SignBit, DL, VT)); in visitBITCAST()
12592 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST() local
12606 DAG.getConstant(SignBit, SDLoc(XorResult64), MVT::i64)); in visitBITCAST()
12613 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local
12615 X, DAG.getConstant(SignBit, SDLoc(X), VT)); in visitBITCAST()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DIntegral.h144 const T SignBit = T(1) << (TruncBits - 1);
146 return Integral((V & BitMask) | (Signed && (V & SignBit) ? ExtMask : 0));
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFExpression.cpp132 unsigned Signed = Size & Operation::SignBit; in extract()
137 switch (Size & ~Operation::SignBit) { in extract()
284 unsigned Signed = Size & Operation::SignBit; in print()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2173 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local
2176 SDValue SignBit64 = DAG.getBuildVector(MVT::v2i32, SL, {Zero, SignBit}); in LowerFTRUNC()
2426 const SDValue SignBit = DAG.getConstant(63, SL, MVT::i64); in LowerINT_TO_FP32() local
2427 S = DAG.getNode(ISD::SRA, SL, MVT::i64, L, SignBit); in LowerINT_TO_FP32()
H A DAMDGPULegalizerInfo.cpp1996 auto SignBit = B.buildAnd(S32, Hi, SignBitMask); in legalizeIntrinsicTrunc() local
2003 auto SignBit64 = B.buildMerge(S64, {Zero32, SignBit}); in legalizeIntrinsicTrunc()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp5553 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine() local
5556 DAG.getConstant(SignBit, DL, MVT::i32)); in PerformDAGCombine()
5561 DAG.getConstant(~SignBit, DL, MVT::i32)); in PerformDAGCombine()
5724 APInt SignBit = APInt::getSignMask(32).sext(64); in PerformDAGCombine() local
5727 DAG.getConstant(SignBit, DL, MVT::i64)); in PerformDAGCombine()
5731 DAG.getConstant(~SignBit, DL, MVT::i64)); in PerformDAGCombine()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp5707 auto SignBit = MIRBuilder.buildConstant(S64, 63); in lowerSITOFP() local
5708 auto S = MIRBuilder.buildAShr(S64, L, SignBit); in lowerSITOFP()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp21980 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, LogicVT, Sign, SignMask); in LowerFCOPYSIGN() local
21998 SDValue Or = DAG.getNode(X86ISD::FOR, dl, LogicVT, MagBits, SignBit); in LowerFCOPYSIGN()