MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / buildStringRefType

Function buildStringRefType

src/Interpreters/JIT/compileFunction.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static 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
102static llvm::StructType * buildFixedStringType(llvm::IRBuilderBase &b)
103{

Callers 1

compileSortDescriptionFunction · 0.85

Calls 1

getFunction · 0.50

Tested by

no test coverage detected