search for: vectype

Displaying 2 results from an estimated 2 matches for "vectype".

Did you mean: vec_type
2015 Jul 16
2
[LLVMdev] Adding integer field to all C++ classes in LLVM
Hi, I want to add an integer field to all C++ classes in LLVM. Where do I look at in the LLVM source to make the necessary changes? As of now, what I understand is that I need to make changes in Type.cpp (llvm/lib/IR/Type.cpp) where I insert an integer field in the ArrayRef passed to StructType::setBody? Thanks! -Mohit. -------------- next part -------------- An HTML attachment was scrubbed...
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...< > + > + (vec_type (vector_insert (vec_type vec_class:$vec), > + (elem_type elem_class:$elem), sub_idx)), > + (INSERT_SUBREG vec_class:$vec, elem_class:$elem, sub_reg) > +>; > + > +// Vector Build pattern > +class Vector_Build <ValueType vecType, RegisterClass elemClass> : Pat < > + (IL_vbuild elemClass:$src), > + (INSERT_SUBREG (vecType (IMPLICIT_DEF)), elemClass:$src, sel_x) > +>; > + > +// bitconvert pattern > +class BitConvert <ValueType dt, ValueType st, RegisterClass rc> : Pat < > + (dt (bitc...