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

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
   88   AllocaBuilder.SetInsertPoint(&AI);
   91   Type *AllocElTy = AI.getAllocatedType();
  102   if (!AI.hasOneUse() && CastElTyAlign == AllocElTyAlign) return nullptr;
  112   if (!AI.hasOneUse() && CastElTyStoreSize < AllocElTyStoreSize) return nullptr;
  119     decomposeSimpleLinearExpr(AI.getOperand(0), ArraySizeScale, ArrayOffset);
  131     Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale);
  137     Value *Off = ConstantInt::get(AI.getArraySize()->getType(),
  143   New->setAlignment(MaybeAlign(AI.getAlignment()));
  144   New->takeName(&AI);
  145   New->setUsedWithInAlloca(AI.isUsedWithInAlloca());
  150   if (!AI.hasOneUse()) {
  153     Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast");
  154     replaceInstUsesWith(AI, NewCast);