[llvm-dev] meaning of $ in tablegen

Rail Shafigulin via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 22 14:59:11 PST 2016


What is the meaning of a $ sign in tablgen? Here is an example


// Pattern fragments
def vextract_sext_i8 : PatFrag<(ops node:$vec, node:$idx),
                                              (MipsVExtractSExt node:$vec,
node:$idx, i8)>;

Taken from

https://github.com/llvm-mirror/llvm/blob/fd031a51c35d1781c066a42e221a7ae28610be3f/lib/Target/Mips/MipsMSAInstrInfo.td#L118

-- 
Rail Shafigulin
Software Engineer
Esencia Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160122/f538c26b/attachment.html>


More information about the llvm-dev mailing list