Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] print out instruction"
2006 Dec 07
7
[LLVMdev] #include <iostream>
Hi all,
With the newest patches to LLVM, there should be no reason for having
"#include <iostream>" in any library source code file, except for lib/
Support/Streams.cpp. Please use the following instead:
OLD NEW
--- ---
std::ostream llvm::OStream
std::istream llvm::IStream
std::cerr llvm::cerr
std::cerr llvm::cout
2006 Dec 08
0
[LLVMdev] #include <iostream>
On Thu, 7 Dec 2006, Bill Wendling wrote:
> With the newest patches to LLVM, there should be no reason for having
> "#include <iostream>" in any library source code file, except for lib/
> Support/Streams.cpp. Please use the following instead:
>
> OLD NEW
> --- ---
> std::ostream llvm::OStream
> std::istream
2014 Aug 29
5
[LLVMdev] HELP! PLEASE!
I need help.
I can't get it to work.
I'm crying here, really,
I'm balling my eyes out.
Is there any way for a beginner to get support with using LLVM?
All my queries are just ignored or disregarded on this mailing list.
Why isn't there an llvm mailing list for novices?
This is the only thing that can get my programming language,
to be operation in a reasonable amount of time,
2012 Nov 01
0
[LLVMdev] Adding comments to generated IR
Hi edA-qa mort-ora-y,
On 01/11/12 09:03, edA-qa mort-ora-y wrote:
> I'm using createPrintModulePass to produce the IR of a created Module.
> I'm wondering if there is some way to insert/attach comments to the
> generated output. That is, prior to a given command, or block, emit a
> comment.
>
> I see the ability to add meta/debug data. Could that somehow be used to
>
2007 Aug 15
3
[LLVMdev] Extending AsmPrinter
On Monday 13 August 2007 15:50, Chris Lattner wrote:
> > I also have a few questions on the general design of AsmPrinter. Why is
> > runOnMachineFunction implemented for each target AsmPrinter? I would
>
> Historical reasons that aren't very good. Over the years, I've taken
> several stabs at merging the asmprinters from various targets together.
> They used to
2006 Oct 04
2
Crash in cb_search.c, line 414
Jean-Marc Valin wrote:
>> gcc version 3.4.5 (mingw special)
>
> Can you try 4.0 or 4.1 just to be sure?
mingw (native gcc for win32) doesn't officially support using gcc 4.0
and 4.1 yet (apparantly there have been some issues), so there are no
binary packages. But if you think it helps, I can compile gcc 4.1 and
give it a shot.
>> Compile flags:
>> DEFINES +=
2007 Aug 15
0
[LLVMdev] Extending AsmPrinter
On Tue, 14 Aug 2007, David Greene wrote:
>> Yes, this is one advantage, another is that we wouldn't have to fix the
>> same bug in multiple places :)
>
> Right. I've figured out where I need to make the changes in AsmWriterEmitter
> given the current design.
Ok, cool.
> I'm trying out a few interesting things here based on custom streambufs.
> It requires
2020 Jul 21
0
Errors observing when talloc-2.3.1 is cross compiled
Hi Team,
We need freeradius-server-3.0.21 to be cross compiled for armv7 based
Marvell switch.
Toolchain: armv7-marvell-linux-gnueabi-LE_i686_20160226
host : arm-none-linux-gnueabi
CC : arm-marvell-linux-gnueabi-gcc
For that talloc is dependent library.
Trying to cross compile talloc-2.3.1 to for our architecture with below
command.
./configure --disable-python --enable-gccdeps
2009 Aug 25
4
[LLVMdev] std::cout << *MyModule does not work anymore
It seems that support for dumping text representation of LLVM objects to
standard channels and C++ output streams was removed. My guess is that
now we must use errs() instead of std::cerr, llvm::raw_fd_ostream
instead of std::ofstream, etc.
The changes are not trivial, as for instance llvm::raw_fd_ostream
without flags fails if the file exists, but std::ofstream does not. The
changes include
2006 Mar 19
1
[LLVMdev] Idioms for retrieving global symbols and inheritance
Hello,
I have a couple of doubts, as listed below:
1. To list all the global variables in the module, I am iterating
using type_iterator and for each Type I get, I am using value_iterator
to iterate over Values . In the second iteration I am getting
unexpected results. For each type obtained from type_iterator->second,
value_iterator->first produces the same list as what
2018 Mar 23
0
Dump Module IR with SCEV as comment
On 3/22/2018 6:29 PM, Alexandre Isoard via llvm-dev wrote:
> Hello,
>
> Is there a way to dump the Module IR with the SCEV as comment at the
> end of each line?
AssemblyAnnotationWriter exists, but I don't think anyone has hooked it
up to SCEV, specifically.
-Eli
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
2007 Jul 05
2
[LLVMdev] PATCH (rest of code changes) "bytecode" --> "bitcode"
Here is the bulk of the sanitizing.
My residual doubts center around the question
whether we still do/want to support (un)compressed *byte*code
in 2.0/2.1.
I need a definitive word on this to proceed.
My understanding is that bytecode is already gone, but there are
still some functions/enums that really deal with *byte*code
(instead of *bit*code).
I did not touch those areas, so the attached
2008 Oct 14
0
[LLVMdev] Configuration for building llvm on Sun T1 machine?
Has anyone tried to build llvm on Sun T1 machine with ubuntu?
I got a bunch of error when building it. It seems that the
configuration doesn't work well.
I am getting error as:
.../llvm/llvm-2.3/include/llvm/ADT/iterator:55:4: error: #error "Need to
have standard iterator to define bidirectional iterator!"
make[1]: *** [.../llvm/llvm-2.3/lib/System/Release/Signals.o] Error 1
2012 Nov 01
2
[LLVMdev] Adding comments to generated IR
On 01/11/12 09:16, Duncan Sands wrote:
> check out AssemblyAnnotationWriter.h
I've got some static data being output, but now I'm unsure on how I
should structure the actual strings I wish to write. For example, on the
emitFunctionAnnot I get a Function object, but I don't see any API which
we set/get user or meta data for a function.
(Note, obviously I can just do my own mapping
2012 Oct 18
0
[LLVMdev] Loop vectorizer
Hi Hal,
On 10/17/12 9:43 AM, Hal Finkel wrote:
>> I am currently working on a full re-implementation of the WFV
>> algorithm
>> on top of the latest trunk.
>> One part of it that is basically finished is an analysis pass that I
>> call "vectorization analysis", which annotates a function (WFV works
>> on
>> entire functions) with metadata used
2013 Jul 14
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
Tobi,
it looks like this code is the problem:
for (std::vector<Value *>::iterator PI = Pointers.begin(),
PE = Pointers.end();
;) {
Value *V = *PI;
if (V->getName().size() == 0)
OS << "\"" << *V << "\"";
else
OS << "\"" << V->getName() <<
2013 Jul 14
5
[LLVMdev] Analysis of polly-detect overhead in oggenc
At 2013-07-14 13:20:42,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/13/2013 09:18 PM, Star Tan wrote:
>>
>>
>> At 2013-07-14 02:30:07,"Tobias Grosser" <tobias at grosser.es> wrote:
>>> On 07/13/2013 10:13 AM, Star Tan wrote:
>>>> Hi Tobias,
>>>
>>> Hi Star,
>[...]
>>> Before we write a
2007 Jan 22
2
[LLVMdev] addPassesToEmit(Whole)File changes?
Hi folks,
just installed the new llvm 1.9 build and noticed that my code no
longer worked. It seems something has changed with
addPassesToEmitFile(). First, the arguments to that method changed so
that it no longer takes a PassManager, but only a
FunctionPassManager. Instead there is a addPassesToEmitWholeFile()
method, but that is marked as optional, and when I change my code to
2014 Jun 21
1
broken samba-4.1.8 waf configure
21 jun 2014
the version numbers changed (samba-4.1.8), but the problem
remains exactly the same: waf configure continues to break at
krb5.
frank smith
31 may 2014
greetings,
in the (relatively distant) past, i several times downloaded,
built, and ran the then-current version of samba with little to no
problem. i recently experienced similar successful results with
samba-3.6.23.
i
2005 Dec 03
2
How to catch value
Dear R users:
I have a problem about catch the value from function.
I have following two functions (part):
fbolus1 <- function()
{.........
par<-data.frame(Parameter=c("kel","Vd"),Initial=c(0))
check(par)
.....}
check<-function(par)
{
if (par[ ,2] <= 0){
cat("\nEnter again (y/n) ?\n\n")
ans<-readline()
if (ans == "n" ){