search for: ecvalue

Displaying 12 results from an estimated 12 matches for "ecvalue".

2010 May 02
3
[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.
...reate 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 function D:\CompanyOne\External\...
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 EndOfList pointing to this node, Next...
2010 May 02
2
[LLVMdev] Compiling LLVM 2.7 with Visual Studio 2010.
...n 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: > > // ECValue ctor - Start out with EndOfLis...
2009 Dec 03
3
[LLVMdev] patch for portability
...s 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. 2. There are numerous places where there is a std::pair of pointer types and passing 0 results in the rvalue reference constructor being called. The type of 0 is deduced to be an int and...
2009 Dec 03
0
[LLVMdev] patch for portability
...ly, 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. If I'm understanding the concern, this looks easy to fix to me by simply making the private construction explicit within the scope of the code which has access to this constructor:...
2005 Mar 21
1
[LLVMdev] LLVM CVS Build Broken + one line fix
...ucture/DSGraph.h: 20, from /home/ejones/llvm/llvm3/include/llvm/Analysis/DataStructure/ DSGraphTraits.h:19, from DataStructure.cpp:14: /home/ejones/llvm/llvm3/include/llvm/ADT/EquivalenceClasses.h: In constructor `llvm::EquivalenceClasses<ElemTy>::ECValue::ECValue(const ElemTy&)': /home/ejones/llvm/llvm3/include/llvm/ADT/EquivalenceClasses.h:72: parse error before `;' token Evan Jones
2016 Jun 13
2
LLVM IR intrinsics placeholder for strings [was Re: Back end with special loop instructions (using LLVM IR intrinsics)]
...PPCCTRLoops.cpp: > IRBuilder<> CountBuilder(Preheader->getTerminator()); > Module *M = Preheader->getParent()->getParent(); > Value *MTCTRFunc = Intrinsic::getDeclaration(M, Intrinsic::ppc_mtctr,CountType); > CountBuilder.CreateCall(MTCTRFunc, ECValue); > > I have defined also some intrinsics for my loop instructions in my file > Intrinsics_Connex.td: 1 intrinsic for REPEAT_X_TIMES and 1 for END_REPEAT. > /* following Intrinsics.td: > class Intrinsic<list<LLVMType> ret_types, > list&...
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
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
2016 May 30
1
Back end with special loop instructions
Hi Alex, You might find it useful to look at how lib/Target/PowerPC/PPCCTRLoops.cpp works. -Hal ----- Original Message ----- > From: "Alex Susu via llvm-dev" <llvm-dev at lists.llvm.org> > To: "llvm-dev" <llvm-dev at lists.llvm.org> > Sent: Monday, May 30, 2016 5:09:37 PM > Subject: [llvm-dev] Back end with special loop instructions > > Hello.
2016 May 30
2
Back end with special loop instructions
Hello. I'm writing a back end for my research SIMD processor that has an assembly language that is blocked structured, with one-level loops. An example program with my assembly language: REPEAT_X_TIMES(Param2) R0 = LS[offset_A]; END_REPEAT; The LLVM code somewhat equivalent to the above ASM program is: vector.body: %index = phi i64 [
2010 May 12
2
[LLVMdev] Linking problems with llvm-2.7, release 64b build with vs2010
Hello, Following some recent messages about building with Visual Studio 2010, I have gotten most things to compile in release mode on 64b windows 7. (Mainly the few errors with 0 -> nullptr in the second argument of the pair constructor, and making an ECValue constructor public). I'm falling at the last hurdle though when it comes to the final link: 1>------ Build started: Project: Fibonacci, Configuration: Release x64 ------ 1> Creating library C:/llvm-2.7-src/build/lib/Release/Fibonacci.lib and object C:/llvm-2.7-src/build/lib/Release/...