@@ -2803,14 +2803,17 @@ class CodeGenFunction : public CodeGenTypeCache {
28032803 // / The cast is not performaed in CreateTempAllocaWithoutCast. This is
28042804 // / more efficient if the caller knows that the address will not be exposed.
28052805 llvm::AllocaInst *CreateTempAlloca (llvm::Type *Ty, const Twine &Name = " tmp" ,
2806- llvm::Value *ArraySize = nullptr );
2806+ llvm::Value *ArraySize = nullptr ,
2807+ bool UseNondeterministicInit = false );
28072808 RawAddress CreateTempAlloca (llvm::Type *Ty, CharUnits align,
28082809 const Twine &Name = " tmp" ,
28092810 llvm::Value *ArraySize = nullptr ,
2810- RawAddress *Alloca = nullptr );
2811+ RawAddress *Alloca = nullptr ,
2812+ bool UseNondeterministicInit = false );
28112813 RawAddress CreateTempAllocaWithoutCast (llvm::Type *Ty, CharUnits align,
28122814 const Twine &Name = " tmp" ,
2813- llvm::Value *ArraySize = nullptr );
2815+ llvm::Value *ArraySize = nullptr ,
2816+ bool UseNondeterministicInit = false );
28142817
28152818 // / CreateDefaultAlignedTempAlloca - This creates an alloca with the
28162819 // / default ABI alignment of the given LLVM type.
@@ -2839,10 +2842,12 @@ class CodeGenFunction : public CodeGenTypeCache {
28392842 // / appropriate alignmen and cast it to the default address space. Returns
28402843 // / the original alloca instruction by \p Alloca if it is not nullptr.
28412844 RawAddress CreateMemTemp (QualType T, const Twine &Name = " tmp" ,
2842- RawAddress *Alloca = nullptr );
2845+ RawAddress *Alloca = nullptr ,
2846+ bool UseNondeterministicInit = false );
28432847 RawAddress CreateMemTemp (QualType T, CharUnits Align,
28442848 const Twine &Name = " tmp" ,
2845- RawAddress *Alloca = nullptr );
2849+ RawAddress *Alloca = nullptr ,
2850+ bool UseNondeterministicInit = false );
28462851
28472852 // / CreateMemTemp - Create a temporary memory object of the given type, with
28482853 // / appropriate alignmen without casting it to the default address space.
0 commit comments