Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DAPInt.cpp2290 static_assert(integerPartWidth % 2 == 0, "Part width must be divisible by 2!");
2300 assert(bits != 0 && bits <= integerPartWidth); in lowBitMask()
2302 return ~(integerPart) 0 >> (integerPartWidth - bits); in lowBitMask()
2309 return part & lowBitMask(integerPartWidth / 2); in lowHalf()
2316 return part >> (integerPartWidth / 2); in highHalf()
2377 return (parts[bit / integerPartWidth] & in tcExtractBit()
2378 ((integerPart) 1 << bit % integerPartWidth)) != 0; in tcExtractBit()
2385 parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth); in tcSetBit()
2392 parts[bit / integerPartWidth] &= in tcClearBit()
2393 ~((integerPart) 1 << (bit % integerPartWidth)); in tcClearBit()
[all …]
DAPFloat.cpp38 static_assert(integerPartWidth % 4 == 0, "Part width must be divisible by 4!");
95 / (351 * integerPartWidth));
103 return ((bits) + integerPartWidth - 1) / integerPartWidth; in partCountForBits()
356 if (bits <= partCount * integerPartWidth && in lostFractionThroughTruncation()
421 count = bits / integerPartWidth; in ulpsFromBoundary()
422 partBits = bits % integerPartWidth + 1; in ulpsFromBoundary()
424 part = parts[count] & (~(integerPart) 0 >> (integerPartWidth - partBits)); in ulpsFromBoundary()
534 assert(count != 0 && count <= integerPartWidth / 4); in partAsHex()
536 part >>= (integerPartWidth - 4 * count); in partAsHex()
729 PartCount*integerPartWidth - semantics->precision + 1; in isSignificandAllOnes()
[all …]
/external/llvm/unittests/ADT/
DAPIntTest.cpp816 integerPart singleWord = ~integerPart(0) << (integerPartWidth - 1); in TEST()
893 APInt A2(integerPartWidth*4, E2); in TEST()
895 for (unsigned j = 0; j < integerPartWidth; ++j) { in TEST()
897 A2[i*integerPartWidth + j]); in TEST()
932 APInt A4(integerPartWidth*4, I4); in TEST()
937 APInt A5(integerPartWidth*4, I5); in TEST()
942 APInt A6(integerPartWidth*4, I6); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h40 const unsigned int integerPartWidth = variable
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp1039 assert(NVT.getSizeInBits() == integerPartWidth && in ExpandFloatRes_ConstantFP()
1044 APInt(integerPartWidth, C.getRawData()[1])), in ExpandFloatRes_ConstantFP()
1047 APInt(integerPartWidth, C.getRawData()[0])), in ExpandFloatRes_ConstantFP()
DSelectionDAG.cpp2958 static_assert(integerPartWidth >= 64, "APFloat parts too small!"); in getNode()
/external/clang/lib/AST/
DItaniumMangle.cpp710 = valueBits.getRawData()[digitBitIndex / llvm::integerPartWidth]; in mangleFloat()
711 hexDigit >>= (digitBitIndex % llvm::integerPartWidth); in mangleFloat()