Lines Matching refs:ElementBitwidth
141 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonde9241780111::Type
147 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
153 ElementBitwidth(0), NumVectors(0) { in Type()
176 bool isFloat() const { return Float && ElementBitwidth == 32; } in isFloat()
177 bool isDouble() const { return Float && ElementBitwidth == 64; } in isDouble()
178 bool isHalf() const { return Float && ElementBitwidth == 16; } in isHalf()
180 bool isChar() const { return ElementBitwidth == 8; } in isChar()
181 bool isShort() const { return !Float && ElementBitwidth == 16; } in isShort()
182 bool isInt() const { return !Float && ElementBitwidth == 32; } in isInt()
183 bool isLong() const { return !Float && ElementBitwidth == 64; } in isLong()
185 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
187 unsigned getElementSizeInBits() const { return ElementBitwidth; } in getElementSizeInBits()
200 ElementBitwidth = ElemWidth; in makeInteger()
207 ElementBitwidth = ElemWidth; in makeImmediate()
210 Bitwidth = ElementBitwidth; in makeScalar()
569 S += utostr(ElementBitwidth); in str()
593 switch (ElementBitwidth) { in builtin_str()
602 switch (ElementBitwidth) { in builtin_str()
636 switch (ElementBitwidth) { in getNeonEnum()
694 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
697 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
710 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
735 ElementBitwidth = ~0U; in applyTypespec()
758 ElementBitwidth = 8; in applyTypespec()
764 ElementBitwidth = 16; in applyTypespec()
770 ElementBitwidth = 32; in applyTypespec()
776 ElementBitwidth = 64; in applyTypespec()
779 ElementBitwidth = 128; in applyTypespec()
788 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
812 Bitwidth = ElementBitwidth; in applyModifier()
819 Bitwidth = ElementBitwidth; in applyModifier()
832 Bitwidth = ElementBitwidth = 64; in applyModifier()
837 Bitwidth = ElementBitwidth = 32; in applyModifier()
843 ElementBitwidth = 32; in applyModifier()
847 ElementBitwidth = 64; in applyModifier()
858 ElementBitwidth *= 2; in applyModifier()
862 ElementBitwidth *= 2; in applyModifier()
867 ElementBitwidth = Bitwidth = 32; in applyModifier()
875 ElementBitwidth = Bitwidth = 64; in applyModifier()
881 ElementBitwidth /= 2; in applyModifier()
882 Bitwidth = ElementBitwidth; in applyModifier()
886 ElementBitwidth *= 2; in applyModifier()
887 Bitwidth = ElementBitwidth; in applyModifier()
892 Bitwidth = ElementBitwidth; in applyModifier()
903 Bitwidth = ElementBitwidth; in applyModifier()
907 ElementBitwidth /= 2; in applyModifier()
910 ElementBitwidth /= 2; in applyModifier()
914 ElementBitwidth /= 2; in applyModifier()
918 ElementBitwidth /= 2; in applyModifier()