Displaying 1 result from an estimated 1 matches for "frindex".
Did you mean:
rindex
2014 Jul 29
2
[LLVMdev] to lower "write to argument pointer"
...an intrinsic function like this
”
float @llvm.write.arg(flaot %src, float* %dst)
“
I am lowering it with INTRINSIC_W_CHAIN, so the return value and the value to write to dst are generated with some operations using src:
"
// it is the frame index node corresponding to input pointer
SDvalue frindex = Op.getoperand(3);
…
SDValue returnValue = DAG.getNode(myNode1, DL, VT….);
SDValue dstValue = DAG.getNode(myNode2, DL, VT….);
// to save the value to dst pointer, I think I need some call like
SDValue dstOut = DAG.getStore(chain, DL, dstValue, FrameIndex, MachinePointerInfo(), false, false, 0)...