ΒΆvoid LLVMGetBasicBlocks(
    LLVMValueRef Fn,
    LLVMBasicBlockRef* BasicBlocks)

Description

Obtain all of the basic blocks in a function. This operates on a function value. The BasicBlocks parameter is a pointer to a pre-allocated array of LLVMBasicBlockRef of at least LLVMCountBasicBlocks() in length. This array is populated with LLVMBasicBlockRef instances.

Declared at: llvm/include/llvm-c/Core.h:2893

Parameters

LLVMValueRef Fn
LLVMBasicBlockRef* BasicBlocks