search for: tp24211066p24256897

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

2009 Jun 27
0
[LLVMdev] Inserting nodes into SelectionDAG (X86)
On Jun 26, 2009, at 4:49 AM, Artjom K. wrote: > > Thank you for your help. > > I think I managed to create the instruction I wanted: > > // mov eax, 41 > Chain = DAG.getCopyToReg(Chain, DAG.getRegister(X86::EAX, MVT::i32), > DAG.getConstant(41, MVT::i32), InFlag); > InFlag = Chain.getValue(1); > > I don't understand though what InFlag is for. As I read the
2009 Jun 29
2
[LLVMdev] Inserting nodes into SelectionDAG (X86)
...Ops.push_back(DAG.getConstant(1, MVT::i32)); Chain = DAG.getNode(ISD::ADD, DAG.getVTList(MVT::Other, MVT::i32), &Ops[0], Ops.size()); Isn't that the way how it is supposed to work? Artjom -- View this message in context: http://www.nabble.com/Inserting-nodes-into-SelectionDAG-%28X86%29-tp24211066p24256897.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2009 Jun 26
2
[LLVMdev] Inserting nodes into SelectionDAG (X86)
Thank you for your help. I think I managed to create the instruction I wanted: // mov eax, 41 Chain = DAG.getCopyToReg(Chain, DAG.getRegister(X86::EAX, MVT::i32), DAG.getConstant(41, MVT::i32), InFlag); InFlag = Chain.getValue(1); I don't understand though what InFlag is for. As I read the code, it even remains uninitialized when first passed to some node creation method.