reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExpr.cpp
 1830   if (Info.IsSigned) {
 1831     assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize);
 1831     assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize);
 1831     assert(static_cast<unsigned>(Info.Offset + Info.Size) <= Info.StorageSize);
 1832     unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size;
 1832     unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size;
 1832     unsigned HighBits = Info.StorageSize - Info.Offset - Info.Size;
 1835     if (Info.Offset + HighBits)
 1836       Val = Builder.CreateAShr(Val, Info.Offset + HighBits, "bf.ashr");
 1838     if (Info.Offset)
 1839       Val = Builder.CreateLShr(Val, Info.Offset, "bf.lshr");
 1840     if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize)
 1840     if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize)
 1840     if (static_cast<unsigned>(Info.Offset) + Info.Size < Info.StorageSize)
 1841       Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(Info.StorageSize,
 1842                                                               Info.Size),
 1845   Val = Builder.CreateIntCast(Val, ResLTy, Info.IsSigned, "bf.cast");