LLVM 20.0.0git
Classes | Namespaces | Functions
MemoryTaggingSupport.h File Reference
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/StackSafetyAnalysis.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Support/Alignment.h"

Go to the source code of this file.

Classes

struct  llvm::memtag::AllocaInfo
 
struct  llvm::memtag::StackInfo
 
class  llvm::memtag::StackInfoBuilder
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::memtag
 

Functions

bool llvm::memtag::forAllReachableExits (const DominatorTree &DT, const PostDominatorTree &PDT, const LoopInfo &LI, const Instruction *Start, const SmallVectorImpl< IntrinsicInst * > &Ends, const SmallVectorImpl< Instruction * > &RetVec, llvm::function_ref< void(Instruction *)> Callback)
 
bool llvm::memtag::isStandardLifetime (const SmallVectorImpl< IntrinsicInst * > &LifetimeStart, const SmallVectorImpl< IntrinsicInst * > &LifetimeEnd, const DominatorTree *DT, const LoopInfo *LI, size_t MaxLifetimes)
 
Instruction * llvm::memtag::getUntagLocationIfFunctionExit (Instruction &Inst)
 
uint64_t llvm::memtag::getAllocaSizeInBytes (const AllocaInst &AI)
 
void llvm::memtag::alignAndPadAlloca (memtag::AllocaInfo &Info, llvm::Align Align)
 
bool llvm::memtag::isLifetimeIntrinsic (Value *V)
 
Value * llvm::memtag::readRegister (IRBuilder<> &IRB, StringRef Name)
 
Value * llvm::memtag::getFP (IRBuilder<> &IRB)
 
Value * llvm::memtag::getPC (const Triple &TargetTriple, IRBuilder<> &IRB)
 
Value * llvm::memtag::getAndroidSlotPtr (IRBuilder<> &IRB, int Slot)
 
void llvm::memtag::annotateDebugRecords (AllocaInfo &Info, unsigned int Tag)