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

/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp583 auto BitsType = cast<IntegerType>(Bits->getType()); local
584 unsigned BitWidth = BitsType->getBitWidth();
586 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType);
588 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
589 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex);
591 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0));

Completed in 165 milliseconds