Home
last modified time | relevance | path

Searched refs:IntPart (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFixedPoint.cpp387 APSInt IntPart = Val; in toString() local
388 IntPart = IntPart.extend(IntPart.getBitWidth() + Lsb); in toString()
389 IntPart <<= Lsb; in toString()
390 IntPart.toString(Str, /*Radix=*/10); in toString()
403 APSInt IntPart = (OrigWidth > Scale) ? (Val >> Scale) : APSInt::get(0); in toString() local
411 IntPart.toString(Str, /*Radix=*/10); in toString()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1009 struct IntPart { struct
1016 static std::optional<IntPart> matchIntPart(Value *V) { in matchIntPart() argument
1034 static Value *extractIntPart(const IntPart &P, IRBuilderBase &Builder) { in extractIntPart()
1056 std::optional<IntPart> L0 = matchIntPart(Cmp0->getOperand(0)); in foldEqOfParts()
1057 std::optional<IntPart> R0 = matchIntPart(Cmp0->getOperand(1)); in foldEqOfParts()
1058 std::optional<IntPart> L1 = matchIntPart(Cmp1->getOperand(0)); in foldEqOfParts()
1059 std::optional<IntPart> R1 = matchIntPart(Cmp1->getOperand(1)); in foldEqOfParts()
1083 IntPart L = {L0->From, L0->StartBit, L0->NumBits + L1->NumBits}; in foldEqOfParts()
1084 IntPart R = {R0->From, R0->StartBit, R0->NumBits + R1->NumBits}; in foldEqOfParts()