search for: sdnpinglue

Displaying 7 results from an estimated 7 matches for "sdnpinglue".

2019 Dec 10
3
Glue two instructions together
...(INST_OUT (INST_IN), REG:$r1)>; where INST_IN doesn't accepts any inputs and INST_OUT accepts two inputs - one returned by INST_IN and REG;$r1. Is there any possibility to ‘Glue’ two instruction created in a such way? Maybe something similar to creation SDNodes with SDNPOutGlue, SDNPInGlue) ? These two instructions INST_IN and INST_OUT have to be one after another without any other inserted between them. Thanks, Przemek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191210/94de313f/attac...
2019 Dec 11
2
Glue two instructions together
...INST_IN doesn't accepts any inputs and INST_OUT accepts two inputs - one returned by INST_IN and REG;$r1. >>> >>> >>> >>> Is there any possibility to ‘Glue’ two instruction created in a such way? Maybe something similar to creation SDNodes with SDNPOutGlue, SDNPInGlue) ? >>> >>> >>> >>> These two instructions INST_IN and INST_OUT have to be one after another without any other inserted between them. >>> >>> >>> >>> Thanks, >>> >>> Przemek > > __________________________...
2016 Apr 27
2
[Sparc] builtin setjmp / longjmp - need help to get past last problem
...ypeProfile<0, 1, [SDTCisPtrTy<0>]>; + def SPcmpicc : SDNode<"SPISD::CMPICC", SDTSPcmpicc, [SDNPOutGlue]>; def SPcmpfcc : SDNode<"SPISD::CMPFCC", SDTSPcmpfcc, [SDNPOutGlue]>; def SPbricc : SDNode<"SPISD::BRICC", SDTSPbrcc, [SDNPHasChain, SDNPInGlue]>; *************** *** 172,177 **** --- 175,187 ---- def SPselectxcc : SDNode<"SPISD::SELECT_XCC", SDTSPselectcc, [SDNPInGlue]>; def SPselectfcc : SDNode<"SPISD::SELECT_FCC", SDTSPselectcc, [SDNPInGlue]>; + def SPsjlj_setjmp: SDNode<"SPISD::EH_SJLJ_SE...
2011 Oct 09
0
[LLVMdev] How to stick two instructions together?
...nly the immediate result can be directly used, otherwise, several noops need to be inserted.) As the result generated by the binary operation is stored in an implicit forwarding register and flushed every cycle, I need to stick AND and MULADDFWD instructions together. I can use a custom node with SDNPInGlue property to select MULADDFWD, but how can I make the binary operation output a glue, so that I use the glue to stick them together? This may be confusing, but I work in a not-so-normal target. Look forward to your reply. Best wishes Peng Wang -------------- next part -------------- An HTML attach...
2013 Apr 15
3
[LLVMdev] Flag and Glue
...ue. It would be nice for someone to go through and clean up the code as far as comments and variable names. That was driving me close to the brink of insanity till I found out about this. Even in Selection Dag Node Properties def SDNPOutGlue : SDNodeProperty; // Write a flag result def SDNPInGlue : SDNodeProperty; // Read a flag operand def SDNPOptInGlue : SDNodeProperty; // Optionally read a flag operand
2013 Feb 02
0
[LLVMdev] Moving return value registers from MRI to return instructions
...Node<"ARMISD::RET_FLAG", SDTNone, - [SDNPHasChain, SDNPOptInGlue]>; + [SDNPHasChain, SDNPOptInGlue, SDNPVariadic]>; def ARMcmov : SDNode<"ARMISD::CMOV", SDT_ARMCMov, [SDNPInGlue]>; 2. Fast isel code (if any) should be updated to add return value registers as implicit uses on emitted return instructions. 3. XXXISelLowering::LowerReturn() should add return value registers to the RET_FLAG node instead of calling MRI.addLiveOut(): --- a/lib/Target/X86/X86ISelLowering.cpp...
2019 Jul 11
6
Glue to connect two nodes in LLVM backend
Hello everyone, I wanted to attach a node without affecting the present nodes in any way. I tried to use MVT::Glue for that but I think I'm missing something as I could not achieve the below state. LUI LUI | | ADDI ----GLUE---- ADDI | store I've few question about this and Glue node in general, I'll be happy to get some help on