Lines Matching refs:ElementBitwidth
138 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon985e31310111::Type
144 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
149 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
171 bool isFloat() const { return Float && ElementBitwidth == 32; } in isFloat()
172 bool isDouble() const { return Float && ElementBitwidth == 64; } in isDouble()
173 bool isHalf() const { return Float && ElementBitwidth == 16; } in isHalf()
175 bool isChar() const { return ElementBitwidth == 8; } in isChar()
176 bool isShort() const { return !Float && ElementBitwidth == 16; } in isShort()
177 bool isInt() const { return !Float && ElementBitwidth == 32; } in isInt()
178 bool isLong() const { return !Float && ElementBitwidth == 64; } in isLong()
180 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
182 unsigned getElementSizeInBits() const { return ElementBitwidth; } in getElementSizeInBits()
194 ElementBitwidth = ElemWidth; in makeInteger()
197 Bitwidth = ElementBitwidth; in makeScalar()
556 S += utostr(ElementBitwidth); in str()
580 switch (ElementBitwidth) { in builtin_str()
589 switch (ElementBitwidth) { in builtin_str()
617 switch (ElementBitwidth) { in getNeonEnum()
675 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
678 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
691 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
716 ElementBitwidth = ~0U; in applyTypespec()
739 ElementBitwidth = 8; in applyTypespec()
745 ElementBitwidth = 16; in applyTypespec()
751 ElementBitwidth = 32; in applyTypespec()
757 ElementBitwidth = 64; in applyTypespec()
760 ElementBitwidth = 128; in applyTypespec()
769 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
793 Bitwidth = ElementBitwidth; in applyModifier()
800 Bitwidth = ElementBitwidth; in applyModifier()
813 Bitwidth = ElementBitwidth = 64; in applyModifier()
818 Bitwidth = ElementBitwidth = 32; in applyModifier()
828 ElementBitwidth = 32; in applyModifier()
832 ElementBitwidth = 64; in applyModifier()
843 ElementBitwidth *= 2; in applyModifier()
847 ElementBitwidth *= 2; in applyModifier()
852 ElementBitwidth = Bitwidth = 32; in applyModifier()
859 ElementBitwidth = Bitwidth = 64; in applyModifier()
864 ElementBitwidth /= 2; in applyModifier()
865 Bitwidth = ElementBitwidth; in applyModifier()
869 ElementBitwidth *= 2; in applyModifier()
870 Bitwidth = ElementBitwidth; in applyModifier()
875 Bitwidth = ElementBitwidth; in applyModifier()
886 Bitwidth = ElementBitwidth; in applyModifier()
890 ElementBitwidth /= 2; in applyModifier()
893 ElementBitwidth /= 2; in applyModifier()
897 ElementBitwidth /= 2; in applyModifier()
901 ElementBitwidth /= 2; in applyModifier()