Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp293 auto BitsType = cast<IntegerType>(Bits->getType()); in createMaskedBitTest() local
294 unsigned BitWidth = BitsType->getBitWidth(); in createMaskedBitTest()
296 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest()
298 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest()
299 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest()
301 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()