File tree Expand file tree Collapse file tree 2 files changed +0
-54
lines changed
Expand file tree Collapse file tree 2 files changed +0
-54
lines changed Original file line number Diff line number Diff line change @@ -252,10 +252,6 @@ class Scalar {
252252
253253 llvm::APInt UInt128 (const llvm::APInt &fail_value) const ;
254254
255- llvm::APInt SInt256 (llvm::APInt &fail_value) const ;
256-
257- llvm::APInt UInt256 (const llvm::APInt &fail_value) const ;
258-
259255 float Float (float fail_value = 0 .0f ) const ;
260256
261257 double Double (double fail_value = 0.0 ) const ;
Original file line number Diff line number Diff line change @@ -1649,56 +1649,6 @@ llvm::APInt Scalar::UInt128(const llvm::APInt &fail_value) const {
16491649 return fail_value;
16501650}
16511651
1652- llvm::APInt Scalar::SInt256 (llvm::APInt &fail_value) const {
1653- switch (m_type) {
1654- case e_void:
1655- break ;
1656- case e_sint:
1657- case e_uint:
1658- case e_slong:
1659- case e_ulong:
1660- case e_slonglong:
1661- case e_ulonglong:
1662- case e_sint128:
1663- case e_uint128:
1664- case e_sint256:
1665- case e_uint256:
1666- case e_uint512:
1667- case e_sint512:
1668- return m_integer;
1669- case e_float:
1670- case e_double:
1671- case e_long_double:
1672- return m_float.bitcastToAPInt ();
1673- }
1674- return fail_value;
1675- }
1676-
1677- llvm::APInt Scalar::UInt256 (const llvm::APInt &fail_value) const {
1678- switch (m_type) {
1679- case e_void:
1680- break ;
1681- case e_sint:
1682- case e_uint:
1683- case e_slong:
1684- case e_ulong:
1685- case e_slonglong:
1686- case e_ulonglong:
1687- case e_sint128:
1688- case e_uint128:
1689- case e_sint256:
1690- case e_uint256:
1691- case e_sint512:
1692- case e_uint512:
1693- return m_integer;
1694- case e_float:
1695- case e_double:
1696- case e_long_double:
1697- return m_float.bitcastToAPInt ();
1698- }
1699- return fail_value;
1700- }
1701-
17021652float Scalar::Float (float fail_value) const {
17031653 switch (m_type) {
17041654 case e_void:
You can’t perform that action at this time.
0 commit comments