LLVM: GEPs (original) (raw)

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

Collaboration diagram for GEPs:

Functions
LLVM_C_ABI LLVMBool LLVMIsInBounds (LLVMValueRef GEP)
Check whether the given GEP operator is inbounds.
LLVM_C_ABI void LLVMSetIsInBounds (LLVMValueRef GEP, LLVMBool InBounds)
Set the given GEP instruction to be inbounds or not.
LLVM_C_ABI LLVMTypeRef LLVMGetGEPSourceElementType (LLVMValueRef GEP)
Get the source element type of the given GEP operator.
LLVM_C_ABI LLVMGEPNoWrapFlags LLVMGEPGetNoWrapFlags (LLVMValueRef GEP)
Get the no-wrap related flags for the given GEP instruction.
LLVM_C_ABI void LLVMGEPSetNoWrapFlags (LLVMValueRef GEP, LLVMGEPNoWrapFlags NoWrapFlags)
Set the no-wrap related flags for the given GEP instruction.

Detailed Description

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

Function Documentation

LLVMGEPGetNoWrapFlags()

LLVMGEPSetNoWrapFlags()

LLVMGetGEPSourceElementType()

LLVMIsInBounds()

LLVMSetIsInBounds()