| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFExpression.h | 49 SignBit = 0x80, enumerator 50 SignedSize1 = SignBit | Size1, 51 SignedSize2 = SignBit | Size2, 52 SignedSize4 = SignBit | Size4, 53 SignedSize8 = SignBit | Size8, 54 SignedSizeLEB = SignBit | SizeLEB,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeFloatTypes.cpp | 324 SDValue SignBit = DAG.getNode( in SoftenFloatRes_FCOPYSIGN() local 328 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN() 333 SignBit = in SoftenFloatRes_FCOPYSIGN() 338 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 340 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 341 SignBit = in SoftenFloatRes_FCOPYSIGN() 2691 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftPromoteHalfRes_FCOPYSIGN() 2696 SignBit = in SoftPromoteHalfRes_FCOPYSIGN() 2701 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftPromoteHalfRes_FCOPYSIGN() 2703 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftPromoteHalfRes_FCOPYSIGN() [all …]
|
| H A D | LegalizeDAG.cpp | 71 uint8_t SignBit; member 1502 State.SignBit = NumBits - 1; in getSignAsIntValue() 1538 State.SignBit = 7; in getSignAsIntValue() 1576 SDValue Cond = DAG.getSetCC(DL, getSetCCResultType(IntVT), SignBit, in ExpandFCOPYSIGN() 1590 int ShiftAmount = SignAsInt.SignBit - MagAsInt.SignBit; in ExpandFCOPYSIGN() 1592 if (SignBit.getScalarValueSizeInBits() < in ExpandFCOPYSIGN() 1594 SignBit = DAG.getNode(ISD::ZERO_EXTEND, DL, MagVT, SignBit); in ExpandFCOPYSIGN() 1599 SignBit = DAG.getNode(ISD::SRL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN() 1602 SignBit = DAG.getNode(ISD::SHL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN() 1604 if (SignBit.getScalarValueSizeInBits() > in ExpandFCOPYSIGN() [all …]
|
| H A D | DAGCombiner.cpp | 12721 SDValue SignBit = DAG.getConstant( in visitBITCAST() local 12725 FlipBit = SignBit; in visitBITCAST() 12734 FlipBit = DAG.getNode(ISD::AND, SDLoc(N0), MVT::i64, Hi, SignBit); in visitBITCAST() 12742 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local 12745 NewConv, DAG.getConstant(SignBit, DL, VT)); in visitBITCAST() 12748 NewConv, DAG.getConstant(~SignBit, DL, VT)); in visitBITCAST() 12790 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST() local 12804 DAG.getConstant(SignBit, SDLoc(XorResult64), MVT::i64)); in visitBITCAST() 12811 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local 12813 X, DAG.getConstant(SignBit, SDLoc(X), VT)); in visitBITCAST() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Integral.h | 144 const T SignBit = T(1) << (TruncBits - 1); 146 return Integral((V & BitMask) | (Signed && (V & SignBit) ? ExtMask : 0));
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFExpression.cpp | 132 unsigned Signed = Size & Operation::SignBit; in extract() 137 switch (Size & ~Operation::SignBit) { in extract() 284 unsigned Signed = Size & Operation::SignBit; in print()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 1603 auto SignBit = B.buildShl(S64, ShiftOffset, ExtShift); in applyMappingBFE() local 1605 B.buildAShr(S64, SignBit, ExtShift); in applyMappingBFE() 1607 B.buildLShr(S64, SignBit, ExtShift); in applyMappingBFE()
|
| H A D | AMDGPUISelLowering.cpp | 2228 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local 2231 SDValue SignBit64 = DAG.getBuildVector(MVT::v2i32, SL, {Zero, SignBit}); in LowerFTRUNC() 2481 const SDValue SignBit = DAG.getConstant(63, SL, MVT::i64); in LowerINT_TO_FP32() local 2482 S = DAG.getNode(ISD::SRA, SL, MVT::i64, L, SignBit); in LowerINT_TO_FP32()
|
| H A D | AMDGPULegalizerInfo.cpp | 2035 auto SignBit = B.buildAnd(S32, Hi, SignBitMask); in legalizeIntrinsicTrunc() local 2042 auto SignBit64 = B.buildMerge(S64, {Zero32, SignBit}); in legalizeIntrinsicTrunc()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 5907 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine() local 5910 DAG.getConstant(SignBit, DL, MVT::i32)); in PerformDAGCombine() 5915 DAG.getConstant(~SignBit, DL, MVT::i32)); in PerformDAGCombine() 6078 APInt SignBit = APInt::getSignMask(32).sext(64); in PerformDAGCombine() local 6081 DAG.getConstant(SignBit, DL, MVT::i64)); in PerformDAGCombine() 6085 DAG.getConstant(~SignBit, DL, MVT::i64)); in PerformDAGCombine()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 6115 auto SignBit = MIRBuilder.buildConstant(S64, 63); in lowerSITOFP() local 6116 auto S = MIRBuilder.buildAShr(S64, L, SignBit); in lowerSITOFP()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 22121 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, LogicVT, Sign, SignMask); in LowerFCOPYSIGN() local 22139 SDValue Or = DAG.getNode(X86ISD::FOR, dl, LogicVT, MagBits, SignBit); in LowerFCOPYSIGN()
|