LLVM 22.0.0git
|
Functions in this group only apply to instructions that map to llvm::ExtractValue and llvm::InsertValue instances. More...
Functions | |
LLVM_C_ABI unsigned | LLVMGetNumIndices (LLVMValueRef Inst) |
Obtain the number of indices. | |
LLVM_C_ABI 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.
LLVM_C_ABI const unsigned * LLVMGetIndices | ( | LLVMValueRef | Inst | ) |
Obtain the indices as an array.
Definition at line 3272 of file Core.cpp.
References llvm::dyn_cast(), I, IV, llvm_unreachable, and llvm::unwrap().
LLVM_C_ABI unsigned LLVMGetNumIndices | ( | LLVMValueRef | Inst | ) |
Obtain the number of indices.
NB: This also works on GEP operators.
Definition at line 3260 of file Core.cpp.
References llvm::dyn_cast(), GEP, I, IV, llvm_unreachable, and llvm::unwrap().