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

References

lib/Analysis/ConstantFolding.cpp
  380   assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) &&
  398       if (!DL.isLittleEndian())
  408       C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL);
  409       return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
  412       C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL);
  413       return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
  416       C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL);
  417       return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL);
  423     const StructLayout *SL = DL.getStructLayout(CS->getType());
  431       uint64_t EltSize = DL.getTypeAllocSize(CS->getOperand(Index)->getType());
  435                               BytesLeft, DL))
  462     uint64_t EltSize = DL.getTypeAllocSize(EltTy);
  473                               BytesLeft, DL))
  490         CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) {
  492                                 BytesLeft, DL);