How to avoid memory leaks

Hi Jeffrey,
Listed below the Full valgrind report (using latest revision r99309)
The program creates many thousands of instructions and values as you
can see from the report below

==20504== Memcheck, a memory error detector
==20504== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==20504== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for
copyright info
==20504== Command: vgen
==20504==
==20504==
==20504== HEAP SUMMARY:
==20504== in use at exit: 41,420,912 bytes in 284,994 blocks
==20504== total heap usage: 3,131,113 allocs, 2,846,119 frees,
395,499,180 bytes allocated
==20504==
==20504== 16 bytes in 1 blocks are possibly lost in loss record 4 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x906E59: std::vector<llvm::Type const*,
std::allocator<llvm::Type const*> >::vector(std::vector<llvm::Type
const*, std::allocator<llvm::Type const*> > const&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x9070B4: std::_Rb_tree<llvm::FunctionValType,
std::pair<llvm::FunctionValType const, llvm::PATypeHolder>,
std::_Select1st<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> >, std::less<llvm::FunctionValType>,
std::allocator<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> > >::_M_insert_(std::_Rb_tree_node_base const*,
std::_Rb_tree_node_base const*, std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x90768F: std::map<llvm::FunctionValType,
llvm::PATypeHolder, std::less<llvm::FunctionValType>,
std::allocator<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> > >::insert(std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x904899: llvm::FunctionType::get(llvm::Type const*,
std::vector<llvm::Type const*, std::allocator<llvm::Type const*> >
const&, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4219F3: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:57)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 24 bytes in 1 blocks are possibly lost in loss record 15 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x874282: llvm::TypePrinting::TypePrinting() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9FAD:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 24 bytes in 1 blocks are possibly lost in loss record 16 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x874282: llvm::TypePrinting::TypePrinting() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9FB9:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 48 bytes in 1 blocks are possibly lost in loss record 130 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90657B: std::multimap<unsigned int,
llvm::PATypeHolder, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, llvm::PATypeHolder> >

::insert(std::pair<unsigned int const, llvm::PATypeHolder> const&)

(in /home/gabi/vgen/Debug/vgen)
==20504== by 0x904900: llvm::FunctionType::get(llvm::Type const*,
std::vector<llvm::Type const*, std::allocator<llvm::Type const*> >
const&, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4219F3: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:57)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 48 bytes in 1 blocks are possibly lost in loss record 131 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90657B: std::multimap<unsigned int,
llvm::PATypeHolder, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, llvm::PATypeHolder> >

::insert(std::pair<unsigned int const, llvm::PATypeHolder> const&)

(in /home/gabi/vgen/Debug/vgen)
==20504== by 0x905530: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8B1A88: llvm::Function::Function(llvm::FunctionType
const*, llvm::GlobalValue::LinkageTypes, llvm::Twine const&,
llvm::Module*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC36B:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*, llvm::AttrListPtr) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC46E:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x421B3A:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:73)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 48 bytes in 1 blocks are possibly lost in loss record 132 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90657B: std::multimap<unsigned int,
llvm::PATypeHolder, std::less<unsigned int>,
std::allocator<std::pair<unsigned int const, llvm::PATypeHolder> >

::insert(std::pair<unsigned int const, llvm::PATypeHolder> const&)

(in /home/gabi/vgen/Debug/vgen)
==20504== by 0x905530: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8BC327:
llvm::GlobalVariable::GlobalVariable(llvm::Type const*, bool,
llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&,
bool, unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EBF17:
llvm::ilist_traits<llvm::GlobalVariable>::createSentinel() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC05E: llvm::Module::dropAllReferences() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8ED019: llvm::Module::~Module() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421855: vgen::CodeCreator::~CodeCreator() (CodeCreator.cpp:38)
==20504== by 0x4195BD: main (main.cpp:54)
==20504==
==20504== 56 bytes in 1 blocks are possibly lost in loss record 134 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x906392: std::_Rb_tree<llvm::PointerValType,
std::pair<llvm::PointerValType const, llvm::PATypeHolder>,
std::_Select1st<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> >, std::less<llvm::PointerValType>,
std::allocator<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> > >::_M_insert_(std::_Rb_tree_node_base const*,
std::_Rb_tree_node_base const*, std::pair<llvm::PointerValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x90649E: std::map<llvm::PointerValType,
llvm::PATypeHolder, std::less<llvm::PointerValType>,
std::allocator<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> > >::insert(std::pair<llvm::PointerValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9054EC: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8B1A88: llvm::Function::Function(llvm::FunctionType
const*, llvm::GlobalValue::LinkageTypes, llvm::Twine const&,
llvm::Module*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC36B:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*, llvm::AttrListPtr) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC46E:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x421B3A:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:73)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 56 bytes in 1 blocks are possibly lost in loss record 135 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x895619: llvm::ConstantUniqueMap<char, llvm::Type,
llvm::UndefValue, false>::Create(llvm::Type const*, char const&,
std::_Rb_tree_iterator<std::pair<std::pair<llvm::Type const*, char>
const, llvm::UndefValue*> >) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8853A3: llvm::UndefValue::get(llvm::Type const*) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x927DBA: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B2E:
llvm::ConstantFolder::CreateSDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:76)
==20504== by 0x424D7C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:394)
==20504== by 0x42264F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 56 bytes in 1 blocks are possibly lost in loss record 136 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x890BF2: std::_Rb_tree<std::pair<llvm::Type const*,

, std::pair<std::pair<llvm::Type const*, char> const,

llvm::UndefValue*>, std::_Select1st<std::pair<std::pair<llvm::Type
const*, char> const, llvm::UndefValue*> >,
std::less<std::pair<llvm::Type const*, char> >,
std::allocator<std::pair<std::pair<llvm::Type const*, char> const,
llvm::UndefValue*> > >::_M_insert_(std::_Rb_tree_node_base const*,
std::_Rb_tree_node_base const*, std::pair<std::pair<llvm::Type const*,

const, llvm::UndefValue*> const&) (in

/home/gabi/vgen/Debug/vgen)
==20504== by 0x890D00: std::_Rb_tree<std::pair<llvm::Type const*,

, std::pair<std::pair<llvm::Type const*, char> const,

llvm::UndefValue*>, std::_Select1st<std::pair<std::pair<llvm::Type
const*, char> const, llvm::UndefValue*> >,
std::less<std::pair<llvm::Type const*, char> >,
std::allocator<std::pair<std::pair<llvm::Type const*, char> const,
llvm::UndefValue*> >

::_M_insert_unique(std::pair<std::pair<llvm::Type const*, char>

const, llvm::UndefValue*> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x891F6A: std::_Rb_tree<std::pair<llvm::Type const*,

, std::pair<std::pair<llvm::Type const*, char> const,

llvm::UndefValue*>, std::_Select1st<std::pair<std::pair<llvm::Type
const*, char> const, llvm::UndefValue*> >,
std::less<std::pair<llvm::Type const*, char> >,
std::allocator<std::pair<std::pair<llvm::Type const*, char> const,
llvm::UndefValue*> >

::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<std::pair<llvm::Type

const*, char> const, llvm::UndefValue*> >,
std::pair<std::pair<llvm::Type const*, char> const, llvm::UndefValue*>
const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x895682: llvm::ConstantUniqueMap<char, llvm::Type,
llvm::UndefValue, false>::Create(llvm::Type const*, char const&,
std::_Rb_tree_iterator<std::pair<std::pair<llvm::Type const*, char>
const, llvm::UndefValue*> >) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8853A3: llvm::UndefValue::get(llvm::Type const*) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x927DBA: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B2E:
llvm::ConstantFolder::CreateSDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:76)
==20504== by 0x424D7C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:394)
==20504== by 0x42264F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 56 bytes in 1 blocks are possibly lost in loss record 137 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x906392: std::_Rb_tree<llvm::PointerValType,
std::pair<llvm::PointerValType const, llvm::PATypeHolder>,
std::_Select1st<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> >, std::less<llvm::PointerValType>,
std::allocator<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> > >::_M_insert_(std::_Rb_tree_node_base const*,
std::_Rb_tree_node_base const*, std::pair<llvm::PointerValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x90649E: std::map<llvm::PointerValType,
llvm::PATypeHolder, std::less<llvm::PointerValType>,
std::allocator<std::pair<llvm::PointerValType const,
llvm::PATypeHolder> > >::insert(std::pair<llvm::PointerValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9054EC: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8BC327:
llvm::GlobalVariable::GlobalVariable(llvm::Type const*, bool,
llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&,
bool, unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EBF17:
llvm::ilist_traits<llvm::GlobalVariable>::createSentinel() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC05E: llvm::Module::dropAllReferences() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8ED019: llvm::Module::~Module() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421855: vgen::CodeCreator::~CodeCreator() (CodeCreator.cpp:38)
==20504== by 0x4195BD: main (main.cpp:54)
==20504==
==20504== 72 bytes in 1 blocks are possibly lost in loss record 138 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8DA2B6:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 72 bytes in 1 blocks are possibly lost in loss record 139 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x421CC4:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:95)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 72 bytes in 1 blocks are possibly lost in loss record 140 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88D8BE: llvm::ConstantInt::get(llvm::Type const*,
unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x924A0C:
llvm::ConstantFoldCompareInstruction(unsigned short, llvm::Constant*,
llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8899E0: llvm::ConstantExpr::getFCmp(unsigned short,
llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x423BBC:
llvm::ConstantFolder::CreateFCmp(llvm::CmpInst::Predicate,
llvm::Constant*, llvm::Constant*) const (ConstantFolder.h:208)
==20504== by 0x424A04: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true>

::CreateFCmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*,

llvm::Twine const&) (IRBuilder.h:879)
==20504== by 0x4222B7: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 72 bytes in 1 blocks are possibly lost in loss record 141 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88D8BE: llvm::ConstantInt::get(llvm::Type const*,
unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x924980:
llvm::ConstantFoldCompareInstruction(unsigned short, llvm::Constant*,
llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8899E0: llvm::ConstantExpr::getFCmp(unsigned short,
llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x423BBC:
llvm::ConstantFolder::CreateFCmp(llvm::CmpInst::Predicate,
llvm::Constant*, llvm::Constant*) const (ConstantFolder.h:208)
==20504== by 0x424A04: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true>

::CreateFCmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*,

llvm::Twine const&) (IRBuilder.h:879)
==20504== by 0x4222B7: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 80 bytes in 1 blocks are possibly lost in loss record 142 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x907097: std::_Rb_tree<llvm::FunctionValType,
std::pair<llvm::FunctionValType const, llvm::PATypeHolder>,
std::_Select1st<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> >, std::less<llvm::FunctionValType>,
std::allocator<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> > >::_M_insert_(std::_Rb_tree_node_base const*,
std::_Rb_tree_node_base const*, std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x90768F: std::map<llvm::FunctionValType,
llvm::PATypeHolder, std::less<llvm::FunctionValType>,
std::allocator<std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> > >::insert(std::pair<llvm::FunctionValType const,
llvm::PATypeHolder> const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x904899: llvm::FunctionType::get(llvm::Type const*,
std::vector<llvm::Type const*, std::allocator<llvm::Type const*> >
const&, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4219F3: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:57)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 96 bytes in 1 blocks are possibly lost in loss record 146 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x9054B5: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8B1A88: llvm::Function::Function(llvm::FunctionType
const*, llvm::GlobalValue::LinkageTypes, llvm::Twine const&,
llvm::Module*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC36B:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*, llvm::AttrListPtr) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC46E:
llvm::Module::getOrInsertFunction(llvm::StringRef, llvm::FunctionType
const*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x421B3A:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:73)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 96 bytes in 1 blocks are possibly lost in loss record 147 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x9054B5: llvm::PointerType::get(llvm::Type const*,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8BC327:
llvm::GlobalVariable::GlobalVariable(llvm::Type const*, bool,
llvm::GlobalValue::LinkageTypes, llvm::Constant*, llvm::Twine const&,
bool, unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8EBF17:
llvm::ilist_traits<llvm::GlobalVariable>::createSentinel() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8EC05E: llvm::Module::dropAllReferences() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8ED019: llvm::Module::~Module() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421855: vgen::CodeCreator::~CodeCreator() (CodeCreator.cpp:38)
==20504== by 0x4195BD: main (main.cpp:54)
==20504==
==20504== 128 bytes in 1 blocks are possibly lost in loss record 148 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x9047F7: llvm::FunctionType::get(llvm::Type const*,
std::vector<llvm::Type const*, std::allocator<llvm::Type const*> >
const&, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4219F3: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:57)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 520 bytes in 1 blocks are possibly lost in loss record 150 of 205
==20504== at 0x4C255E4: operator new[](unsigned long)
(vg_replace_malloc.c:264)
==20504== by 0x94B2E1:
llvm::FoldingSetImpl::FoldingSetImpl(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D92A6:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 864 bytes in 12 blocks are possibly lost in loss record 151 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422155: vgen::CodeCreator::_nextICmp() (CodeCreator.cpp:196)
==20504== by 0x422393: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:262)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 936 bytes in 13 blocks are possibly lost in loss record 152 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422164: vgen::CodeCreator::_nextICmp() (CodeCreator.cpp:196)
==20504== by 0x422393: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:262)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 1,024 bytes in 1 blocks are possibly lost in loss record 153 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8742A3: llvm::TypePrinting::TypePrinting() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9FAD:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 1,024 bytes in 1 blocks are possibly lost in loss record 154 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8742A3: llvm::TypePrinting::TypePrinting() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9FB9:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 1,024 bytes in 1 blocks are possibly lost in loss record 155 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8DA2FA:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 1,536 bytes in 1 blocks are possibly lost in loss record 156 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8D97C2:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 1,584 bytes in 22 blocks are possibly lost in loss record 157 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x4225CC: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:294)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 1,800 bytes in 25 blocks are possibly lost in loss record 158 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422629: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 2,304 bytes in 32 blocks are possibly lost in loss record 160 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x4225BA: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:294)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 2,592 bytes in 36 blocks are possibly lost in loss record 161 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422518: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:290)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 2,664 bytes in 37 blocks are possibly lost in loss record 162 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422572: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:292)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 2,736 bytes in 38 blocks are possibly lost in loss record 163 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B2E:
llvm::ConstantFolder::CreateSDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:76)
==20504== by 0x424D7C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:394)
==20504== by 0x42264F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 3,024 bytes in 42 blocks are possibly lost in loss record 164 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422617: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 3,456 bytes in 48 blocks are possibly lost in loss record 165 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422506: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:290)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 3,456 bytes in 48 blocks are possibly lost in loss record 166 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886BB4: llvm::ConstantInt::get(llvm::IntegerType
const*, unsigned long, bool) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x4228A1: vgen::CodeCreator::_nextConstInt()
(CodeCreator.cpp:320)
==20504== by 0x42207D: vgen::CodeCreator::_nextIntVal() (CodeCreator.cpp:162)
==20504== by 0x422560: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:292)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 7,168 bytes in 1 blocks are possibly lost in loss record 168 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x8DA386:
llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x8D9055: void*
llvm::object_creator<llvm::LLVMContext>() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x94CD83:
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void
(*)(void*)) const (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x8D8C43: llvm::getGlobalContext() (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x421665: vgen::CodeCreator::CodeCreator(char*,
unsigned int, unsigned int, bool) (CodeCreator.cpp:32)
==20504== by 0x41935E: main (main.cpp:25)
==20504==
==20504== 22,320 bytes in 310 blocks are possibly lost in loss record 169 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B2E:
llvm::ConstantFolder::CreateSDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:76)
==20504== by 0x424D7C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:394)
==20504== by 0x42264F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:296)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 33,360 bytes in 417 blocks are possibly lost in loss record 170 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422286: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 38,320 bytes in 479 blocks are possibly lost in loss record 171 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422295: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 39,312 bytes in 546 blocks are possibly lost in loss record 172 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A86:
llvm::ConstantFolder::CreateSub(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:49)
==20504== by 0x424C34: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSub(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:340)
==20504== by 0x422595: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:292)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 43,560 bytes in 605 blocks are possibly lost in loss record 173 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A32:
llvm::ConstantFolder::CreateAdd(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:37)
==20504== by 0x424B90: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateAdd(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:316)
==20504== by 0x42253B: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:290)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 121,440 bytes in 1,518 blocks are possibly lost in loss
record 174 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422749: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 122,160 bytes in 1,527 blocks are possibly lost in loss
record 175 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4227A6: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 122,960 bytes in 1,537 blocks are possibly lost in loss
record 176 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4226E9: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 127,520 bytes in 1,594 blocks are possibly lost in loss
record 177 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422689: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 141,192 bytes in 1,961 blocks are possibly lost in loss
record 178 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423ADA:
llvm::ConstantFolder::CreateMul(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:61)
==20504== by 0x424CD8: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateMul(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:364)
==20504== by 0x4225EF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:294)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 160,000 bytes in 2,000 blocks are possibly lost in loss
record 179 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422677: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 164,400 bytes in 2,055 blocks are possibly lost in loss
record 180 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422737: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 166,160 bytes in 2,077 blocks are possibly lost in loss
record 181 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422794: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 168,640 bytes in 2,108 blocks are possibly lost in loss
record 182 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4226D7: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 172,320 bytes in 2,154 blocks are possibly lost in loss
record 183 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422286: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 188,960 bytes in 2,362 blocks are possibly lost in loss
record 184 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423AB0:
llvm::ConstantFolder::CreateFSub(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:58)
==20504== by 0x424EC4: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFSub(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:358)
==20504== by 0x42270F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 192,080 bytes in 2,401 blocks are possibly lost in loss
record 185 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B58:
llvm::ConstantFolder::CreateFDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:82)
==20504== by 0x42500C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:406)
==20504== by 0x4227CC: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 197,920 bytes in 2,474 blocks are possibly lost in loss
record 186 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B04:
llvm::ConstantFolder::CreateFMul(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:70)
==20504== by 0x424F68: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFMul(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:382)
==20504== by 0x42276F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 198,720 bytes in 2,484 blocks are possibly lost in loss
record 187 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A5C:
llvm::ConstantFolder::CreateFAdd(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:46)
==20504== by 0x424E20: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFAdd(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:334)
==20504== by 0x4226AF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42ECA7: vCreator::initialize(unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x41945A: main (main.cpp:39)
==20504==
==20504== 199,680 bytes in 2,496 blocks are possibly lost in loss
record 188 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422295: vgen::CodeCreator::_nextFCmp() (CodeCreator.cpp:250)
==20504== by 0x4223BF: vgen::CodeCreator::_nextCondBr() (CodeCreator.cpp:264)
==20504== by 0x422494: vgen::CodeCreator::_nextTerminator()
(CodeCreator.cpp:278)
==20504== by 0x421F9B:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:135)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 354,312 bytes in 4,921 blocks are possibly lost in loss
record 189 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A86:
llvm::ConstantFolder::CreateSub(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:49)
==20504== by 0x424C34: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateSub(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:340)
==20504== by 0x422595: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:292)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 402,912 bytes in 5,596 blocks are possibly lost in loss
record 190 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A32:
llvm::ConstantFolder::CreateAdd(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:37)
==20504== by 0x424B90: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateAdd(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:316)
==20504== by 0x42253B: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:290)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 460,880 bytes in 5,761 blocks are possibly lost in loss
record 191 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422689: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 480,240 bytes in 6,003 blocks are possibly lost in loss
record 192 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4226E9: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 485,600 bytes in 6,070 blocks are possibly lost in loss
record 193 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422749: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 517,680 bytes in 6,471 blocks are possibly lost in loss
record 194 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4227A6: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 637,520 bytes in 7,969 blocks are possibly lost in loss
record 195 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422677: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 655,280 bytes in 8,191 blocks are possibly lost in loss
record 196 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422737: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 671,600 bytes in 8,395 blocks are possibly lost in loss
record 197 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x4226D7: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 686,960 bytes in 8,587 blocks are possibly lost in loss
record 198 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x422823: vgen::CodeCreator::_nextConstFP()
(CodeCreator.cpp:315)
==20504== by 0x421FF1: vgen::CodeCreator::_nextFPVal() (CodeCreator.cpp:146)
==20504== by 0x422794: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 1,351,584 bytes in 18,772 blocks are possibly lost in loss
record 199 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x886A3B: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423ADA:
llvm::ConstantFolder::CreateMul(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:61)
==20504== by 0x424CD8: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateMul(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:364)
==20504== by 0x4225EF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:294)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 2,097,152 bytes in 1 blocks are possibly lost in loss record
200 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x896693:
llvm::DenseMap<llvm::DenseMapAPIntKeyInfo::KeyTy, llvm::ConstantInt*,
llvm::DenseMapAPIntKeyInfo, llvm::DenseMapInfo<llvm::ConstantInt*>

