| 92 | } |
| 93 | |
| 94 | static llvm::StructType * buildStringRefType(llvm::IRBuilderBase &b) |
| 95 | { |
| 96 | auto * data_ptr_type = b.getInt8Ty()->getPointerTo(); |
| 97 | auto * offset_ptr_type = b.getInt8Ty()->getPointerTo(); |
| 98 | auto * index_type = b.getInt64Ty(); |
| 99 | return llvm::StructType::get(data_ptr_type, offset_ptr_type, index_type); |
| 100 | } |
| 101 | |
| 102 | static llvm::StructType * buildFixedStringType(llvm::IRBuilderBase &b) |
| 103 | { |
no test coverage detected