Lines Matching refs:Alloca

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