Lines Matching refs:ElementBitwidth
158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon6f3616850111::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()
628 S += utostr(ElementBitwidth); in str()
656 switch (ElementBitwidth) { in builtin_str()
665 assert(ElementBitwidth == 16 && "BFloat16 can only be 16 bits"); in builtin_str()
668 switch (ElementBitwidth) { in builtin_str()
700 switch (ElementBitwidth) { in getNeonEnum()
762 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
765 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
778 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
802 ElementBitwidth = ~0U; in applyTypespec()
824 ElementBitwidth = 8; in applyTypespec()
830 ElementBitwidth = 16; in applyTypespec()
836 ElementBitwidth = 32; in applyTypespec()
842 ElementBitwidth = 64; in applyTypespec()
845 ElementBitwidth = 128; in applyTypespec()
852 ElementBitwidth = 16; in applyTypespec()
858 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
882 ElementBitwidth = 16; in applyModifiers()
891 assert(ElementBitwidth < 128); in applyModifiers()
892 ElementBitwidth *= 2; in applyModifiers()
895 assert(ElementBitwidth > 8); in applyModifiers()
896 ElementBitwidth /= 2; in applyModifiers()
924 ElementBitwidth = Bitwidth = 32; in applyModifiers()