Lines Matching refs:Alloca
716 case Inst::InstKind::Alloca: in findLoopInvariantInstructions()
931 auto *Alloca = llvm::cast<InstAlloca>(Instr); in sortAndCombineAllocas() local
934 uint32_t Alignment = std::max(Alloca->getAlignInBytes(), 1u); in sortAndCombineAllocas()
936 llvm::dyn_cast<ConstantInteger32>(Alloca->getSizeInBytes()); in sortAndCombineAllocas()
967 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas() local
971 InstArithmetic::create(this, InstArithmetic::Add, Alloca->getDest(), in sortAndCombineAllocas()
974 Alloca->setDeleted(); in sortAndCombineAllocas()
985 auto *Alloca = llvm::cast<InstAlloca>(Allocas[i]); in sortAndCombineAllocas() local
987 Variable *Dest = Alloca->getDest(); in sortAndCombineAllocas()
994 Alloca->setDeleted(); in sortAndCombineAllocas()
1023 if (auto *Alloca = llvm::dyn_cast<InstAlloca>(&Instr)) { in processAllocas() local
1024 uint32_t AlignmentParam = Alloca->getAlignInBytes(); in processAllocas()
1027 if (llvm::isa<Constant>(Alloca->getSizeInBytes())) in processAllocas()
1028 Alloca->setKnownFrameOffset(); in processAllocas()
1072 if (auto *Alloca = llvm::dyn_cast<InstAlloca>(&Instr)) { in processAllocas() local
1073 if (!llvm::isa<Constant>(Alloca->getSizeInBytes())) in processAllocas()
1075 uint32_t AlignmentParam = Alloca->getAlignInBytes(); in processAllocas()
1083 AlignedAllocas.push_back(Alloca); in processAllocas()
1085 FixedAllocas.push_back(Alloca); in processAllocas()