| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFExpression.h | 47 SignBit = 0x80, enumerator 48 SignedSize1 = SignBit | Size1, 49 SignedSize2 = SignBit | Size2, 50 SignedSize4 = SignBit | Size4, 51 SignedSize8 = SignBit | Size8, 52 SignedSizeLEB = SignBit | SizeLEB,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeFloatTypes.cpp | 336 SDValue SignBit = DAG.getNode( in SoftenFloatRes_FCOPYSIGN() local 340 SignBit = DAG.getNode(ISD::AND, dl, RVT, RHS, SignBit); in SoftenFloatRes_FCOPYSIGN() 345 SignBit = in SoftenFloatRes_FCOPYSIGN() 346 DAG.getNode(ISD::SRL, dl, RVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 348 TLI.getShiftAmountTy(SignBit.getValueType(), in SoftenFloatRes_FCOPYSIGN() 350 SignBit = DAG.getNode(ISD::TRUNCATE, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 352 SignBit = DAG.getNode(ISD::ANY_EXTEND, dl, LVT, SignBit); in SoftenFloatRes_FCOPYSIGN() 353 SignBit = in SoftenFloatRes_FCOPYSIGN() 354 DAG.getNode(ISD::SHL, dl, LVT, SignBit, in SoftenFloatRes_FCOPYSIGN() 356 TLI.getShiftAmountTy(SignBit.getValueType(), in SoftenFloatRes_FCOPYSIGN() [all …]
|
| H A D | LegalizeDAG.cpp | 71 uint8_t SignBit; member 1543 State.SignBit = NumBits - 1; in getSignAsIntValue() 1579 State.SignBit = 7; in getSignAsIntValue() 1608 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN() local 1617 SDValue Cond = DAG.getSetCC(DL, getSetCCResultType(IntVT), SignBit, in ExpandFCOPYSIGN() 1631 int ShiftAmount = SignAsInt.SignBit - MagAsInt.SignBit; in ExpandFCOPYSIGN() 1633 if (SignBit.getScalarValueSizeInBits() < in ExpandFCOPYSIGN() 1635 SignBit = DAG.getNode(ISD::ZERO_EXTEND, DL, MagVT, SignBit); in ExpandFCOPYSIGN() 1640 SignBit = DAG.getNode(ISD::SRL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN() 1643 SignBit = DAG.getNode(ISD::SHL, DL, ShiftVT, SignBit, ShiftCnst); in ExpandFCOPYSIGN() [all …]
|
| H A D | DAGCombiner.cpp | 14265 SDValue SignBit = DAG.getConstant( in visitBITCAST() local 14269 FlipBit = SignBit; in visitBITCAST() 14278 FlipBit = DAG.getNode(ISD::AND, SDLoc(N0), MVT::i64, Hi, SignBit); in visitBITCAST() 14286 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local 14289 NewConv, DAG.getConstant(SignBit, DL, VT)); in visitBITCAST() 14292 NewConv, DAG.getConstant(~SignBit, DL, VT)); in visitBITCAST() 14334 APInt SignBit = APInt::getSignMask(VT.getSizeInBits() / 2); in visitBITCAST() local 14348 DAG.getConstant(SignBit, SDLoc(XorResult64), MVT::i64)); in visitBITCAST() 14355 APInt SignBit = APInt::getSignMask(VT.getSizeInBits()); in visitBITCAST() local 14357 X, DAG.getConstant(SignBit, SDLoc(X), VT)); in visitBITCAST() [all …]
|
| H A D | TargetLowering.cpp | 8061 APInt SignBit = APInt::getSignMask(BitSize); in expandIS_FPCLASS() local 8074 SDValue SignBitV = DAG.getConstant(SignBit, DL, IntVT); in expandIS_FPCLASS()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Integral.h | 146 const ReprT SignBit = ReprT(1) << (TruncBits - 1); 148 return Integral((V & BitMask) | (Signed && (V & SignBit) ? ExtMask : 0));
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFExpression.cpp | 131 unsigned Signed = Size & Operation::SignBit; in extract() 136 switch (Size & ~Operation::SignBit) { in extract() 282 unsigned Signed = Size & Operation::SignBit; in print()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 1521 auto SignBit = B.buildShl(S64, ShiftOffset, ExtShift); in applyMappingBFE() local 1523 B.buildAShr(S64, SignBit, ExtShift); in applyMappingBFE() 1525 B.buildLShr(S64, SignBit, ExtShift); in applyMappingBFE()
|
| H A D | AMDGPULegalizerInfo.cpp | 2152 auto SignBit = B.buildAnd(S32, Hi, SignBitMask); in legalizeIntrinsicTrunc() local 2159 auto SignBit64 = B.buildMergeLikeInstr(S64, {Zero32, SignBit}); in legalizeIntrinsicTrunc()
|
| H A D | AMDGPUISelLowering.cpp | 2204 SDValue SignBit = DAG.getNode(ISD::AND, SL, MVT::i32, Hi, SignBitMask); in LowerFTRUNC() local 2207 SDValue SignBit64 = DAG.getBuildVector(MVT::v2i32, SL, {Zero, SignBit}); in LowerFTRUNC()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 1461 APInt SignBit = APInt::getSignMask(Ty->getScalarSizeInBits()); in visitCallInst() local 1462 return SelectInst::Create(X, ConstantInt::get(Ty, SignBit), in visitCallInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 6135 auto SignBit = MIRBuilder.buildConstant(S64, 63); in lowerSITOFP() local 6136 auto S = MIRBuilder.buildAShr(S64, L, SignBit); in lowerSITOFP() 7341 APInt SignBit = APInt::getSignMask(BitSize); in lowerISFPCLASS() local 7350 auto SignBitC = MIRBuilder.buildConstant(IntTy, SignBit); in lowerISFPCLASS()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 10141 APInt SignBit = APInt::getSignMask(32); in PerformDAGCombine() local 10144 DAG.getConstant(SignBit, DL, MVT::i32)); in PerformDAGCombine() 10149 DAG.getConstant(~SignBit, DL, MVT::i32)); in PerformDAGCombine() 10197 APInt SignBit = APInt::getSignMask(FPBits).sext(VT.getSizeInBits()); in PerformDAGCombine() local 10200 DAG.getConstant(SignBit, DL, VT)); in PerformDAGCombine() 10204 DAG.getConstant(~SignBit, DL, VT)); in PerformDAGCombine()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 23746 SDValue SignBit = DAG.getNode(X86ISD::FAND, dl, LogicVT, Sign, SignMask); in LowerFCOPYSIGN() local 23764 SDValue Or = DAG.getNode(X86ISD::FOR, dl, LogicVT, MagBits, SignBit); in LowerFCOPYSIGN()
|