Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Support/
DKnownBitsTest.cpp257 KnownBits KnownAbs(Bits); in TEST() local
258 KnownAbs.Zero.setAllBits(); in TEST()
259 KnownAbs.One.setAllBits(); in TEST()
260 KnownBits KnownAbsPoison(KnownAbs); in TEST()
264 KnownAbs.One &= Res; in TEST()
265 KnownAbs.Zero &= ~Res; in TEST()
275 EXPECT_TRUE(ComputedAbs.Zero.isSubsetOf(KnownAbs.Zero)); in TEST()
276 EXPECT_TRUE(ComputedAbs.One.isSubsetOf(KnownAbs.One)); in TEST()
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp277 KnownBits KnownAbs(getBitWidth()); in abs() local
278 KnownAbs.Zero.setLowBits(countMinTrailingZeros()); in abs()
284 KnownAbs.Zero.setSignBit(); in abs()
288 return KnownAbs; in abs()