diff options
author | hsmahesha <mahesha.comp@gmail.com> | 2021-10-12 10:04:06 +0530 |
---|---|---|
committer | hsmahesha <mahesha.comp@gmail.com> | 2021-10-12 10:04:15 +0530 |
commit | db9c2d775130a110ada89decff7002c64cdd3364 (patch) | |
tree | 613c0aa6271b7683c83117c9fd008bfdc15936d1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 1321e47298c722de9d2afe0e28d7122fa20e61bf (diff) | |
download | llvm-db9c2d775130a110ada89decff7002c64cdd3364.zip llvm-db9c2d775130a110ada89decff7002c64cdd3364.tar.gz llvm-db9c2d775130a110ada89decff7002c64cdd3364.tar.bz2 |
[CFE][Codegen] Remove CodeGenFunction::InitTempAlloca()
Sequel patch to https://reviews.llvm.org/D111316
Finally, remove the defintion of CodeGenFunction::InitTempAlloca().
Reviewed By: rjmccall
Differential Revision: https://reviews.llvm.org/D111324
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 6c13445..b996585 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2545,15 +2545,6 @@ public: Address CreateDefaultAlignTempAlloca(llvm::Type *Ty, const Twine &Name = "tmp"); - /// InitTempAlloca - Provide an initial value for the given alloca which - /// will be observable at all locations in the function. - /// - /// The address should be something that was returned from one of - /// the CreateTempAlloca or CreateMemTemp routines, and the - /// initializer must be valid in the entry block (i.e. it must - /// either be a constant or an argument value). - void InitTempAlloca(Address Alloca, llvm::Value *Value); - /// CreateIRTemp - Create a temporary IR object of the given type, with /// appropriate alignment. This routine should only be used when an temporary /// value needs to be stored into an alloca (for example, to avoid explicit |