Lines Matching refs:ElementBitwidth
158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anoncfaa73c60111::Type
164 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
169 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
195 bool isFloat() const { return isFloating() && ElementBitwidth == 32; } in isFloat()
196 bool isDouble() const { return isFloating() && ElementBitwidth == 64; } in isDouble()
197 bool isHalf() const { return isFloating() && ElementBitwidth == 16; } in isHalf()
198 bool isChar() const { return ElementBitwidth == 8; } in isChar()
199 bool isShort() const { return isInteger() && ElementBitwidth == 16; } in isShort()
200 bool isInt() const { return isInteger() && ElementBitwidth == 32; } in isInt()
201 bool isLong() const { return isInteger() && ElementBitwidth == 64; } in isLong()
204 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
206 unsigned getElementSizeInBits() const { return ElementBitwidth; } in getElementSizeInBits()
225 ElementBitwidth = ElemWidth; in makeInteger()
231 ElementBitwidth = ElemWidth; in makeImmediate()
235 Bitwidth = ElementBitwidth; in makeScalar()
246 ElementBitwidth = 32; in make32BitElement()
624 S += utostr(ElementBitwidth); in str()
652 switch (ElementBitwidth) { in builtin_str()
661 assert(ElementBitwidth == 16 && "BFloat16 can only be 16 bits"); in builtin_str()
664 switch (ElementBitwidth) { in builtin_str()
696 switch (ElementBitwidth) { in getNeonEnum()
758 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
761 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
774 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
798 ElementBitwidth = ~0U; in applyTypespec()
820 ElementBitwidth = 8; in applyTypespec()
826 ElementBitwidth = 16; in applyTypespec()
832 ElementBitwidth = 32; in applyTypespec()
838 ElementBitwidth = 64; in applyTypespec()
841 ElementBitwidth = 128; in applyTypespec()
848 ElementBitwidth = 16; in applyTypespec()
854 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
878 ElementBitwidth = 16; in applyModifiers()
887 assert(ElementBitwidth < 128); in applyModifiers()
888 ElementBitwidth *= 2; in applyModifiers()
891 assert(ElementBitwidth > 8); in applyModifiers()
892 ElementBitwidth /= 2; in applyModifiers()
920 ElementBitwidth = Bitwidth = 32; in applyModifiers()