Lines Matching refs:Alloca
102 /// Val is a derived pointer from Alloca. OpIdx0/OpIdx1 are the operand
106 bool binaryOpIsDerivedFromSameAlloca(Value *Alloca, Value *Val,
121 StringRef getPassName() const override { return "AMDGPU Promote Alloca"; }
360 static bool tryPromoteAllocaToVector(AllocaInst *Alloca) {
367 Type *AT = Alloca->getAllocatedType();
370 LLVM_DEBUG(dbgs() << "Alloca candidate for vectorization\n");
386 for (User *AllocaUser : Alloca->users()) {
389 if (!canVectorizeInst(cast<Instruction>(AllocaUser), Alloca))
434 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);
449 Value *BitCast = Builder.CreateBitCast(Alloca, VecPtrTy);