Lines Matching defs:ElementBitwidth
155 unsigned Bitwidth, ElementBitwidth, NumVectors;
161 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {}
166 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) {
192 bool isFloat() const { return isFloating() && ElementBitwidth == 32; }
193 bool isDouble() const { return isFloating() && ElementBitwidth == 64; }
194 bool isHalf() const { return isFloating() && ElementBitwidth == 16; }
195 bool isChar() const { return ElementBitwidth == 8; }
196 bool isShort() const { return isInteger() && ElementBitwidth == 16; }
197 bool isInt() const { return isInteger() && ElementBitwidth == 32; }
198 bool isLong() const { return isInteger() && ElementBitwidth == 64; }
203 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; }
205 unsigned getElementSizeInBits() const { return ElementBitwidth; }
224 ElementBitwidth = ElemWidth;
230 ElementBitwidth = ElemWidth;
234 Bitwidth = ElementBitwidth;
245 ElementBitwidth = 32;
667 S += utostr(ElementBitwidth);
695 switch (ElementBitwidth) {
704 assert(ElementBitwidth == 16 && "BFloat16 can only be 16 bits");
707 assert(ElementBitwidth == 8 && "MFloat8 can only be 8 bits");
712 switch (ElementBitwidth) {
744 switch (ElementBitwidth) {
807 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth);
810 T.Bitwidth = T.ElementBitwidth;
822 T.Bitwidth = T.ElementBitwidth * NumLanes;
845 ElementBitwidth = ~0U;
867 ElementBitwidth = 8;
873 ElementBitwidth = 16;
879 ElementBitwidth = 32;
885 ElementBitwidth = 64;
888 ElementBitwidth = 128;
895 ElementBitwidth = 16;
899 ElementBitwidth = 8;
905 assert(ElementBitwidth != ~0U && "Bad element bitwidth!");
929 ElementBitwidth = 16;
939 Bitwidth = ElementBitwidth = 64;
945 assert(ElementBitwidth < 128);
946 ElementBitwidth *= 2;
949 assert(ElementBitwidth > 8);
950 ElementBitwidth /= 2;
978 ElementBitwidth = Bitwidth = 32;