Displaying 20 results from an estimated 22 matches for "equivalenceclass".
Did you mean:
equivalenceclasses
2007 Jun 15
1
[LLVMdev] EquivalenceClasses: findValue vs. findLeader
Given an object o of ElemType in an instance of EquivalenceClasses, I need
to get a list of all members of the equivalence class that o is in. For
various reasons, it is easiest if I could get an EquivalenceClasses::iterator
that I can pass to member_begin and member_end.
So naturally, I did something like this (pseudo-C++):
EquivalenceClasses::iterator i =...
2010 Jul 12
1
[LLVMdev] [patch] EquivalenceClasses.h
getOrInsertLeaderValue cannot be const because it calls insert.
Index: include/llvm/ADT/EquivalenceClasses.h
===================================================================
--- include/llvm/ADT/EquivalenceClasses.h (revision 108148)
+++ include/llvm/ADT/EquivalenceClasses.h (working copy)
@@ -169,7 +169,7 @@
/// getOrInsertLeaderValue - Return the leader for the specified
value that is
/// i...
2007 May 09
2
[LLVMdev] EquivalenceClasses
Can someone explain the terminology used in the Doxygen
comments for EquivalenceClasses? Specifically, what is
a "Leader" as opposed to other members of an equivalence
class?
Say, for example, I want to create a set of equivalence
classes to specify subset relationships. Imagine B is
a subset of A, C is a subset of B, E is a subset of D
and D has no relation to any othe...
2007 May 09
0
[LLVMdev] EquivalenceClasses
On 5/9/07, David Greene <greened at obbligato.org> wrote:
>
> Can someone explain the terminology used in the Doxygen
> comments for EquivalenceClasses? Specifically, what is
> a "Leader" as opposed to other members of an equivalence
> class?
As far as I understand, leader is the first element of the class within the
std::set container where all element of all classes are stored altogether.
Leader contains a pointer to the las...
2005 Mar 21
1
[LLVMdev] LLVM CVS Build Broken + one line fix
The current LLVM CVS HEAD does not build for me (RedHat 9). The issue
is a one line fix. The file "include/llvm/ADT/EquivalenceClasses.h"
needs to include <stdint.h> in order to get the typedef for "intptr_t."
If anyone wants me to make a patch for this, let me know. The build
error that this solves is:
llvm[3]: Compiling DataStructure.cpp for Debug build
In file included from
/home/ejones/llvm/llvm...
2010 May 02
3
[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.
...oaded the release, used CMake to create solution... building mostly
seems to be OK, except for a couple of compiler errors.
warning C4090: 'function' : different 'const' qualifiers
d:\companyone\external\llvm\source\llvm-2.7\lib\support\regengine.inc 188
error C2248: 'llvm::EquivalenceClasses<ElemTy>::ECValue::ECValue' : cannot
access private member declared in class
'llvm::EquivalenceClasses<ElemTy>::ECValue' C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\include\xmemory 208
error C2668: 'llvm::next' : ambiguous call to overloaded functio...
2010 May 02
0
[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.
Hey,
So I tried to fix these errors, and have everything compiling now... not too
difficult, just annoying.
error C2248: 'llvm::EquivalenceClasses<
>
> ElemTy>::ECValue::ECValue' : cannot access private member declared in class
> 'llvm::EquivalenceClasses<ElemTy>::ECValue' C:\Program Files
> (x86)\Microsoft Visual Studio 10.0\VC\include\xmemory 208
I moved:
// ECValue ctor - Start out with En...
2010 May 02
2
[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.
...void*> mypair(0, NULL);
return 0;
}
Tom.
On Sat, May 1, 2010 at 8:57 PM, Tom van Dijck <llvm at tomvandijck.com> wrote:
> Hey,
>
> So I tried to fix these errors, and have everything compiling now... not
> too difficult, just annoying.
>
> error C2248: 'llvm::EquivalenceClasses<
>>
>> ElemTy>::ECValue::ECValue' : cannot access private member declared in
>> class 'llvm::EquivalenceClasses<ElemTy>::ECValue' C:\Program Files
>> (x86)\Microsoft Visual Studio 10.0\VC\include\xmemory 208
>
>
> I moved:
>
>...
2016 Jun 28
0
SD virt regs question
...form of a global-virt-reg, IE a CopyToReg or CopyFromReg
where the Reg is a virtual-register (not a physical-register),
I need to compute the set of all other global-virt-regs that this one is connected
to through PHI nodes
as the PHI nodes set up equivalence relations,
I should be able to use ADT/EquivalenceClasses.h
which seems to implement a generic Union-Find algorithm,
I also note that there do not seem to be any uses of EquivalenceClasses
in CodeGen, so perhaps no one has had to do this before and I will
have to start from scratch ?
thanks,
--Peter Lawrence.
-------------- next part --------------
A...
2009 Dec 03
3
[LLVMdev] patch for portability
...up not replying to the list:
The main issue with dealing with next this way is that people adding new
uses of next will probably not be using c++0x and therefore won't know it's
ambiguous and that it needs to be qualified.
There are also two issues with rvalue references and the STL:
1. EquivalenceClasses, in the insert and findLeader functions, it uses map
functions which have versions taking rvalue references. This results in a
compiler error because the private constructor of ECValue is inaccessible.
The easiest fix is to explicitly call the constructor of ECValue before the
insert/find calls....
2007 Jul 10
1
[LLVMdev] A question about LLVM and pool allocation
HI guys.
I'm trying to build the poolalloc on llvm-2.0 but there exist some errors.
Can you tell me which version of llvm is known to make the poolalloc build
and install successful?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070710/4ab5e155/attachment.html>
2009 Dec 03
0
[LLVMdev] patch for portability
...s even when namespaces are judiciously used. The carefully crafted C++ library should be aware of ADL issues. It should know when ADL is being used, and when it isn't, and use ADL purposefully, not accidentally.
> There are also two issues with rvalue references and the STL:
>
> 1. EquivalenceClasses, in the insert and findLeader functions, it uses map functions which have versions taking rvalue references. This results in a compiler error because the private constructor of ECValue is inaccessible. The easiest fix is to explicitly call the constructor of ECValue before the insert/find calls....
2020 Jul 26
2
[LAA] RtCheck on pointers of different address spaces.
...s(llvm::SCEV const*, llvm::SCEV const*, llvm::ScalarEvolution*) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:275:15
llvm::RuntimeCheckingPtrGroup::addPointer(unsigned int) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:292:15
llvm::RuntimePointerChecking::groupChecks(llvm::EquivalenceClasses<llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm::PointerLikeTypeTraits<llvm::Value*> > > >&, bool) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:413:13
llvm::Runt...
2009 Dec 03
0
[LLVMdev] patch for portability
On Dec 2, 2009, at 6:54 AM, Howard Hinnant wrote:
> I've completed a survey of llvm for unnecessary dependencies on
> libstdc++, and on conflicts with the upcoming C++0X standard, and am
> recommending several changes in the enclosed patch (created with svn
> diff).
Thanks, applied here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091130/092102.html
I
2020 Jul 26
2
[LAA] RtCheck on pointers of different address spaces.
...s(llvm::SCEV const*, llvm::SCEV const*, llvm::ScalarEvolution*) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:275:15
llvm::RuntimeCheckingPtrGroup::addPointer(unsigned int) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:292:15
llvm::RuntimePointerChecking::groupChecks(llvm::EquivalenceClasses<llvm::PointerIntPair<llvm::Value*, 1u, bool, llvm::PointerLikeTypeTraits<llvm::Value*>, llvm::PointerIntPairInfo<llvm::Value*, 1u, llvm::PointerLikeTypeTraits<llvm::Value*> > > >&, bool) $SRC/llvm-project/llvm/lib/Analysis/LoopAccessAnalysis.cpp:413:13
llvm::Runt...
2009 Dec 02
2
[LLVMdev] patch for portability
I've completed a survey of llvm for unnecessary dependencies on libstdc++, and on conflicts with the upcoming C++0X standard, and am recommending several changes in the enclosed patch (created with svn diff).
Here is a summary of the patch:
---
#include <cstdlib> added to LinkAllVMCore.h and LinkAllCodegenComponents.h to declare std::getenv.
Changed next(...) to llvm::next(...) in
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...tivePath="..\..\include\llvm\Adt\DenseMap.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Adt\DepthFirstIterator.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Adt\EquivalenceClasses.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Adt\GraphTraits.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Adt\hash_map">
> > </File>
>...
2019 Jan 24
3
[RFC] Adding thread group semantics to LangRef (motivated by GPUs)
I don't see how this would fix the continue vs. nested loop problem I
explained earlier. That is, how would this prevent turning:
for (...) {
ballot();
if (... /* non-uniform */) continue;
}
into
for (...) {
do {
ballot();
} while (... /* non-uniform */);
}
and vice versa? Note that there's no duplication going on here, and
the single-threaded flow of control is
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...r/local/llvm-2.8/include/llvm/ADT/DenseMap.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/DenseMapInfo.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/DenseSet.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/DepthFirstIterator.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/EquivalenceClasses.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/FoldingSet.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/GraphTraits.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableIntervalMap.h
-- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableList.h
-- Installing: /usr/l...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams
<space.ship.traveller at gmail.com> wrote:
> Hi,
>
> I might just be doing something stupid, but when I do
>
> $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
> $ sudo make install
>
> I don't get the expected headers in
> /usr/local/llvm-2.8/include/llvm
>
> It is