LLVM 19.0.0git
Functions

Functions in this group only apply to instructions that map to llvm::GetElementPtrInst instances. More...

Collaboration diagram for GEPs:

Functions

LLVMBool LLVMIsInBounds (LLVMValueRef GEP)
 Check whether the given GEP operator is inbounds.
 
void LLVMSetIsInBounds (LLVMValueRef GEP, LLVMBool InBounds)
 Set the given GEP instruction to be inbounds or not.
 
LLVMTypeRef LLVMGetGEPSourceElementType (LLVMValueRef GEP)
 Get the source element type of the given GEP operator.
 

Detailed Description

Functions in this group only apply to instructions that map to llvm::GetElementPtrInst instances.

Function Documentation

◆ LLVMGetGEPSourceElementType()

LLVMTypeRef LLVMGetGEPSourceElementType ( LLVMValueRef  GEP)

Get the source element type of the given GEP operator.

Definition at line 3080 of file Core.cpp.

References GEP, and llvm::wrap().

◆ LLVMIsInBounds()

LLVMBool LLVMIsInBounds ( LLVMValueRef  GEP)

Check whether the given GEP operator is inbounds.

Definition at line 3072 of file Core.cpp.

References GEP.

◆ LLVMSetIsInBounds()

void LLVMSetIsInBounds ( LLVMValueRef  GEP,
LLVMBool  InBounds 
)

Set the given GEP instruction to be inbounds or not.

Definition at line 3076 of file Core.cpp.

References GEP.