Displaying 7 results from an estimated 7 matches for "ambujbwt".
2015 Feb 27
0
[LLVMdev] LLVM register number for MIPS DAGToDAG
> On Feb 27, 2015, at 1:59 AM, Ambuj Agrawal <ambujbwt at gmail.com> wrote:
>
> Is it possible to get a register number to which the value is allocated to in MIPS in DAGToDAG class?
>
> More Specifically:
> SDValue Reg3 = Node->getOperand(3);
> if (RegisterSDNode *R = dyn_cast<Regi...
2015 Feb 28
2
[LLVMdev] LLVM register number for MIPS DAGToDAG
...umber.
For eg when the allocated register is 3 in assembly the output given by
MO.getReg() is 290.
Any clues why is this the case?
Thanks,
Ambuj
On Fri, Feb 27, 2015 at 5:46 PM, Quentin Colombet <qcolombet at apple.com>
wrote:
>
> > On Feb 27, 2015, at 1:59 AM, Ambuj Agrawal <ambujbwt at gmail.com> wrote:
> >
> > Is it possible to get a register number to which the value is allocated
> to in MIPS in DAGToDAG class?
> >
> > More Specifically:
> > SDValue Reg3 = Node->getOperand(3);
> > if (Regist...
2015 Feb 16
2
[LLVMdev] LLVM Backend
I am working on LLVM backend and was wondering if there is any way by which
I can access the value stored SDValue so I can either assign it as a
literal or move it to register in an user defined instruction.
Something like:
SDValue Value = Op->getOperand(2);
intValue = Value.get_integer_value //get Value as an int
and then
if ( intValue > 31)
Thanks,
Ambuj
-------------- next part
2015 May 06
3
[LLVMdev] This year's EuroLLVM Developer's meeting
Where can I find slides and videos for this year's EuroLLVM Developer's
meeting?
Thanks,
Ambuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150506/911e659f/attachment.html>
2015 Feb 27
2
[LLVMdev] LLVM register number for MIPS DAGToDAG
Is it possible to get a register number to which the value is allocated to
in MIPS in DAGToDAG class?
More Specifically:
SDValue Reg3 = Node->getOperand(3);
if (RegisterSDNode *R = dyn_cast<RegisterSDNode>(Reg3))
{
op3 = cast<RegisterSDNode>(Reg3)->getReg();
2015 Mar 19
2
[LLVMdev] Clang flag to either print/omit nop instruction in llvm backend
I have created custom Clang flag -no_nop_optimise which can be passes with
clang on command line.
I am planning to implement someting like:
when -no_nop_optimise flag is passed on the command line do not emit a nop
instruction.
i.e. inside SelLowering class
if ( !OPT_no_nop_optimise)
{
BuildMI(*BB, MI, DL, TII->get(Mips::NOP));
}
Any clues on how can I pass the flag to the LLVM backend
2015 Mar 09
2
[LLVMdev] LLVM Backend DAGToDAGISel INTRINSIC
I am currently working on DAGToDAGISel class for MIPS and am trying to
figure out a way to use INTRINSIC_W_CHAIN for an intrinsic which can return
a value.
My intrinsic is defined as:
Intrinsic<[llvm_i32_ty],[llvm_i32_ty,llvm_i32_ty,llvm_i32_ty,llvm_i32_ty],[IntrReadWriteArgMem]>;
i.e. it has four arguments and one return value
In DAGToDAGISel when I try to pass it with four arguments and