Displaying 2 results from an estimated 2 matches for "tp21961718p28239244".
Did you mean:
tp21961718p28239236
2010 Apr 14
0
[LLVMdev] Operand, instruction
There's an entire tutorial at http://llvm.org/docs/tutorial which
includes covers the IRBuilder to generate all sorts of IR, including the
add instruction. You can skip ahead to chapter 3 if you just want to see
LLVM API, but I suggest you read the whole tutorial if you have the time.
Nick
help__me_please wrote:
>
> Thanks for reply.
> I have used AllocaInst, it's working but
2010 Apr 14
4
[LLVMdev] Operand, instruction
Thanks for reply.
I have used AllocaInst, it's working but i think it's only for allocating
some memory for new variable. And CallInst creates a call instruction. I am
looking for creating a add or sub instruction.
I used function instruction(), which gives me error "error: cannot allocate
an object of abstract type ‘llvm::Instruction’" and also "Instruction.h:28:
note: