LLVM 18.0.0git
|
#include "llvm/Transforms/Utils/MemoryTaggingSupport.h"
Public Member Functions | |
StackInfoBuilder (const StackSafetyGlobalInfo *SSI) | |
void | visit (Instruction &Inst) |
bool | isInterestingAlloca (const AllocaInst &AI) |
StackInfo & | get () |
Definition at line 64 of file MemoryTaggingSupport.h.
|
inline |
Definition at line 66 of file MemoryTaggingSupport.h.
|
inline |
Definition at line 70 of file MemoryTaggingSupport.h.
bool llvm::memtag::StackInfoBuilder::isInterestingAlloca | ( | const AllocaInst & | AI | ) |
Definition at line 157 of file MemoryTaggingSupport.cpp.
References llvm::memtag::getAllocaSizeInBytes(), llvm::AllocaInst::getAllocatedType(), llvm::isAllocaPromotable(), llvm::StackSafetyGlobalInfo::isSafe(), llvm::Type::isSized(), llvm::AllocaInst::isStaticAlloca(), llvm::AllocaInst::isSwiftError(), and llvm::AllocaInst::isUsedWithInAlloca().
Referenced by visit().
void llvm::memtag::StackInfoBuilder::visit | ( | Instruction & | Inst | ) |
Definition at line 112 of file MemoryTaggingSupport.cpp.
References llvm::memtag::StackInfo::AllocasToInstrument, llvm::memtag::StackInfo::CallsReturnTwice, llvm::memtag::AllocaInfo::DbgVariableIntrinsics, llvm::findAllocaForValue(), llvm::memtag::getUntagLocationIfFunctionExit(), isInterestingAlloca(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::memtag::StackInfo::RetVec, and llvm::memtag::StackInfo::UnrecognizedLifetimes.