search for: libcallaliasanalysis

Displaying 15 results from an estimated 15 matches for "libcallaliasanalysis".

2015 Aug 06
2
LibCallAliasAnalysis class instantiation parameter
Hello, [sorry for the duplicate post, attempting to fix the formatting of the previous post] Can anybody tell me the intent of the LibCallAliasAnalysis class? I see that to instantiate it, it requires a class derived from the pure virtual class LibCallInfo, but I cannot find any classes in the source tree that derive from LibCallInfo. Is this derived class intended to be supplied from a compiler front-end, library writer, or the llvm backend? I w...
2009 May 12
0
[LLVMdev] LibCallAliasAnalysis.h
A warning: R:\SDKs\llvm\trunk\include\llvm/Analysis/LibCallSemantics.h(63) : warning C4099: 'llvm::LibCallFunctionInfo' : type name first seen using 'class' now seen using 'struct' R:\SDKs\llvm\trunk\include\llvm/Analysis/LibCallAliasAnalysis.h(22) : see declaration of 'llvm::LibCallFunctionInfo' The problem line appears to be in file LibCallAliasAnalysis.h on line 21: class LibCallFunctionInfo; LibCallFunctionInfo is actually a struct, not a class, thus the forward declaration should be: struct LibCallFunctionInfo;
2008 May 18
0
[LLVMdev] VS build is broken again
...lysis/Analysis.vcproj (revision 51223) > +++ win32/Analysis/Analysis.vcproj (working copy) > @@ -353,6 +353,14 @@ >> > </File> > <File > + RelativePath="..\..\lib\Analysis > \LibCallAliasAnalysis.cpp" > + > > + </File> > + <File > + RelativePath="..\..\lib\Analysis > \LibCallSemantics.cpp" > + > > +...
2008 May 17
3
[LLVMdev] VS build is broken again
attached is the diff of vcprojs that need to be changed to fix the VS build as of revision: 51224. I don't know if this catches all the missing bits, but this does build all the way through. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: msvs.patch URL:
2012 Sep 10
0
[LLVMdev] About writing an alias analysis pass for LLVM 3.1
Hi, Does your pass use multiple inheritance? Sounds like your problem is that you need to define getAdjustedAnalysisPointer, see: http://llvm.org/docs/doxygen/html/classllvm_1_1Pass.html#a03d3a81b1c46aff7c38ef3a6750ba225 An example implementation (very likely exactly what you want) is in LibCallAliasAnalysis: http://llvm.org/docs/doxygen/html/LibCallAliasAnalysis_8h_source.html#l00060 Hope this helps! ~Will On Sep 9, 2012 9:08 PM, "Pei Wang" <uraj.wp at gmail.com> wrote: > > Hi, > > I am now trying to write an alias analysis pass for LLVM 3.1. The pass is compiled into a...
2012 Sep 10
2
[LLVMdev] About writing an alias analysis pass for LLVM 3.1
Hi, I am now trying to write an alias analysis pass for LLVM 3.1. The pass is compiled into a .so library. When I loaded it into opt to perform evaluation with command: opt -load my-so-lib -aa-eval foo.bc the following errors occurred: opt: raw_ostream.cpp:261: void llvm::raw_ostream::flush_nonempty(): Assertion `OutBufCur > OutBufStart && "Invalid call to
2008 May 12
0
[LLVMdev] building llvm on Windows
...think most of them because of the > automatically > generated code, I succeded to compile almost all the projects, > except opt > and bugpoint. At these two I had an error: > > error LNK2019: unresolved external symbol "class llvm::FunctionPass * > __cdecl llvm::createLibCallAliasAnalysisPass(class llvm::LibCallInfo > *)" > (? > createLibCallAliasAnalysisPass > @llvm@@YAPAVFunctionPass at 1@PAVLibCallInfo at 1@@Z) > referenced in function "public: __thiscall `anonymous > namespace'::ForcePassLinking::ForcePassLinking(void)" > (??0ForcePass...
2008 May 11
1
[LLVMdev] building llvm on Windows
...ones. After over 4500 warnings, I think most of them because of the automatically generated code, I succeded to compile almost all the projects, except opt and bugpoint. At these two I had an error: error LNK2019: unresolved external symbol "class llvm::FunctionPass * __cdecl llvm::createLibCallAliasAnalysisPass(class llvm::LibCallInfo *)" (?createLibCallAliasAnalysisPass at llvm@@YAPAVFunctionPass at 1@PAVLibCallInfo at 1@@Z) referenced in function "public: __thiscall `anonymous namespace'::ForcePassLinking::ForcePassLinking(void)" (??0ForcePassLinking@?A0xd1580448@@QAE at XZ)...
2008 May 21
3
[LLVMdev] 2.3 Pre-release available for testing
Razvan Aciu wrote: > As I saw from the mailing list the MSVC 2005 patches were made to take into > account the new files from the development branch, files which are not in > the 2.3 release. So for now the below patch is the only one functional for > the release. If I am wrong, please someone correct me. > > If someone can make a 2005 patch for the release branch, it is ok.
2008 Jul 21
6
[LLVMdev] LICM/store-aliasing of global loads
Our frontend can guarantee that loads from globals are rematerializable and do not alias with any stores in any function in the given module. We'd like the optimization passes (and ideally the register allocator as well) to be able to use this fact. The globals are not constant "forever" but are constant during the calling of any given function in the module. There seem to
2008 May 11
9
[LLVMdev] Preferring to use GCC instead of LLVM
Not that I sympathize with the OP's manners but... Bill Wendling <isanbard at gmail.com> writes: > On May 10, 2008, at 7:55 PM, kr512 wrote: > >> See how gcc is invoked to generate the final executable >> file. This means LLVM is an incomplete backend, >> unfortunately. >> > That's only a convenience. GCC generates assembly code too and calls
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...lysis/Interval.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/IntervalIterator.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/IntervalPartition.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LazyValueInfo.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallAliasAnalysis.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LibCallSemantics.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Lint.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/LiveValues.h -- Installing: /usr/local/llvm-2.8/include/llvm/Analysis/Loads.h -- Installing: /usr/lo...
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
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
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 simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...for Release+Asserts build llvm[3]: Compiling LegalizeVectorTypes.cpp for Release+Asserts build llvm[2]: Compiling LazyValueInfo.cpp for Release+Asserts build llvm[3]: Compiling LowerInvoke.cpp for Release+Asserts build llvm[3]: Compiling LowerSwitch.cpp for Release+Asserts build llvm[2]: Compiling LibCallAliasAnalysis.cpp for Release+Asserts build llvm[2]: Compiling LibCallSemantics.cpp for Release+Asserts build llvm[3]: Compiling ResourcePriorityQueue.cpp for Release+Asserts build llvm[3]: Compiling Mem2Reg.cpp for Release+Asserts build llvm[2]: Compiling Lint.cpp for Release+Asserts build llvm[3]: Building X86...