Displaying 1 result from an estimated 1 matches for "miscfrm".
2014 Mar 03
2
[LLVMdev] Lower CFI IDs Using Target Intrinsic
...into the pattern. I admit that I don’t fully grok the tablegen syntax, so a lot of what I’ve been doing is trial and error, and based on examples in other *.td files.
Here’s what I think I’m shooting for...
/* Code in Target/ARM/ARMInstrInfo.td */
def ARMCFIID : AXI<(outs), (ins i32imm:$opt), MiscFrm, NoItinerary,
"cfiid", "\t$opt", [(int_arm_cfiid i32imm:$opt)]>,
Requires<[IsARM]> {
bits<32> opt;
let Inst{31-0} = opt;
}
...
I realize this is very wrong, but just to give you an idea of what I’m trying to do… basically take...