::grow(unsigned int) (in /home/gabi/vgen/Debug/vgen)

==20504== by 0x8869D1: llvm::ConstantInt::get(llvm::LLVMContext&,
llvm::APInt const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x927FDD: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423ADA:
llvm::ConstantFolder::CreateMul(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:61)
==20504== by 0x424CD8: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateMul(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:364)
==20504== by 0x4225EF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:294)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 3,227,360 bytes in 40,342 blocks are possibly lost in loss
record 201 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A5C:
llvm::ConstantFolder::CreateFAdd(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:46)
==20504== by 0x424E20: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFAdd(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:334)
==20504== by 0x4226AF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 3,230,880 bytes in 40,386 blocks are possibly lost in loss
record 202 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423AB0:
llvm::ConstantFolder::CreateFSub(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:58)
==20504== by 0x424EC4: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFSub(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:358)
==20504== by 0x42270F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:300)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 3,334,400 bytes in 41,680 blocks are possibly lost in loss
record 203 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B04:
llvm::ConstantFolder::CreateFMul(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:70)
==20504== by 0x424F68: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFMul(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:382)
==20504== by 0x42276F: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:302)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 3,378,640 bytes in 42,233 blocks are possibly lost in loss
record 204 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x90CFA2: llvm::User::operator new(unsigned long,
unsigned int) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88CDB6: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423B58:
llvm::ConstantFolder::CreateFDiv(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:82)
==20504== by 0x42500C: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFDiv(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:406)
==20504== by 0x4227CC: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:304)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== 16,777,216 bytes in 1 blocks are possibly lost in loss
record 205 of 205
==20504== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220)
==20504== by 0x89734F:
llvm::DenseMap<llvm::DenseMapAPFloatKeyInfo::KeyTy, llvm::ConstantFP*,
llvm::DenseMapAPFloatKeyInfo, llvm::DenseMapInfo<llvm::ConstantFP*>

