search for: appendinstruct

Displaying 1 result from an estimated 1 matches for "appendinstruct".

2010 Jun 24
0
[LLVMdev] Hello World
> Instruction::insertBefore? Or if you prefer, you can mess with the > result of BasicBlock::getInstList() directly. There it is! I was looking for an equivalent to Instruction::insertBefore inside BasicBlock. (Something along the lines of BasicBlock::appendInstruction.) > You can cast your pointer to an integer, create an LLVM integer > constant, and create a constant cast from that to the relevant pointer > type. Or, you can add an arbitrarily-named Function to the module, > and map it to the appropriate address with > ExecutionEngine::addGl...