search for: slotcalcul

Displaying 16 results from an estimated 16 matches for "slotcalcul".

2010 Sep 22
2
[LLVMdev] Hit assert(I != ValueMap.end() && "Value not in slotcalculator!") in ValueEnumerator.cpp
Hi there, I added a function to a module, but failed to write the bitcode to file because it hit the: assert(I != ValueMap.end() && "Value not in slotcalculator!") So I added some diagnosis information there, unsigned ValueEnumerator::getValueID(const Value *V) const { if (isa<MDNode>(V) || isa<MDString>(V)) { ValueMapType::const_iterator I = MDValueMap.find(V); assert(I != MDValueMap.end() && "Value not in...
2010 Sep 22
0
[LLVMdev] Hit assert(I != ValueMap.end() && "Value not in slotcalculator!") in ValueEnumerator.cpp
Hi Guoliang, > I added a function to a module, but failed to write the bitcode to file > because it hit the: > assert(I != ValueMap.end()&& "Value not in slotcalculator!") does the module pass the verifier after you add the function to it? Ciao, Duncan.
2012 Dec 26
1
[LLVMdev] Value not in slotcalculator! error
...This is my first post to llvmdev (reading for about a month) so I apologize if I'm not following protocol. I'm writing a Common Lisp compiler using LLVM with the C++ API and I'm experiencing a problem that I have not been able to solve by myself. I'm getting a "Value not in slotcalculator" when I write out bitcode for a module that I generated. It happens the second time that I compile the same source code - the first time everything works fine and the functions all verify fine. Here's what I know: when I dump the value that seems to be responsible for the error: inp...
2007 Feb 10
2
[LLVMdev] Problems with both the 1.9 Release and the CVS on Cygwin
...and am having problems with Cygwin builds. Problems with both the 1.9 Release and the CVS on Cygwin... LLVM CVS Release build :- /usr/src/llvm/configure --prefix=/usr/llvm make tools-only ENABLE_OPTIMIZED=1 make[3]: Entering directory `/usr/src/lib/Bytecode/Writer' llvm[3]: Compiling SlotCalculator.cpp for Release build llvm[3]: Compiling Writer.cpp for Release build /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: In member function `void llvm::BytecodeWriter::outputConstant(const llvm::Constant*)': /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:329: error: call of overloaded `output_vbr(...
2004 Sep 23
2
[LLVMdev] struct and class under VC7.1
...and I was going crazy testing out different options... At the end, unmangling the differences in what linker was searching and what was present in the libraries, I found that the problem is that we have something like this... Value.h struct Value { bla bla bla } and around in the other files: SlotCalculator.h SchedGraph.h <big snip> class Value; The linker complains about the different parameters types, and raise an unresolved external symbol. I can resolve the iussue a) turning the original struct Value { ... } in class Value { public: .... } b) turning all the class Value; into struct...
2004 Jul 06
1
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...ling AsmWriter.cpp AsmWriter.cpp: In function `void WriteConstantInt(std::ostream&, const llvm::Constant*, bool, std::map<const llvm::Type*, std::string, std::less<const llvm::Type*>, std::allocator<std::pair<const llvm::Type* const, std::string> > >&, llvm::SlotCalculator*)': AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char, std::char_traits<char> >& << int64_t' operator /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63: error: candidates are: std::basic_ostream<_CharT, _Traits>& std::basic_os...
2004 Jul 06
2
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...n function `void WriteConstantInt(std::ostream&, const > > llvm::Constant*, bool, std::map<const llvm::Type*, std::string, > > std::less<const llvm::Type*>, std::allocator<std::pair<const >llvm::Type* > > const, std::string> > >&, llvm::SlotCalculator*)': > > AsmWriter.cpp:255: error: ambiguous overload for >`std::basic_ostream<char, > > std::char_traits<char> >& << int64_t' operator > > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63: error: candidates are: > > std::basic_ostr...
2004 Jul 06
0
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...iteConstantInt(std::ostream&, const > > > llvm::Constant*, bool, std::map<const llvm::Type*, std::string, > > > std::less<const llvm::Type*>, std::allocator<std::pair<const > >llvm::Type* > > > const, std::string> > >&, llvm::SlotCalculator*)': > > > AsmWriter.cpp:255: error: ambiguous overload for > >`std::basic_ostream<char, > > > std::char_traits<char> >& << int64_t' operator > > > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63: error: candidates are: > >...
2006 Jun 24
2
[LLVMdev] LLVM build error
...9; /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(Writer.o):(.rodata._ZTIN4llvm9StatisticIjEE[typeinfo for llvm::Statistic<unsigned int>]+0x10): undefined reference to `typeinfo for llvm::StatisticBase' /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(SlotCalculator.o): In function `__static_initialization_and_destruction_0': /home/ll/repositories/cvs/llvm/include/llvm/InlineAsm.h:133: undefined reference to `llvm::IncludeFile::IncludeFile(void*)' /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMCore.a(AsmWriter.o): In function `__static_i...
2004 Sep 23
0
[LLVMdev] struct and class under VC7.1
...> At the end, unmangling the differences in what linker was searching and > what was present in the libraries, I found that the problem is > that we have something like this... > > Value.h > struct Value { > bla bla bla > } > > and around in the other files: > SlotCalculator.h > SchedGraph.h > <big snip> > > class Value; > > The linker complains about the different parameters types, and raise an > unresolved external symbol. > > I can resolve the iussue > a) turning the original struct Value { ... } in class Value { public:...
2004 Jul 07
1
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...>> > > llvm::Constant*, bool, std::map<const llvm::Type*, std::string, >>>> > > std::less<const llvm::Type*>, std::allocator<std::pair<const >>>> >llvm::Type* >>>> > > const, std::string> > >&, llvm::SlotCalculator*)': >>>> > > AsmWriter.cpp:255: error: ambiguous overload for >>>> >`std::basic_ostream<char, >>>> > > std::char_traits<char> >& << int64_t' operator >>>> > > /opt/gcc.3.3/include/c++/3.3/bits/...
2004 May 25
1
[LLVMdev] ATTENTION: SymbolTable Change!!
...s due to (a) my changes, (b) my old cfrontend, or (c) someone else's changes. I suspect its more of (b) and (c) but I will look into this in more detail later this week. Next steps on bug 122 (each a separate commit): * Completely rid ourselves of Type::TypeTy. This involves a rewrite of the SlotCalculator which will be divided up between Bytecode writer and ASM writer. * Make Type not inherit from Value and fix the resulting fall out. * Get rid of ConstantPointerRef. If you have *any* questions about this, please email me. Thanks, Reid. Here's the Feature/Regression test results: ---...
2006 Jun 24
0
[LLVMdev] LLVM build error
...grams/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(Writer.o):(.rodata._ZTIN4llvm9StatisticIjEE[typeinfo > for llvm::Statistic<unsigned int>]+0x10): undefined reference to > `typeinfo for llvm::StatisticBase' > /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(SlotCalculator.o): > In function `__static_initialization_and_destruction_0': > /home/ll/repositories/cvs/llvm/include/llvm/InlineAsm.h:133: undefined > reference to `llvm::IncludeFile::IncludeFile(void*)' > /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMCore.a(AsmWriter.o): &gt...
2004 Jul 07
0
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...t;const >>> > > llvm::Constant*, bool, std::map<const llvm::Type*, std::string, >>> > > std::less<const llvm::Type*>, std::allocator<std::pair<const >>> >llvm::Type* >>> > > const, std::string> > >&, llvm::SlotCalculator*)': >>> > > AsmWriter.cpp:255: error: ambiguous overload for >>> >`std::basic_ostream<char, >>> > > std::char_traits<char> >& << int64_t' operator >>> > > /opt/gcc.3.3/include/c++/3.3/bits/ostream.tcc:63:...
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...yBlock: %tmp = call i32 @gcd(i32 30, i32 50) ret i32 %tmp } ModuleMaker2: /home/hamayun/workspace/NaSiK/sw/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp:155: unsigned int llvm::ValueEnumerator::getValueID(const llvm::Value*) const: Assertion `I != ValueMap.end() && "Value not in slotcalculator!"' failed. Aborted ---------------------------------------------------------------------- And here is the source code of my example. ---------------------------------------------------------------------- Module* makeLLVMModule(LLVMContext& Context); Module* makeMainModule(LLVMCo...
2005 Apr 22
0
[LLVMdev] tabs
...sis/Expressions.cpp Index: lib/Analysis/IntervalPartition.cpp Index: lib/Analysis/LoopInfo.cpp Index: lib/Analysis/PostDominators.cpp Index: lib/Analysis/DataStructure/EquivClassGraphs.cpp Index: lib/Analysis/IPA/FindUsedTypes.cpp Index: lib/Analysis/IPA/GlobalsModRef.cpp Index: lib/Bytecode/Writer/SlotCalculator.cpp Index: lib/CodeGen/PHIElimination.cpp Index: lib/CodeGen/RegAllocSimple.cpp Index: lib/CodeGen/SelectionDAG/SelectionDAG.cpp Index: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Index: lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp Index: lib/ExecutionEngine/Interpreter/ExternalFunctions....