Searched refs:TopBit (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | hexfloat.h | 27 const unsigned long long TopBit = 1ull << (Digits - 1); in CountLeadingZeros() local 30 while ((n & TopBit) == 0) { in CountLeadingZeros()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/quality/ |
| H A D | CompletionModelCodegen.py | 185 TopBit = 1 << 31 187 if (i & TopBit): # Negative float 189 return TopBit + i # top half of integers
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Quality.cpp | 595 constexpr uint32_t TopBit = ~(~uint32_t{0} >> 1); in encodeFloat() local 600 if (U & TopBit) // Negative float. in encodeFloat() 602 return U + TopBit; // Positive floats map onto the high half of integers. in encodeFloat()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 1827 uint64_t TopBit = uint64_t(1) << 31; in getIPMConversion() local 1837 return IPMConversion(0, TopBit - (3 << SystemZ::IPM_CC), 31); in getIPMConversion() 1841 return IPMConversion(0, TopBit - (1 << SystemZ::IPM_CC), 31); in getIPMConversion() 1862 TopBit - (3 << SystemZ::IPM_CC), 31); in getIPMConversion() 1871 TopBit - (1 << SystemZ::IPM_CC), 31); in getIPMConversion()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeDAG.cpp | 4485 auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(), in PromoteNode() local 4488 DAG.getConstant(TopBit, dl, NVT)); in PromoteNode()
|
| H A D | LegalizeIntegerTypes.cpp | 625 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(), in PromoteIntRes_CTTZ() local 627 Op = DAG.getNode(ISD::OR, dl, NVT, Op, DAG.getConstant(TopBit, dl, NVT)); in PromoteIntRes_CTTZ()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2120 auto TopBit = in widenScalar() local 2123 WideTy, MIBSrc, MIRBuilder.buildConstant(WideTy, TopBit)); in widenScalar()
|