• Home
  • Raw
  • Download

Lines Matching refs:ElementBitwidth

159   unsigned Bitwidth, ElementBitwidth, NumVectors;  member in __anon50209d260111::Type
165 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
170 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
196 bool isFloat() const { return isFloating() && ElementBitwidth == 32; } in isFloat()
197 bool isDouble() const { return isFloating() && ElementBitwidth == 64; } in isDouble()
198 bool isHalf() const { return isFloating() && ElementBitwidth == 16; } in isHalf()
199 bool isChar() const { return ElementBitwidth == 8; } in isChar()
200 bool isShort() const { return isInteger() && ElementBitwidth == 16; } in isShort()
201 bool isInt() const { return isInteger() && ElementBitwidth == 32; } in isInt()
202 bool isLong() const { return isInteger() && ElementBitwidth == 64; } in isLong()
205 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
207 unsigned getElementSizeInBits() const { return ElementBitwidth; } in getElementSizeInBits()
226 ElementBitwidth = ElemWidth; in makeInteger()
232 ElementBitwidth = ElemWidth; in makeImmediate()
236 Bitwidth = ElementBitwidth; in makeScalar()
247 ElementBitwidth = 32; in make32BitElement()
620 S += utostr(ElementBitwidth); in str()
648 switch (ElementBitwidth) { in builtin_str()
657 assert(ElementBitwidth == 16 && "BFloat16 can only be 16 bits"); in builtin_str()
660 switch (ElementBitwidth) { in builtin_str()
692 switch (ElementBitwidth) { in getNeonEnum()
754 Name.substr(0, I).getAsInteger(10, T.ElementBitwidth); in fromTypedefName()
757 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
770 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
794 ElementBitwidth = ~0U; in applyTypespec()
816 ElementBitwidth = 8; in applyTypespec()
822 ElementBitwidth = 16; in applyTypespec()
828 ElementBitwidth = 32; in applyTypespec()
834 ElementBitwidth = 64; in applyTypespec()
837 ElementBitwidth = 128; in applyTypespec()
844 ElementBitwidth = 16; in applyTypespec()
850 assert(ElementBitwidth != ~0U && "Bad element bitwidth!"); in applyTypespec()
874 ElementBitwidth = 16; in applyModifiers()
883 assert(ElementBitwidth < 128); in applyModifiers()
884 ElementBitwidth *= 2; in applyModifiers()
887 assert(ElementBitwidth > 8); in applyModifiers()
888 ElementBitwidth /= 2; in applyModifiers()
916 ElementBitwidth = Bitwidth = 32; in applyModifiers()