Lines Matching defs:Alloca
78 auto Alloca = CreateTempAlloca(Ty, Name, ArraySize);
79 Alloca->setAlignment(Align.getAsAlign());
80 return RawAddress(Alloca, Ty, Align, KnownNonNull);
89 auto Alloca = CreateTempAllocaWithoutCast(Ty, Align, Name, ArraySize);
91 *AllocaAddr = Alloca;
92 llvm::Value *V = Alloca.getPointer();
93 // Alloca always returns a pointer in alloca address space, which may
119 llvm::AllocaInst *Alloca;
121 Alloca = Builder.CreateAlloca(Ty, ArraySize, Name);
123 Alloca = new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
126 Allocas->Add(Alloca);
128 return Alloca;
148 RawAddress *Alloca) {
150 return CreateMemTemp(Ty, getContext().getTypeAlignInChars(Ty), Name, Alloca);
155 RawAddress *Alloca) {
157 /*ArraySize=*/nullptr, Alloca);
404 RawAddress *Alloca = nullptr) {
435 return CGF.CreateMemTemp(Ty, "ref.tmp", Alloca);
519 RawAddress Alloca = Address::invalid();
520 RawAddress Object = createReferenceTemporary(*this, M, E, &Alloca);
536 CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
537 Alloca.getPointer())) {
539 Alloca, Size);
571 CGM.getDataLayout().getTypeAllocSize(Alloca.getElementType()),
572 Alloca.getPointer())) {
573 pushFullExprCleanup<CallLifetimeEnd>(NormalEHLifetimeMarker, Alloca,