LLVM 20.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 67 of file MemoryTaggingSupport.h.
|
inline |
Definition at line 69 of file MemoryTaggingSupport.h.
|
inline |
Definition at line 73 of file MemoryTaggingSupport.h.
bool llvm::memtag::StackInfoBuilder::isInterestingAlloca | ( | const AllocaInst & | AI | ) |
Definition at line 181 of file MemoryTaggingSupport.cpp.
References llvm::memtag::getAllocaSizeInBytes(), llvm::AllocaInst::getAllocatedType(), llvm::isAllocaPromotable(), llvm::StackSafetyGlobalInfo::isSafe(), llvm::Type::isScalableTy(), 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 114 of file MemoryTaggingSupport.cpp.
References llvm::memtag::StackInfo::AllocasToInstrument, llvm::memtag::StackInfo::CallsReturnTwice, llvm::memtag::AllocaInfo::DbgVariableIntrinsics, llvm::memtag::AllocaInfo::DbgVariableRecords, llvm::filterDbgVars(), llvm::findAllocaForValue(), llvm::for_each(), llvm::Instruction::getDbgRecordRange(), llvm::memtag::getUntagLocationIfFunctionExit(), II, isInterestingAlloca(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::memtag::StackInfo::RetVec, and llvm::memtag::StackInfo::UnrecognizedLifetimes.