Last active
September 12, 2018 13:14
-
-
Save saulshanabrook/099627eccbc6901cd7612ce1385e3ca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define i32 @"_ZN8__main__13something$241E"(i32* noalias nocapture %"retptr", {i8*, i32}** noalias nocapture %"excinfo") | |
{ | |
entry: | |
%"$0.1" = alloca i8* | |
store i8* null, i8** %"$0.1" | |
%"$0.2" = alloca i8* | |
store i8* null, i8** %"$0.2" | |
%"$0.3" = alloca i8* | |
store i8* null, i8** %"$0.3" | |
%"$const0.4" = alloca i64 | |
store i64 0, i64* %"$const0.4" | |
%"$0.5" = alloca i8* | |
store i8* null, i8** %"$0.5" | |
%"ctx" = alloca i8* | |
store i8* null, i8** %"ctx" | |
%"$0.7" = alloca i8* | |
store i8* null, i8** %"$0.7" | |
%"$const0.8" = alloca i64 | |
store i64 0, i64* %"$const0.8" | |
%"$const0.9" = alloca i64 | |
store i64 0, i64* %"$const0.9" | |
%"$0.10" = alloca i8* | |
store i8* null, i8** %"$0.10" | |
%"$0.12" = alloca i8* | |
store i8* null, i8** %"$0.12" | |
%"$const0.13" = alloca i64 | |
store i64 0, i64* %"$const0.13" | |
%"$0.14" = alloca i32 | |
store i32 0, i32* %"$0.14" | |
%"$0.15" = alloca i32 | |
store i32 0, i32* %"$0.15" | |
br label %"B0" | |
B0: | |
%".5" = load i8*, i8** %"$0.1" | |
store i8* null, i8** %"$0.1" | |
%".7" = load i8*, i8** %"$0.1" | |
%".9" = load i8*, i8** %"$0.2" | |
store i8* null, i8** %"$0.2" | |
%".11" = load i8*, i8** %"$0.1" | |
store i8* null, i8** %"$0.1" | |
%".13" = load i8*, i8** %"$0.2" | |
%".15" = load i8*, i8** %"$0.3" | |
store i8* null, i8** %"$0.3" | |
%".17" = load i8*, i8** %"$0.2" | |
store i8* null, i8** %"$0.2" | |
%".20" = load i64, i64* %"$const0.4" | |
store i64 1, i64* %"$const0.4" | |
%".22" = load i64, i64* %"$const0.4" | |
%".23" = mul i64 %".22", 24 | |
%".24" = call i8* @"NRT_MemInfo_alloc_safe"(i64 %".23") | |
%".25" = getelementptr i8, i8* %".24", i32 40 | |
%".27" = load i8*, i8** %"$0.5" | |
%".28" = getelementptr inbounds i8, i8* %".27", i32 -40 | |
call void @"NRT_decref"(i8* %".28") | |
store i8* %".25", i8** %"$0.5" | |
%".31" = load i64, i64* %"$const0.4" | |
store i64 0, i64* %"$const0.4" | |
%".33" = load i8*, i8** %"$0.3" | |
store i8* null, i8** %"$0.3" | |
%".35" = load i8*, i8** %"$0.5" | |
%".36" = getelementptr inbounds i8, i8* %".35", i32 -40 | |
call void @"NRT_incref"(i8* %".36") | |
%".39" = load i8*, i8** %"ctx" | |
%".40" = getelementptr inbounds i8, i8* %".39", i32 -40 | |
call void @"NRT_decref"(i8* %".40") | |
store i8* %".35", i8** %"ctx" | |
%".43" = load i8*, i8** %"$0.5" | |
%".44" = getelementptr inbounds i8, i8* %".43", i32 -40 | |
call void @"NRT_decref"(i8* %".44") | |
store i8* null, i8** %"$0.5" | |
%".47" = load i8*, i8** %"ctx" | |
%".48" = getelementptr inbounds i8, i8* %".47", i32 -40 | |
call void @"NRT_incref"(i8* %".48") | |
%".51" = load i8*, i8** %"$0.7" | |
%".52" = getelementptr inbounds i8, i8* %".51", i32 -40 | |
call void @"NRT_decref"(i8* %".52") | |
store i8* %".47", i8** %"$0.7" | |
%".56" = load i64, i64* %"$const0.8" | |
store i64 0, i64* %"$const0.8" | |
%".59" = load i64, i64* %"$const0.9" | |
store i64 0, i64* %"$const0.9" | |
%".61" = load i64, i64* %"$const0.8" | |
%".62" = load i64, i64* %"$const0.9" | |
%".63" = trunc i64 %".62" to i32 | |
%".64" = load i8*, i8** %"$0.7" | |
%".65" = getelementptr i8, i8* %".64", i64 %".61" | |
%".66" = call i32* @"get_ndt_context_t_err"(i8* %".65") | |
store i32 %".63", i32* %".66" | |
%".69" = load i8*, i8** %"$0.10" | |
store i8* null, i8** %"$0.10" | |
%".71" = load i64, i64* %"$const0.9" | |
store i64 0, i64* %"$const0.9" | |
%".73" = load i64, i64* %"$const0.8" | |
store i64 0, i64* %"$const0.8" | |
%".75" = load i8*, i8** %"$0.7" | |
%".76" = getelementptr inbounds i8, i8* %".75", i32 -40 | |
call void @"NRT_decref"(i8* %".76") | |
store i8* null, i8** %"$0.7" | |
%".79" = load i8*, i8** %"$0.10" | |
store i8* null, i8** %"$0.10" | |
%".81" = load i8*, i8** %"ctx" | |
%".82" = getelementptr inbounds i8, i8* %".81", i32 -40 | |
call void @"NRT_incref"(i8* %".82") | |
%".85" = load i8*, i8** %"$0.12" | |
%".86" = getelementptr inbounds i8, i8* %".85", i32 -40 | |
call void @"NRT_decref"(i8* %".86") | |
store i8* %".81", i8** %"$0.12" | |
%".89" = load i8*, i8** %"ctx" | |
%".90" = getelementptr inbounds i8, i8* %".89", i32 -40 | |
call void @"NRT_decref"(i8* %".90") | |
store i8* null, i8** %"ctx" | |
%".94" = load i64, i64* %"$const0.13" | |
store i64 0, i64* %"$const0.13" | |
%".96" = load i64, i64* %"$const0.13" | |
%".97" = load i8*, i8** %"$0.12" | |
%".98" = getelementptr i8, i8* %".97", i64 %".96" | |
%".99" = call i32* @"get_ndt_context_t_err"(i8* %".98") | |
%".100" = load i32, i32* %".99" | |
%".102" = load i32, i32* %"$0.14" | |
store i32 %".100", i32* %"$0.14" | |
%".104" = load i64, i64* %"$const0.13" | |
store i64 0, i64* %"$const0.13" | |
%".106" = load i8*, i8** %"$0.12" | |
%".107" = getelementptr inbounds i8, i8* %".106", i32 -40 | |
call void @"NRT_decref"(i8* %".107") | |
store i8* null, i8** %"$0.12" | |
%".110" = load i32, i32* %"$0.14" | |
%".112" = load i32, i32* %"$0.15" | |
store i32 %".110", i32* %"$0.15" | |
%".114" = load i32, i32* %"$0.14" | |
store i32 0, i32* %"$0.14" | |
%".116" = load i32, i32* %"$0.15" | |
store i32 %".116", i32* %"retptr" | |
ret i32 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment