Displaying 2 results from an estimated 2 matches for "llvminsertexistingbasicblock".
2010 May 27
2
[LLVMdev] Manipulating basic blocks with the C bindings
...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(LLVMBasicBlockRef InsertBeforeBB,
LLVMBasicBlock BB);
Does this sound reasonable? Am I missing something?
- Eva...
2010 May 27
0
[LLVMdev] Manipulating basic blocks with the C bindings
...ontinue 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 LLVMInsertExistingBasicBlock(LLVMBasicBlockRef InsertBeforeBB,
> LLVMBasicBlock BB);
>
> Does this sound reasonable? A...