search for: writeconstantint

Displaying 9 results from an estimated 9 matches for "writeconstantint".

2010 Jun 02
0
[LLVMdev] Generating Floating point constants
...s cannot be assembled later on (for instance with "llc") Yes, there are floating point values (such as NaNs) that cannot be expressed in decimal, and others that would require a prohibitively large number of digits. You don't want to do that. The code that writes out APFloats is in WriteConstantInt [sic] in VMCore/AsmWriter.cpp. It's not set up to do conversions separately from writing out, but you should be able to figure it out.
2010 Jun 02
3
[LLVMdev] Generating Floating point constants
Le 2 juin 2010 à 12:21, Eli Friedman a écrit : > On Wed, Jun 2, 2010 at 2:59 AM, Stéphane Letz <letz at free.fr> wrote: >> Hi, >> >> We need to generate "Floating point constants" in our code. In http://llvm.org/docs/LangRef.html it is explained that FP has to follow special encoding rules to be handled by LLVM later one (hexadecimal coding...) >>
2010 Jun 02
1
[LLVMdev] Generating Floating point constants
...d later on (for instance with "llc") > > Yes, there are floating point values (such as NaNs) that cannot be expressed in decimal, and others that would require a prohibitively large number of digits. You don't want to do that. > > The code that writes out APFloats is in WriteConstantInt [sic] in VMCore/AsmWriter.cpp. It's not set up to do conversions separately from writing out, but you should be able to figure it out. > > Thanks... but this is linked to the LLVM code base right? Is there any self-contained code that can be used to handle floats when writing textual...
2010 Jun 03
1
[LLVMdev] Generating Floating point constants
...uot;llc") >>> >>> Yes, there are floating point values (such as NaNs) that cannot be expressed in decimal, and others that would require a prohibitively large number of digits. You don't want to do that. >>> >>> The code that writes out APFloats is in WriteConstantInt [sic] in VMCore/AsmWriter.cpp. It's not set up to do conversions separately from writing out, but you should be able to figure it out. >> >> Thanks... but this is linked to the LLVM code base right? > > It's part of LLVM, yes. > >> Is there any self-contained...
2004 Jul 06
1
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
Hi guys Is some one able to explain me, why these errors emerge: gmake[2]: Entering directory `/usr/local/src/llvm/lib/VMCore' Compiling 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...
2004 Jul 06
2
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...stdc++ does not support insertion of 64-bit >integers into iostreams. Did I mention that you should try cygwin? ;-) > >-Chris > > > > gmake[2]: Entering directory `/usr/local/src/llvm/lib/VMCore' > > Compiling 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*)': > >...
2004 Jul 06
0
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...Is it possible that when you configured/built gcc that it didn't find 64-bit integer support and disabled it or something? I really no nothing about internix so all I can do is speculate. Sorry. -Chris > > > Compiling 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...
2004 Jul 07
1
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...ed it or something? >>> >>>I really no nothing about internix so all I can do is speculate. Sorry. >>> >>>-Chris >>> >>> >>> >>>> > > Compiling 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* >>>> > &g...
2004 Jul 07
0
[LLVMdev] AsmWriter.cpp:255: error: ambiguous overload for `std::basic_ostream<char,...
...nd 64-bit integer support and disabled it or something? >> >>I really no nothing about internix so all I can do is speculate. Sorry. >> >>-Chris >> >> >> >>> > > Compiling 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::st...