search for: getvalueaspair

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

2012 Nov 06
0
[LLVMdev] Introducing a new built-in type to tblgen.
...lf useful. I would like to add a built-in types 'pair'. Pair is a compound type with two template argument: pair<ty1, ty2>; The idea is to add a literal for that type (maybe something like (x,y), or x->y...). As done with other built-in types, we could then add the method: Record::getValueAsPair(string). Which will return a new class, PairInit. I think feature will enable tblgen backends that need to build associative data structures to be more concise. I will appreciate any feedback on the proposed feature. Thx allot, Elior ----------------------------------------------------------------...