Lines Matching refs:ElementBitwidth
158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonfaf0748f0111::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()
757 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
760 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
772 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
795 ElementBitwidth = ~0U; in applyTypespec()
817 ElementBitwidth = 8; in applyTypespec()
823 ElementBitwidth = 16; in applyTypespec()
829 ElementBitwidth = 32; in applyTypespec()
835 ElementBitwidth = 64; in applyTypespec()
838 ElementBitwidth = 128; in applyTypespec()
845 ElementBitwidth = 16; in applyTypespec()
851 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
875 ElementBitwidth = 16; in applyModifiers()
884 assert(ElementBitwidth < 128); in applyModifiers()
885 ElementBitwidth *= 2; in applyModifiers()
888 assert(ElementBitwidth > 8); in applyModifiers()
889 ElementBitwidth /= 2; in applyModifiers()
917 ElementBitwidth = Bitwidth = 32; in applyModifiers()