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

References

lib/IR/ConstantFold.cpp
  219   assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input");
  225     if (ByteStart)
  226       V.lshrInPlace(ByteStart*8);
  239     Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
  248     Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
  254     Constant *RHS = ExtractConstantBytes(CE->getOperand(1), ByteStart,ByteSize);
  262     Constant *LHS = ExtractConstantBytes(CE->getOperand(0), ByteStart,ByteSize);
  278     if (ShAmt.uge(CSize - ByteStart))
  282     if (ShAmt.ule(CSize - (ByteStart + ByteSize)))
  284                                   ByteStart + ShAmt.getZExtValue(), ByteSize);
  301     if (ShAmt.uge(ByteStart + ByteSize))
  305     if (ShAmt.ule(ByteStart))
  307                                   ByteStart - ShAmt.getZExtValue(), ByteSize);
  318     if (ByteStart*8 >= SrcBitSize)
  323     if (ByteStart == 0 && ByteSize*8 == SrcBitSize)
  328     if ((SrcBitSize&7) == 0 && (ByteStart+ByteSize)*8 <= SrcBitSize)
  329       return ExtractConstantBytes(CE->getOperand(0), ByteStart, ByteSize);
  333     if ((ByteStart+ByteSize)*8 < SrcBitSize) {
  336       if (ByteStart)
  338                                  ConstantInt::get(Res->getType(), ByteStart*8));