LLVM 20.0.0git
Public Member Functions | List of all members
llvm::InsertPosition Class Reference

#include "llvm/IR/Instruction.h"

Public Member Functions

 InsertPosition (std::nullptr_t)
 
 LLVM_DEPRECATED ("Use BasicBlock::iterators for insertion instead", "BasicBlock::iterator") InsertPosition(Instruction *InsertBefore)
 
 InsertPosition (BasicBlock *InsertAtEnd)
 
 InsertPosition (InstListType::iterator InsertAt)
 
 operator InstListType::iterator () const
 
bool isValid () const
 
BasicBlockgetBasicBlock ()
 

Detailed Description

Definition at line 48 of file Instruction.h.

Constructor & Destructor Documentation

◆ InsertPosition() [1/3]

llvm::InsertPosition::InsertPosition ( std::nullptr_t  )
inline

Definition at line 54 of file Instruction.h.

◆ InsertPosition() [2/3]

InsertPosition::InsertPosition ( BasicBlock InsertAtEnd)

Definition at line 32 of file Instruction.cpp.

◆ InsertPosition() [3/3]

llvm::InsertPosition::InsertPosition ( InstListType::iterator  InsertAt)
inline

Definition at line 59 of file Instruction.h.

Member Function Documentation

◆ getBasicBlock()

BasicBlock * llvm::InsertPosition::getBasicBlock ( )
inline

Definition at line 62 of file Instruction.h.

Referenced by computeAllocaDefaultAlign(), and computeLoadStoreDefaultAlign().

◆ isValid()

bool llvm::InsertPosition::isValid ( ) const
inline

◆ LLVM_DEPRECATED()

llvm::InsertPosition::LLVM_DEPRECATED ( "Use BasicBlock::iterators for insertion instead"  ,
"BasicBlock::iterator"   
)

◆ operator InstListType::iterator()

llvm::InsertPosition::operator InstListType::iterator ( ) const
inline

Definition at line 60 of file Instruction.h.


The documentation for this class was generated from the following files: