search for: machineirbuilder

Displaying 5 results from an estimated 5 matches for "machineirbuilder".

2019 Jan 31
2
MachineIRBuilder API
...From: <daniel_l_sanders at apple.com> on behalf of Daniel Sanders <daniel_l_sanders at apple.com> Date: Wednesday, January 30, 2019 at 9:32 PM To: "Arsenault, Matthew" <Matthew.Arsenault at amd.com> Cc: llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] MachineIRBuilder API Hi Matt, Personally, I like that it follows the same pattern as MachineInstrBuilder used elsewhere in MIR. It would certainly be nice to create whole expressions at once though. I believe that nested SelectionDAG-style get*() functions have an ordering problem when used for MIR that wasn'...
2019 Jan 31
3
MachineIRBuilder API
Hi, I’m finding the API for MachineIRBuilder to be pretty annoying to use compared to SelectionDAG. I think it’s making the majority of code more verbose and unwieldly for anything less than trivial. I think changing it to behave more like the DAG.get* functions would make it easier to use, and decrease the mental overhead when porting code f...
2017 Dec 21
2
How to implement lowerReturn for poring GlobalISel to RISCV?
Hi LLVM developers, Thank Daniel Sanders, Aditya Nandakumar and Justin Bogner's Tutorial[1]: Head First into GlobalISel about how to port, and Aditya took BPF target as a simple instance: bool BPFCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder,                                   const Value *Val, unsigned VReg) const {   assert(!Val == !VReg && "Return value without a vreg");   MIRBuilder.buildInstr(BPF::RET);   return true; } But how to implement it for RISCV target? https://github.com/xiangzhai/l...
2016 Dec 12
0
LLVM Weekly - #154, Dec 12th 2016
...e used to recognise new keywords beyond RUN, REQUIRES etc. [r288694](http://reviews.llvm.org/rL288694). * The performance of LowerTypeTests was improved. This reduces the pass runtime on a module containing Chrome's vtables from over 60s to 0.9s. [r288859](http://reviews.llvm.org/rL288859). * MachineIRBuilder (part of the in-development GlobalISel infrastructure) has had its interface reworks so it acts much more like IRBuilder, allowing you to insert an instruction before the passed instruction. [r288980](http://reviews.llvm.org/rL288980). * A DWARF generator was added to enable the unit testing of DW...
2015 Nov 18
13
[GlobalISel] A Proposal for global instruction selection
...hment-0010.obj> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151118/b483435a/attachment-0012.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0005-Introduce-a-MachineIRBuilder-to-gather-all-the-Machi.patch Type: application/octet-stream Size: 2598 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151118/b483435a/attachment-0011.obj> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists....