search for: int_my_builtin_function_nam

Displaying 1 result from an estimated 1 matches for "int_my_builtin_function_nam".

2014 Jun 10
2
[LLVMdev] Regarding Instruction definition in LLVM backend
..."; } class SII<bits&lt;6> op, string instr_asm, Operand Imm> : FI<op, (outs), (ins Imm:$val), !strconcat(instr_asm, &quot;\t$val&quot;), [], IIAlu> { let rs = 0; let rt = 0; } def MOV : SII<0x21, "mov", simm16>; def : TARGETPat<(int_my_builtin_function_name (imm:$val)), (MOV imm:$val)>; I just found that the base Instruction class has Defs and Uses lists where it is possible to pass the Registers, but actually I could not use them for my situation. I think that I should have Registers in a class "SII", for example like: class SII<b...