::grow(unsigned int) (in /home/gabi/vgen/Debug/vgen)

==20504== by 0x88CDE2: llvm::ConstantFP::get(llvm::LLVMContext&,
llvm::APFloat const&) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x9282E7: llvm::ConstantFoldBinaryInstruction(unsigned
int, llvm::Constant*, llvm::Constant*) (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x88BD87: llvm::ConstantExpr::getTy(llvm::Type const*,
unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x423A5C:
llvm::ConstantFolder::CreateFAdd(llvm::Constant*, llvm::Constant*)
const (ConstantFolder.h:46)
==20504== by 0x424E20: llvm::IRBuilder<true, llvm::ConstantFolder,
llvm::IRBuilderDefaultInserter<true> >::CreateFAdd(llvm::Value*,
llvm::Value*, llvm::Twine const&) (IRBuilder.h:334)
==20504== by 0x4226AF: vgen::CodeCreator::_decodeInstr()
(CodeCreator.cpp:298)
==20504== by 0x421F6F:
vgen::CodeCreator::_decodeToBlock(llvm::BasicBlock*)
(CodeCreator.cpp:132)
==20504== by 0x421E1C:
vgen::CodeCreator::_decodeFunc(llvm::FunctionType*,
llvm::GlobalValue::LinkageTypes, char*) (CodeCreator.cpp:113)
==20504== by 0x421A14: vgen::CodeCreator::createModule(float*,
unsigned int, char*) (CodeCreator.cpp:58)
==20504== by 0x4196B2: ObjectiveF(State&) (main.cpp:64)
==20504== by 0x432B52: State::evaluate(State) const (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42F89E: vCreator::DefaultEvaluator(vCreator&) (in
/home/gabi/vgen/Debug/vgen)
==20504== by 0x42EFAD: vCreator::step() (in /home/gabi/vgen/Debug/vgen)
==20504== by 0x41946E: main (main.cpp:43)
==20504==
==20504== LEAK SUMMARY:
==20504== definitely lost: 0 bytes in 0 blocks
==20504== indirectly lost: 0 bytes in 0 blocks
==20504== possibly lost: 41,410,072 bytes in 284,861 blocks
==20504== still reachable: 10,840 bytes in 133 blocks
==20504== suppressed: 0 bytes in 0 blocks
==20504== Reachable blocks (those to which a pointer was found) are not shown.
==20504== To see them, rerun with: --leak-check=full --show-reachable=yes
==20504==
==20504== For counts of detected and suppressed errors, rerun with: -v
==20504== ERROR SUMMARY: 72 errors from 72 contexts (suppressed: 4 from 4)

Are you calling llvm_shutdown() at the end of your program? You
should. valgrind reports "possible" leaks when it finds a pointer
pointing inside a memory block (as opposed to at the first byte), and
LLVM uses those a lot. llvm_shutdown() will free a lot of that memory,
including the LLVMContext, which should remove any false leaks you
might be seeing.

On the other hand, the TypePrinting() leak looks like it should keep a
pointer to the beginning of the block it allocates, and like it should
delete that object on destruction, so something weird is going on. One
weird thing might be if you built LLVM in -Asserts mode but didn't
define NDEBUG in your own build, since that'll break the LLVM ABI in
odd ways.

I note that your LLVM has no debug symbols, which may imply that you
built it in Release mode (which is independent of +/- Asserts). It'll
be easier to track things down if you build LLVM in Debug mode.

Can you reproduce any of the leaks with a very short program? If you
can, send the whole short program and the exact command line you used
to build it, along with the output of `llvm-config --build-mode`. (We
need to reproduce your problem locally in order to fix it.) Note that
if the leaks appear on
http://google1.osuosl.org:8011/builders/llvm-x86_64-linux-vg_leak/builds/5/steps/test-llvm/logs/stdio
we already know about them and are working on fixes.

I have a reason to believe the leak is caused by the way IRBuilder
folds big floats.

In my code I replaced:
   IRBuilder->createFMul(arg1, arg2)
with:
  Instruction *i = BinaryOperator::CreateFMul(arg1, arg2)
  IRBuilder->Insert(i);

And the leak immediately disappeared...

From my understanding the only difference is that a folding is taking

place by the builder. (I tried to use a builder with "NoFolder" but it
didn't stop the leak)
I also noted that the leak happens when using lots of FP constants
higher than 100.0 and lots of FMul and FDiv ops

Hope it helps somehow to point to the right direction..