diff options
Diffstat (limited to 'include/llvm/AutoUpgrade.h')
-rw-r--r-- | include/llvm/AutoUpgrade.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/AutoUpgrade.h b/include/llvm/AutoUpgrade.h index ca3446e455..8df87faf41 100644 --- a/include/llvm/AutoUpgrade.h +++ b/include/llvm/AutoUpgrade.h @@ -19,6 +19,7 @@ namespace llvm { class GlobalVariable; class Function; class CallInst; + class Instruction; /// This is a more granular function that simply checks an intrinsic function /// for upgrading, and returns true if it requires upgrading. It may return @@ -39,6 +40,10 @@ namespace llvm { /// This checks for global variables which should be upgraded. It returns true /// if it requires upgrading. bool UpgradeGlobalVariable(GlobalVariable *GV); + + /// If the TBAA tag for the given instruction uses the scalar TBAA format, + /// we upgrade it to the struct-path aware TBAA format. + void UpgradeInstWithTBAATag(Instruction *I); } // End llvm namespace #endif |