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

References

lib/Transforms/Utils/VNCoercion.cpp
  347   LLVMContext &Ctx = SrcVal->getType()->getContext();
  352   if (SrcVal->getType()->isPointerTy() && LoadTy->isPointerTy() &&
  353       cast<PointerType>(SrcVal->getType())->getAddressSpace() ==
  355     return SrcVal;
  358   uint64_t StoreSize = (DL.getTypeSizeInBits(SrcVal->getType()) + 7) / 8;
  362   if (SrcVal->getType()->isPtrOrPtrVectorTy())
  363     SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType()));
  363     SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType()));
  363     SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType()));
  364   if (!SrcVal->getType()->isIntegerTy())
  365     SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8));
  365     SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8));
  374     SrcVal = Helper.CreateLShr(SrcVal,
  374     SrcVal = Helper.CreateLShr(SrcVal,
  375                                ConstantInt::get(SrcVal->getType(), ShiftAmt));
  378     SrcVal = Helper.CreateTruncOrBitCast(SrcVal,
  378     SrcVal = Helper.CreateTruncOrBitCast(SrcVal,
  380   return SrcVal;