Skip to content

Instantly share code, notes, and snippets.

View Aatch's full-sized avatar

James Miller Aatch

View GitHub Profile
import processing.pdf.*;
import java.util.Collection;
import java.util.Map;
float[] sizes;
float[] distortions;
float FREQUENCY = 5;
int mindiameter = 100;
define void @test(%"Wrapper<Foo>"* nonnull, void (i8*)** noalias nocapture nonnull readonly) unnamed_addr #0 {
entry-block:
%2 = getelementptr inbounds void (i8*)*, void (i8*)** %1, i64 2
%3 = bitcast void (i8*)** %2 to i64*
%4 = load i64, i64* %3, align 8, !invariant.load !0
%5 = add i64 %4, 15
%6 = sub i64 0, %4
%7 = and i64 %5, %6
%8 = bitcast %"Wrapper<Foo>"* %0 to i8*
%9 = getelementptr i8, i8* %8, i64 %7