Home
last modified time | relevance | path

Searched refs:TopBit (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libcxx/test/support/
H A Dhexfloat.h27 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 DCompletionModelCodegen.py185 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 DQuality.cpp595 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 DSystemZISelDAGToDAG.cpp1827 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 DLegalizeDAG.cpp4485 auto TopBit = APInt::getOneBitSet(NVT.getSizeInBits(), in PromoteNode() local
4488 DAG.getConstant(TopBit, dl, NVT)); in PromoteNode()
H A DLegalizeIntegerTypes.cpp625 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 DLegalizerHelper.cpp2120 auto TopBit = in widenScalar() local
2123 WideTy, MIBSrc, MIRBuilder.buildConstant(WideTy, TopBit)); in widenScalar()