Displaying 2 results from an estimated 2 matches for "fooisd".
2016 Feb 01
2
TableGen customized node with mayStore attribute is deleted if there is no use
...hope it will not be deleted. However,
it does not work like I assume. There must be something wrong. But I don't
know it's because this trick does not work in theory or it's because my
implementation is wrong.
def MoveTy : SDTypeProfile<1, 1, []>;
def MoveFlag : SDNode<"FOOISD::MOVE_FLAG", MoveTy, [SDNPHasChain,
SDNPSideEffect, SDNPMayStore, SDNPMayLoad]>;
let hasSideEffects = 1, mayStore = 1, mayLoad = 1 in {
def MOVE : InstFOO<(outs ARegs:$dst), (ins BRegs:$src),
"move $dst, $src",
[(set i32:$dst, (MoveFlag...
2015 Nov 25
2
need help for customized backend LowerFormalArguments
...m PRegs to GRRegs
because my add instruction's source registers should belong to GRRegs or
GRRegsAdditional.
I define 'move' and 'add' instructions like this:
def MoveRRTy : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>, SDTCisInt<0>]>;
def moverr : SDNode<"FOOISD::MOVERR", MoveRRTy>;
def MOVE : InstFOO<(outs GRRegsAdditional:$dst),
(ins PRegs:$src),
"move $dst, $src",[(set i32:$dst, (moverr i32:$src))]>;
def ADDINT: InstFOO<(outs GRRegsAdditional:$dst),
(ins GRRegsAddition...