search for: newmdnode

Displaying 2 results from an estimated 2 matches for "newmdnode".

Did you mean: new_node
2013 Nov 25
0
[LLVMdev] CodeExtractor status?
...y creating a new metadata node (MDNode) as a copy of the old one (retrieving the old MDNode operands with getOperand()). Then link it to the instruction/BB, and unlink the old MDNode. For this, you have to lookup the MDNode kind ID in the instruction's MDNode list, and use setMetadata(kind, newMDNode). I'm saying this by heart, try googling "replace MDNode" or something like that. > I also seem to be having issues with the Verifier's DominatorTree > analysis claiming that some of the instructions in the new function > don’t dominate their uses in the new function,...
2013 Nov 21
2
[LLVMdev] CodeExtractor status?
Hi Pablo, Your tool sounds really cool. It goes well beyond what I’m trying to do, which is really just extracting blocks of code, serializing and sending the inputs over to another core, running the code over there, and then sending the outputs back to the original caller (like an automatic RPC). So it sounds like most of the things your tool can do would be overkill for my use case. What I’ve