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

References

lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  720   if (!I.isStaticAlloca() || I.isArrayAllocation())
  720   if (!I.isStaticAlloca() || I.isArrayAllocation())
  723   IRBuilder<> Builder(&I);
  726   Type *AllocaTy = I.getAllocatedType();
  728   LLVM_DEBUG(dbgs() << "Trying to promote " << I << '\n');
  730   if (tryPromoteAllocaToVector(&I))
  736   const Function &ContainingFunction = *I.getParent()->getParent();
  762   unsigned Align = I.getAlignment();
  764     Align = DL.getABITypeAlignment(I.getAllocatedType());
  786   if (!collectUsesWithPtrTypes(&I, &I, WorkList)) {
  786   if (!collectUsesWithPtrTypes(&I, &I, WorkList)) {
  793   Function *F = I.getParent()->getParent();
  795   Type *GVTy = ArrayType::get(I.getAllocatedType(), WorkGroupSize);
  799       Twine(F->getName()) + Twine('.') + I.getName(),
  804   GV->setAlignment(MaybeAlign(I.getAlignment()));
  825   I.mutateType(Offset->getType());
  826   I.replaceAllUsesWith(Offset);
  827   I.eraseFromParent();