Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] Using ValueSymbolTable..."
2010 Aug 18
3
[LLVMdev] Using ValueSymbolTable...
Nick Lewycky wrote:
>
>
>
> It's maintained by LLVM for you, by Value::setName and other methods.
>
> Nick
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
I am getting the following error when trying to
2010 Aug 18
0
[LLVMdev] Using ValueSymbolTable...
subramanyam wrote:
>
> Hi all,
> I have a question regarding populating ValueSymbolTable of a Function.
> Is it that ValueSymbolTable is populated automatically whenever an alloca
> instruction is created using IRBuilder or do we need to explicitly
> populate??
It's maintained by LLVM for you, by Value::setName and other methods.
Nick
2010 Aug 18
0
[LLVMdev] Using ValueSymbolTable...
> I am getting the following error when trying to fetch the symbol table using
> getValueSymbolTable()
Why do you want to do this?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2009 Aug 05
2
[LLVMdev] Dominator error inserting instructions into BasicBlock
Hi,
I've been writing some optimization passes for LLVM and had good luck
with
the simple stuff, but I am running into all kinds of trouble trying to
make copies of variables within a BasicBlock as part of a LoopPass
I am trying to make copies of the variables that are in scope in the
loop body like so:
//Remove the existing terminator
2010 Aug 18
1
[LLVMdev] Using ValueSymbolTable...
Anton Korobeynikov-2 wrote:
>
>> I am getting the following error when trying to fetch the symbol table
>> using
>> getValueSymbolTable()
> Why do you want to do this?
>
>
>
>
I want to access some of the variables created in the function.
--
View this message in context: http://old.nabble.com/Using-ValueSymbolTable...-tp29461430p29469794.html
Sent from
2013 Oct 25
1
[LLVMdev] bugs on llvm 2.5
Hello,
I'm using llvm 2.5. I initially built it with GCC 4.1.2 and it completed
building. But when I run it with a simple test function, it fails with the
following issue:
Value still in symbol table! Type = 'i32' Name = 'a'
Value still in symbol table! Type = 'i32' Name = 'b'
llc: ValueSymbolTable.cpp:29:
llvm::ValueSymbolTable::~ValueSymbolTable():
2010 Feb 15
2
[LLVMdev] Buildbot
Do the buildbots only build debug components? I am seeing lots of this on
trunk with release-style builds:
[x86_64-off-opt]: Failed with signal(SIGABRT) at line 1
[x86_64-off-opt]: while running: llvm-as < /ptmp/dag/llvm-
project.official/llvm/tags/RELEASE_25/test/Transforms/TailDup/basictest2.ll |
opt -tailduplicate -disable-output
[x86_64-off-opt]: Value still in symbol table! Type =
2009 Jan 12
2
[LLVMdev] GlobalVaraible and Function have the same name
Hi all,
I just walked across an interesting situation in
Module::getOrInsertFunction(Name, Type) in the LLVM C API.
In my particular case:
One of the first things we do is add a global variable named foo which
is a [ 100 x i64 ].
Later we add a function void foo(...)
unfortunately, when we do the getOrInsertFunction we get back
void (...) * bitcast ([100 x i64]* @foo_ to void (...)*)
2015 Apr 14
5
[LLVMdev] [cfe-dev] A problem with names that can not be demangled.
Adding llvm-dev as that might be a more suitable audience for this
discussion.
(& I know Lang's been playing around with the same problem in the Orc JIT,
so adding him too)
Is there any basis/reason to believe that the .X suffix is a better, more
principled one than straight X? Is that documented somewhere as a thing the
demangling tools will ignore?
On Tue, Apr 14, 2015 at 12:06 PM,
2015 Jan 17
2
[LLVMdev] How to test isDereferenceablePointer?
I'm have a
[PATCH] isDereferenceablePointer: look through gc.relocates
and I want to know how to test this patch. So far, I've found one
candiate: speculative execution in SimplifyCFG
(test/Transforms/SimplifyCFG/SpeculativeExec.ll). However, it's
somewhat involved to show that SimplifyCFG does kick in for
gc.relocate. Is there a better way to directly test it?
Signed-off-by:
2016 Mar 18
4
Handling of section vs global name conflicts
Hi,
currently LLVM does not handle the conflict between a section and a
global _definition_ with the same name well. A section defines a local
symbol with the same name (pointing to the start of the section).
Depending on the order of declarations, LLVM either silently overrides
the section symbol with the global, or crashes with
fatal error: error in backend: symbol 'xxx' is already
2011 Feb 05
1
[LLVMdev] How to create new local variable
Hi,
I want to implement a simple common sub expression pass in
llvm2.8 which demands replacing the uses of the redundant expressions
with a temporary variable. So, to introduce new temporary variable I
have inserted an AllocaInst (...) providing the name of the temporary
and desired type. But whenever I am going to insert a LoadInst for
that variable I am getting segmentation fault. It is
2013 Aug 14
1
[LLVMdev] Lookup table for basicblocks
Hi All,
I need to implement something like a variable for each basic block
How to implement lookup table in LLVM , I think ValueSymbolTable is closest
one but how could I do that by it
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
* e-mail: rasha.omar at ejust.edu.eg*
P* Please consider the
2009 Mar 04
0
[LLVMdev] llvm-gcc fails to build on REL5.1 Linux and Intel x86_64
Hi,
> While attempting to compile llvm-gcc on Intel x86_64 2-way 4-core machine,
> i got the following errors:
this is the second report of this, see http://llvm.org/bugs/show_bug.cgi?id=3710
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
gcc 4.1 has endless problems compiling LLVM, see
http://llvm.org/docs/GettingStarted.html#brokengcc
Here's an extract:
GCC 4.1.1: GCC fails
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
2009 Oct 17
0
[LLVMdev] getIntrinsicID() optimization, mark 2
It is possible to change the name of a Function with Value::setName,
so this patch _could_ cause incorrect answers. You should add a test
that calls setName("intrinsic.name") to make sure this keeps working,
regardless of where this patch goes. You might be able to catch such
events in the ValueSymbolTable and update the intrinsic ID, but I
can't find an obvious place to put that
2015 Jan 20
2
[LLVMdev] How to test isDereferenceablePointer?
Philip Reames wrote:
> T.M.K., there's no direct way to test it.
There is. See the 'unittests/' directory which contains the C++ unit
tests. See unittests/IR/UserTest.cpp for an example that builds up IR
from a .ll-in-a-C-string then queries C++ API operations on it.
Nick
You have to construct a
> transformation which happens with the information you added and not
>
2010 Jul 09
1
[LLVMdev] ValueSymbolTable's mutators are private?
Hi Chris,
I was thinking that CreateValueName() was the way to add a symbol to a symbol
table. Perhaps I'm thinking about this wrong. Here's what I've got:
I've got a string generated by the parser which is constant. I need to add it
to the symbol table so that, on starting the second pass of my compiler, I can
dump all of the string constants to be generated as code. I
2019 Apr 04
2
single-threaded code-gen and how to make it support multi-thread
Hi llvm-dev,
Our code base has a ancient copy of llvm (ver 3.5.1), and it uses the LLVM
code gen for some domain-specific language.
The previous dev left a global lock around the usage of LLVM code gen
stating that because LLVM code gen can only be accessed single-threaded it
needs to be protected with this global lock.
But now this lock has caused some perf issues as we pretty much lose
2016 May 31
0
[RFC] Thoughts on a bitcode symbol table
On Fri, May 27, 2016 at 8:48 AM, Rafael EspĂndola <llvm-dev at lists.llvm.org>
wrote:
> This is about https://llvm.org/bugs/show_bug.cgi?id=27551.
>
> Currently there is no easy way to get symbol information out of
> bitcode files. One has to read the module and mangle the names. This
> has a few problem
>
This would be great for ThinLTO as well:
>
> * During lto