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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp579 auto BitsType = cast<IntegerType>(Bits->getType()); local
580 unsigned BitWidth = BitsType->getBitWidth();
582 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType);
584 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
585 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex);
587 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0));

Completed in 103 milliseconds