Lines Matching refs:AllocaInst
110 bool tryPromoteAllocaToVector(AllocaInst &I);
111 bool tryPromoteAllocaToLDS(AllocaInst &I, bool SufficientLDS);
113 void sortAllocasToPromote(SmallVectorImpl<AllocaInst *> &Allocas);
252 static void collectAllocaUses(AllocaInst &Alloca, in collectAllocaUses()
267 SmallVectorImpl<AllocaInst *> &Allocas) { in sortAllocasToPromote()
268 DenseMap<AllocaInst *, unsigned> Scores; in sortAllocasToPromote()
288 stable_sort(Allocas, [&](AllocaInst *A, AllocaInst *B) { in sortAllocasToPromote()
320 SmallVector<AllocaInst *, 16> Allocas; in run()
322 if (AllocaInst *AI = dyn_cast<AllocaInst>(&I)) { in run()
334 for (AllocaInst *AI : Allocas) { in run()
374 static bool isSupportedMemset(MemSetInst *I, AllocaInst *AI, in isSupportedMemset()
400 static Value *GEPToVectorIndex(GetElementPtrInst *GEP, AllocaInst *Alloca, in GEPToVectorIndex()
727 bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToVector(AllocaInst &Alloca) { in tryPromoteAllocaToVector()
1129 if (!isa<AllocaInst>(OtherObj)) in binaryOpIsDerivedFromSameAlloca()
1396 bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToLDS(AllocaInst &I, in tryPromoteAllocaToLDS()