Searched refs:BitsType (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 297 auto BitsType = cast<IntegerType>(Bits->getType()); in createMaskedBitTest() local 298 unsigned BitWidth = BitsType->getBitWidth(); in createMaskedBitTest() 300 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest() 302 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest() 303 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest() 305 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | LowerTypeTests.cpp | 521 auto BitsType = cast<IntegerType>(Bits->getType()); in createMaskedBitTest() local 522 unsigned BitWidth = BitsType->getBitWidth(); in createMaskedBitTest() 524 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); in createMaskedBitTest() 526 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); in createMaskedBitTest() 527 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest() 529 return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0)); in createMaskedBitTest()
|