LLString returns the LLVM syntax representation of the definition of the type. scalable: '<' 'vscale' 'x' Len=UintLit 'x' Elem=Type '>' non-scalable: '<' Len=UintLit 'x' Elem=Type '>'
()
| 559 | // scalable: '<' 'vscale' 'x' Len=UintLit 'x' Elem=Type '>' |
| 560 | // non-scalable: '<' Len=UintLit 'x' Elem=Type '>' |
| 561 | func (t *VectorType) LLString() string { |
| 562 | if t.Scalable { |
| 563 | // '<' 'vscale' 'x' Len=UintLit 'x' Elem=Type '>' |
| 564 | return fmt.Sprintf("<vscale x %d x %s>", t.Len, t.ElemType) |
| 565 | } |
| 566 | // '<' Len=UintLit 'x' Elem=Type '>' |
| 567 | return fmt.Sprintf("<%d x %s>", t.Len, t.ElemType) |
| 568 | } |
| 569 | |
| 570 | // Name returns the type name of the type. |
| 571 | func (t *VectorType) Name() string { |