Lines Matching refs:Alloca
94 bool binaryOpIsDerivedFromSameAlloca(Value *Alloca, Value *Val,
349 static Value *GEPToVectorIndex(GetElementPtrInst *GEP, AllocaInst *Alloca, in GEPToVectorIndex() argument
356 if (GEP->getPointerOperand()->stripPointerCasts() != Alloca || in GEPToVectorIndex()
382 static bool tryPromoteAllocaToVector(AllocaInst *Alloca, const DataLayout &DL, in tryPromoteAllocaToVector() argument
390 Type *AllocaTy = Alloca->getAllocatedType(); in tryPromoteAllocaToVector()
423 for (Use &U : Alloca->uses()) in tryPromoteAllocaToVector()
441 if (Ptr == Alloca && DL.getTypeStoreSize(Alloca->getAllocatedType()) == in tryPromoteAllocaToVector()
466 Value *Index = GEPToVectorIndex(GEP, Alloca, VecEltTy, DL); in tryPromoteAllocaToVector()
501 Type *VecPtrTy = VectorTy->getPointerTo(Alloca->getAddressSpace()); in tryPromoteAllocaToVector()
502 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector()
515 Type *VecPtrTy = VectorTy->getPointerTo(Alloca->getAddressSpace()); in tryPromoteAllocaToVector()
516 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy); in tryPromoteAllocaToVector()