Skip to content

Instantly share code, notes, and snippets.

Winter

Types

bool

=====================================================Optimised IR=========================================================
; ModuleID = 'WinterModule'
target datalayout = "e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:6$
%vec2 = type { <2 x float> }
; Function Attrs: nounwind
declare void @print_vec2_(%vec2* noalias sret, %vec2* noalias readonly) #0
; Function Attrs: nounwind
#include <cmath>
static inline float f(float x)
{
// Do some random computations, to make this function sufficiently complicated
const float y = std::sin(x)*x + std::cos(x);
float z = 0;
for(int z=0; z<(int)x; ++z)
z += std::pow(x, y);
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QSlider>
#include <QtWidgets/QScrollArea>
#include <utils/FileUtils.h>
GroupHeader {
background-color: rgb(38, 38, 200);
}
----------------------------------
GroupHeader::GroupHeader(QWidget* parent, const QString& name)
QWidget
geom: (9,454), 155x31
QVBoxLayout
QLabel
geom: (9,9), 137x4
RenderSettingsControl
geom: (9,19), 300x300
QVBoxLayout
QLabel
geom: (60,60), 231x41