LLVM  15.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. More...
 
void LLVMSetIsInBounds (LLVMValueRef GEP, LLVMBool InBounds)
 Set the given GEP instruction to be inbounds or not. More...
 
LLVMTypeRef LLVMGetGEPSourceElementType (LLVMValueRef GEP)
 Get the source element type of the given GEP operator. More...
 

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 3049 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 3041 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 3045 of file Core.cpp.

References GEP.