LLVM 18.0.0git
|
Functions in this group only apply to instructions that map to llvm::ExtractValue and llvm::InsertValue instances. More...
Functions | |
unsigned | LLVMGetNumIndices (LLVMValueRef Inst) |
Obtain the number of indices. | |
const unsigned * | LLVMGetIndices (LLVMValueRef Inst) |
Obtain the indices as an array. | |
Functions in this group only apply to instructions that map to llvm::ExtractValue and llvm::InsertValue instances.
const unsigned * LLVMGetIndices | ( | LLVMValueRef | Inst | ) |
Obtain the indices as an array.
Definition at line 2996 of file Core.cpp.
References I, IV, llvm_unreachable, and llvm::unwrap().
unsigned LLVMGetNumIndices | ( | LLVMValueRef | Inst | ) |
Obtain the number of indices.
NB: This also works on GEP operators.
Definition at line 2984 of file Core.cpp.
References GEP, I, IV, llvm_unreachable, and llvm::unwrap().