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

References

lib/Transforms/Utils/VNCoercion.cpp
   55   assert(canCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL) &&
   57   if (auto *C = dyn_cast<Constant>(StoredVal))
   59       StoredVal = FoldedStoredVal;
   62   Type *StoredValTy = StoredVal->getType();
   71       StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy);
   71       StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy);
   76         StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy);
   76         StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy);
   84         StoredVal = Helper.CreateBitCast(StoredVal, TypeToCastTo);
   84         StoredVal = Helper.CreateBitCast(StoredVal, TypeToCastTo);
   88         StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
   88         StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
   91     if (auto *C = dyn_cast<ConstantExpr>(StoredVal))
   93         StoredVal = FoldedStoredVal;
   95     return StoredVal;
  106     StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy);
  106     StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy);
  112     StoredVal = Helper.CreateBitCast(StoredVal, StoredValTy);
  112     StoredVal = Helper.CreateBitCast(StoredVal, StoredValTy);
  120     StoredVal = Helper.CreateLShr(
  121         StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt));
  121         StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt));
  126   StoredVal = Helper.CreateTruncOrBitCast(StoredVal, NewIntTy);
  126   StoredVal = Helper.CreateTruncOrBitCast(StoredVal, NewIntTy);
  131       StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
  131       StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy);
  134       StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy);
  134       StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy);
  137   if (auto *C = dyn_cast<Constant>(StoredVal))
  139       StoredVal = FoldedStoredVal;
  141   return StoredVal;