search for: read_world

Displaying 3 results from an estimated 3 matches for "read_world".

2010 Sep 25
2
[LLVMdev] custom lowering with multiple results
Here's a concrete example of what I'm having problems with: trying to use LowerOperation to replace one node with two nodes. Imagine I have a new instruction "read_world" that sets the status flags according to some kind of global state. In order to generate this instruction I have a built-in function with the prototype "int __builtin_read_world(void)". I also have a new instruction "read_flags" that sets a register according to the status...
2010 Oct 05
1
[LLVMdev] custom lowering with multiple results
I may have found a solution to the problem. The attached patch seems to do what I was trying to do. It's a work-around, really. What I have done is split the READ_WORLD node (inputs: Chain; outputs: Flag, Chain) into two nodes: READ_WORLD1 (inputs: Chain; outputs, i32, Chain), and READ_WORLD2 (inputs: i32; outputs: Flag). The pair of nodes is matched by a single pattern in the .td file. Is it a known limitation that you can't have a single node that operates...
2010 Oct 04
0
[LLVMdev] custom lowering with multiple results
.... If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -------------- next part -------------- A non-text attachment was scrubbed... Name: read_world.patch Type: text/x-patch Size: 5333 bytes Desc: read_world.patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101004/99d598f2/attachment.bin>