LLVM  8.0.1
Namespaces | Functions
AutoUpgrade.h File Reference
#include "llvm/ADT/StringRef.h"
Include dependency graph for AutoUpgrade.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

bool llvm::UpgradeIntrinsicFunction (Function *F, Function *&NewFn)
 This is a more granular function that simply checks an intrinsic function for upgrading, and returns true if it requires upgrading. More...
 
void llvm::UpgradeIntrinsicCall (CallInst *CI, Function *NewFn)
 This is the complement to the above, replacing a specific call to an intrinsic function with a call to the specified new function. More...
 
void llvm::UpgradeInlineAsmString (std::string *AsmStr)
 Upgrade comment in call to inline asm that represents an objc retain release marker. More...
 
void llvm::UpgradeCallsToIntrinsic (Function *F)
 This is an auto-upgrade hook for any old intrinsic function syntaxes which need to have both the function updated as well as all calls updated to the new function. More...
 
bool llvm::UpgradeGlobalVariable (GlobalVariable *GV)
 This checks for global variables which should be upgraded. More...
 
bool llvm::UpgradeModuleFlags (Module &M)
 This checks for module flags which should be upgraded. More...
 
bool llvm::UpgradeRetainReleaseMarker (Module &M)
 This checks for objc retain release marker which should be upgraded. More...
 
void llvm::UpgradeSectionAttributes (Module &M)
 
MDNodellvm::UpgradeTBAANode (MDNode &TBAANode)
 If the given TBAA tag uses the scalar TBAA format, create a new node corresponding to the upgrade to the struct-path aware TBAA format. More...
 
Instructionllvm::UpgradeBitCastInst (unsigned Opc, Value *V, Type *DestTy, Instruction *&Temp)
 This is an auto-upgrade for bitcast between pointers with different address spaces: the instruction is replaced by a pair ptrtoint+inttoptr. More...
 
Valuellvm::UpgradeBitCastExpr (unsigned Opc, Constant *C, Type *DestTy)
 This is an auto-upgrade for bitcast constant expression between pointers with different address spaces: the instruction is replaced by a pair ptrtoint+inttoptr. More...
 
bool llvm::UpgradeDebugInfo (Module &M)
 Check the debug info version number, if it is out-dated, drop the debug info. More...
 
bool llvm::mayBeOldLoopAttachmentTag (StringRef Name)
 Check whether a string looks like an old loop attachment tag. More...
 
MDNodellvm::upgradeInstructionLoopAttachment (MDNode &N)
 Upgrade the loop attachment metadata node. More...