Module.get_source() what is the language?

I compiled a model for LLVM target, and use lib.get_source() to obtain the optimized code. However, I cannot understand which language this code is. Is this the LLVM IR?

; ModuleID = 'fused_nn_max_pool2d_1'
source_filename = "fused_nn_max_pool2d_1"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%0 = type { i32*, i32 }
%1 = type { i8*, %2, i32, %3, i64*, i64*, i64 }
%2 = type { i32, i32 }
%3 = type { i8, i8, i16 }
%4 = type { i8*, i8* }
%5 = type { i8*, i8* }
%6 = type { i8*, i8* }
%7 = type { i8*, i8*, i8*, i8* }
%8 = type { i8*, i8*, float* }
%9 = type { i8*, i8* }
%10 = type { i8*, i8* }
%11 = type { i8*, i8*, i8* }
%12 = type { i8*, i8* }
%13 = type { i8*, i8*, i8*, i8* }
@__TVMAPISetLastError = linkonce dllexport local_unnamed_addr global void (i8*)* null, align 8
@__TVMBackendParallelLaunch = linkonce dllexport local_unnamed_addr global i32 (i32 (i32, %0*, i8*)*, i8*, i32)* null, align 8
@.str = private constant [74 x i8] c"Assert fail: (num_args == 2), fused_nn_max_pool2d_1: num_args should be 2\00", align 1
......

yes. it is llvm ir…

2 Likes