| 
    LLVM 22.0.0git
    
   | 
 
Classes | |
| struct | AllocaInfo | 
| struct | StackInfo | 
| class | StackInfoBuilder | 
Enumerations | |
| enum class | AllocaInterestingness { kUninteresting , kSafe , kInteresting } | 
      
  | 
  strong | 
| Enumerator | |
|---|---|
| kUninteresting | |
| kSafe | |
| kInteresting | |
Definition at line 64 of file MemoryTaggingSupport.h.
| void llvm::memtag::alignAndPadAlloca | ( | memtag::AllocaInfo & | Info, | 
| llvm::Align | Align ) | 
Definition at line 205 of file MemoryTaggingSupport.cpp.
References llvm::alignTo(), llvm::cast(), llvm::ArrayType::get(), llvm::StructType::get(), getAllocaSizeInBytes(), llvm::Type::getInt8Ty(), Info, and Size.
| void llvm::memtag::annotateDebugRecords | ( | AllocaInfo & | Info, | 
| unsigned int | Tag ) | 
Definition at line 279 of file MemoryTaggingSupport.cpp.
References llvm::DIExpression::appendOpsToArg(), llvm::dwarf::DW_OP_LLVM_tag_offset, DynCastToDbgAssign(), llvm::for_each(), Info, llvm::DIExpression::prependOpcodes(), and llvm::Tag.
      
  | 
  static | 
Definition at line 275 of file MemoryTaggingSupport.cpp.
References llvm::DbgVariableRecord::isDbgAssign().
Referenced by annotateDebugRecords().
| 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 ) | 
Definition at line 48 of file MemoryTaggingSupport.cpp.
References llvm::SmallPtrSetImpl< PtrType >::contains(), llvm::PostDominatorTree::dominates(), llvm::for_each(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::isPotentiallyReachable(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
| uint64_t llvm::memtag::getAllocaSizeInBytes | ( | const AllocaInst & | AI | ) | 
Definition at line 200 of file MemoryTaggingSupport.cpp.
References DL, llvm::AllocaInst::getAllocationSize(), and llvm::Instruction::getDataLayout().
Referenced by alignAndPadAlloca(), and llvm::memtag::StackInfoBuilder::getAllocaInterestingness().
Definition at line 264 of file MemoryTaggingSupport.cpp.
References llvm::IRBuilderBase::CreateCall(), llvm::IRBuilderBase::CreateConstGEP1_32(), llvm::IRBuilderBase::GetInsertBlock(), llvm::IRBuilderBase::getInt8Ty(), llvm::Intrinsic::getOrInsertDeclaration(), llvm::BasicBlock::getParent(), llvm::GlobalValue::getParent(), and llvm::IRBuilderBase::getPtrTy().
Definition at line 246 of file MemoryTaggingSupport.cpp.
References llvm::Triple::aarch64, llvm::IRBuilderBase::CreatePtrToInt(), llvm::Triple::getArch(), llvm::IRBuilderBase::GetInsertBlock(), llvm::IRBuilderBase::getIntPtrTy(), llvm::BasicBlock::getParent(), llvm::GlobalValue::getParent(), and readRegister().
| Instruction * llvm::memtag::getUntagLocationIfFunctionExit | ( | Instruction & | Inst | ) | 
Definition at line 102 of file MemoryTaggingSupport.cpp.
References llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent(), and llvm::isa().
Referenced by llvm::memtag::StackInfoBuilder::visit().
| Value * llvm::memtag::incrementThreadLong | ( | IRBuilder<> & | IRB, | 
| Value * | ThreadLong, | ||
| unsigned int | Inc ) | 
Definition at line 299 of file MemoryTaggingSupport.cpp.
References assert(), llvm::IRBuilderBase::CreateAdd(), llvm::IRBuilderBase::CreateAnd(), llvm::IRBuilderBase::CreateAShr(), llvm::IRBuilderBase::CreateShl(), llvm::IRBuilderBase::CreateXor(), and llvm::Value::getType().
| bool llvm::memtag::isStandardLifetime | ( | const SmallVectorImpl< IntrinsicInst * > & | LifetimeStart, | 
| const SmallVectorImpl< IntrinsicInst * > & | LifetimeEnd, | ||
| const DominatorTree * | DT, | ||
| const LoopInfo * | LI, | ||
| size_t | MaxLifetimes ) | 
Definition at line 89 of file MemoryTaggingSupport.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::size().
Definition at line 237 of file MemoryTaggingSupport.cpp.
References llvm::IRBuilderBase::CreateIntrinsic(), llvm::MDNode::get(), llvm::MetadataAsValue::get(), llvm::IRBuilderBase::GetInsertBlock(), llvm::IRBuilderBase::getIntPtrTy(), llvm::BasicBlock::getParent(), and llvm::GlobalValue::getParent().
Referenced by getPC().