Lines Matching defs:ElementBitwidth
158 unsigned Bitwidth, ElementBitwidth, NumVectors;
164 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {}
169 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) {
195 bool isFloat() const { return isFloating() && ElementBitwidth == 32; }
196 bool isDouble() const { return isFloating() && ElementBitwidth == 64; }
197 bool isHalf() const { return isFloating() && ElementBitwidth == 16; }
198 bool isChar() const { return ElementBitwidth == 8; }
199 bool isShort() const { return isInteger() && ElementBitwidth == 16; }
200 bool isInt() const { return isInteger() && ElementBitwidth == 32; }
201 bool isLong() const { return isInteger() && ElementBitwidth == 64; }
204 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; }
206 unsigned getElementSizeInBits() const { return ElementBitwidth; }
225 ElementBitwidth = ElemWidth;
231 ElementBitwidth = ElemWidth;
235 Bitwidth = ElementBitwidth;
246 ElementBitwidth = 32;
628 S += utostr(ElementBitwidth);
656 switch (ElementBitwidth) {
665 assert(ElementBitwidth == 16 && "BFloat16 can only be 16 bits");
668 switch (ElementBitwidth) {
700 switch (ElementBitwidth) {
757 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth);
760 T.Bitwidth = T.ElementBitwidth;
772 T.Bitwidth = T.ElementBitwidth * NumLanes;
795 ElementBitwidth = ~0U;
817 ElementBitwidth = 8;
823 ElementBitwidth = 16;
829 ElementBitwidth = 32;
835 ElementBitwidth = 64;
838 ElementBitwidth = 128;
845 ElementBitwidth = 16;
851 assert(ElementBitwidth != ~0U && "Bad element bitwidth!");
875 ElementBitwidth = 16;
884 assert(ElementBitwidth < 128);
885 ElementBitwidth *= 2;
888 assert(ElementBitwidth > 8);
889 ElementBitwidth /= 2;
917 ElementBitwidth = Bitwidth = 32;