Displaying 2 results from an estimated 2 matches for "llvmappendexistingbasicblock".
2010 May 27
2
[LLVMdev] Manipulating basic blocks with the C bindings
...priately if I
never find it). It looks like the C++ API allows one to do what I'm
describing, but I don't see a way to do it with the C bindings.
I'd like to add the following functions. Hopefully my intent is clear.
I'm very open to name suggestions, as these are a mouthful:
void LLVMAppendExistingBasicBlockInContext(LLVMContextRef C,
LLVMValueRef Fn, LLVMBasicBlock BB);
void LLVMInsertExistingBasicBlockInContext(LLVMContextRef C,
LLVMBasicBlockRef InsertBeforeBB, LLVMBasicBlock BB);
void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, LLVMBasicBlock BB);
void LLVMInsertExistingBasicBlock(LLVMBasicBlockR...
2010 May 27
0
[LLVMdev] Manipulating basic blocks with the C bindings
...l, put another unconditional branch
to that same block, then call LLVMPositionBuilderAtEnd(labelBlock) and
continue on your way.
>
> I'd like to add the following functions. Hopefully my intent is clear.
> I'm very open to name suggestions, as these are a mouthful:
>
> void LLVMAppendExistingBasicBlockInContext(LLVMContextRef C,
> LLVMValueRef Fn, LLVMBasicBlock BB);
> void LLVMInsertExistingBasicBlockInContext(LLVMContextRef C,
> LLVMBasicBlockRef InsertBeforeBB, LLVMBasicBlock BB);
> void LLVMAppendExistingBasicBlock(LLVMValueRef Fn, LLVMBasicBlock BB);
> void LLVMInsertExistingB...