search for: irbuilderdefaultinserter

Displaying 12 results from an estimated 12 matches for "irbuilderdefaultinserter".

2016 Feb 16
4
[help] Kaleidoscope build fails after llvm-3.8
...r: Undefined symbols for architecture x86_64: "llvm::CmpInst::CmpInst(llvm::Type*, llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*)", referenced from: llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateFCmp(llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::MDNode*) in toy-1f302b.o "llvm::DIBuilder::createFunction(llvm::DIScope*, llvm::StringRef, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DISubroutineType*, bool, bool, unsig...
2012 Jan 22
2
[LLVMdev] CreateGlobalStringPtr giving linker errors
...trInst(llvm::Value*, llvm::ArrayRef<llvm::Value*>, unsigned int, llvm::Twine const&, llvm::Instruction*)in ccFB7xjg.o "llvm::IRBuilderBase::CreateGlobalString(llvm::StringRef, llvm::Twine const&)", referenced from: llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateGlobalStringPtr(llvm::StringRef, llvm::Twine const&)in ccFB7xjg.o "llvm::ConstantInt::get(llvm::IntegerType*, unsigned long long, bool)", referenced from: llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::Cr...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...gt;::GetOrCreateValue(llvm::StringRef) Line 375 C++ XXXTest.exe!llvm::ValueSymbolTable::createValueName(llvm::StringRef Name, llvm::Value * V) Line 98 C++ XXXTest.exe!llvm::Value::setName(const llvm::Twine & NewName) Line 236 C++ XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::Insert<llvm::GetElementPtrInst>(llvm::GetElementPtrInst * I, const llvm::Twine & Name) Line 497 C++ XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsigned int Idx0, const l...
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
...m::StringRef) Line 375 C++ > XXXTest.exe!llvm::ValueSymbolTable::createValueName(llvm::StringRef > Name, llvm::Value * V) Line 98 C++ > XXXTest.exe!llvm::Value::setName(const llvm::Twine & NewName) Line 236 > C++ > XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> > >::Insert<llvm::GetElementPtrInst>(llvm::GetElementPtrInst * I, const > llvm::Twine & Name) Line 497 C++ > XXXTest.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> > >::CreateConstInBoundsGEP1_32(llvm::Value * Ptr, unsign...
2012 Jan 22
0
[LLVMdev] CreateGlobalStringPtr giving linker errors
...::ArrayRef<llvm::Value*>, unsigned int, llvm::Twine const&, > llvm::Instruction*)in ccFB7xjg.o > "llvm::IRBuilderBase::CreateGlobalString(llvm::StringRef, llvm::Twine > const&)", referenced from: > llvm::IRBuilder<true, llvm::ConstantFolder, > llvm::IRBuilderDefaultInserter<true> >>::CreateGlobalStringPtr(llvm::StringRef, llvm::Twine const&)in ccFB7xjg.o > "llvm::ConstantInt::get(llvm::IntegerType*, unsigned long long, bool)", > referenced from: > llvm::IRBuilder<true, llvm::ConstantFolder, > llvm::IRBuilderDefaultInser...
2011 May 06
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...m::FastISel::hasTrivialKill(llvm::Value const*) constin libLLVMSelectionDAG.a(FastISel.cpp.o) llvm::FastISel::materializeRegForValue(llvm::Value const*, llvm::MVT)in libLLVMSelectionDAG.a(FastISel.cpp.o) llvm::EmitStrLen(llvm::Value*, llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >&, llvm::TargetData const*)in libLLVMTransformUtils.a(BuildLibCalls.cpp.o) llvm::EmitFWrite(llvm::Value*, llvm::Value*, llvm::Value*, llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >&, llvm::TargetData const*)in libLLVMTran...
2010 Mar 23
2
[LLVMdev] How to avoid memory leaks
...nst*, 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 0...
2015 May 28
1
[LLVMdev] Passing ConstantDataArray to GetElementPtrInst
...llvm::ArrayRef<llvm::Value *> Idxs, bool InBounds, llvm::Type * > OnlyIfReducedTy) Line 2005 C++ Lexer.exe!llvm::ConstantFolder::CreateGetElementPtr(llvm::Constant * C, llvm::ArrayRef<llvm::Value *> IdxList) Line 133 C++ Lexer.exe!llvm::IRBuilder<1,llvm::ConstantFolder,llvm::IRBuilderDefaultInserter<1> >::CreateGEP(llvm::Value * Ptr, llvm::ArrayRef<llvm::Value *> IdxList, const llvm::Twine & Name) Line 1021 C++ Shockingly, I have been unable to find examples of anyone else doing this. Everyone else seems to create a global variable to hold the string value, and then passe...
2015 Jul 13
2
[LLVMdev] Problem with InsertPointGuard ABI?
...96 auto check = _builder.GetInsertBlock(); 97 { 98 llvm::IRBuilderBase::InsertPointGuard guard{_builder}; -> 99 _builder.SetInsertPoint(checkBB); 100 } 101 102 if (_builder.GetInsertBlock() != check) (lldb) p _builder (llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >) $4 = { llvm::IRBuilderBase = { CurDbgLocation = { Loc = { Ref = { MD = 0x0000000000000000 } } } BB = 0x000000010642ecf0 InsertPt = { NodePtr = 0x000000010642ed00 } Context = 0x000000010642d170 DefaultFPMathT...
2010 Mar 23
3
[LLVMdev] How to avoid memory leaks
...nst*, unsigned int, llvm::Constant*, llvm::Constant*, unsigned int) (in /home/gabi/vgen/Debug/vgen) ==17474== by 0x423030: llvm::ConstantFolder::CreateFSub(llvm::Constant*, llvm::Constant*) const (ConstantFolder.h:58) ==17474== by 0x423F7E: llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateFSub(llvm::Value*, llvm::Value*, llvm::Twine const&) and also... ==17474== 2,880 bytes in 40 blocks are possibly lost in loss record 155 of 181 ==17474== at 0x4C2596C: operator new(unsigned long) (vg_replace_malloc.c:220) ==17474== by 0x90A922: llvm::User::operato...
2014 Jan 20
2
[LLVMdev] Methods on addrspace pointers
...ssert_rtn + 81 > 6 clang-3.4 0x000000010385f8bf llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*) + 687 > 7 clang-3.4 0x00000001030a4d1c llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateCast(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&) + 76 > 8 clang-3.4 0x0000000103bbeac3 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, llvm::Value*, clang::CodeGen::ReturnValueSlot, cl...
2010 Nov 17
2
[LLVMdev] Missing :CreateFNeg() in NoFolder.h
...In file included from lang_3-llvm.cxx:33: /usr/lib/llvm-2.8/include/llvm/Support/IRBuilder.h: In member function ‘llvm::Value* llvm::IRBuilder<preserveNames, T, Inserter>::CreateFNeg (llvm::Value*, const llvm::Twine&) [with bool preserveNames = true, T = llvm::NoFolder, Inserter = llvm::IRBuilderDefaultInserter<true>]’: ... I just added Value *CreateFNeg(Constant *C) const { return BinaryOperator::CreateFNeg(C); } amongst the unary operators of NoFolder.h, and everything seemed ok. Should I consider NoFolder unsupported ? Best regards, Bernard