Displaying 12 results from an estimated 12 matches for "aliasanalysisevaluator".
2016 May 25
1
Live interval analysis on LLVM IR (not on Machine instructions)
...ng, Branch Folding and Common Subexpression Elimination
are easily implemented."
I've started using it - need to adapt it a bit to work with LLVM 3.9. The project
seems promising.
I'm a bit surprised LLVM does not contain a DFA module for LLVM IR. I noticed that
lib/Analysis/AliasAnalysisEvaluator.cpp and ConstantFolding.cpp seem to implement DFA, but
it does not say it; also, lib/Transforms/Scalar/EarlyCSE.cpp performs CSE but without DFA
it seems; as already mentioned, there is also lib/CodeGen/LiveIntervalAnalysis.cpp but
this pass is performed on Machine instructions.
Best regards,...
2009 Mar 15
1
[LLVMdev] using alias-analysis
Hi together,
i want to create a map containing a set of aliases for each value.
For example, for a code like:
int main() {
int i;
int *p1 = &i;
int *p2 = &i;
return 0;
}
the map should contain something like:
{i --> (p1, p2),
.....
}
For that, i do followings in my pass:
AliasAnalysis &AA = getAnalysis<AliasAnalysis>();
AliasSetTracker *tracker =
2009 May 29
0
[LLVMdev] difference between alias set tracker and alias analysis evaluator
...ias aliasing results returned by the alias set
tracker and the alias analysis evaluator.
so i call opt tool to run my module with the following options
"-anders-aa -aa-eval -print-alias-sets -print-all-alias-modref-info"
i use 2 classes to print alias analysis, the AliasSetTracket and
AliasAnalysisEvaluator.
but they give different results.
here is a sample program:
int main(){
int a[5];
struct {
char id[10];
int line;
} sym;
sym.line =a[1] + 10;
a[3] = 3;
sym.id[5] = a[3];
return 0;
}
and here is the ll file
define i32 @main() nounwind {
en...
2009 May 29
1
[LLVMdev] difference between alias set tracker and alias analysis evaluator
...ias aliasing results returned by the alias set
tracker and the alias analysis evaluator.
so i call opt tool to run my module with the following options
"-anders-aa -aa-eval -print-alias-sets -print-all-alias-modref-info"
i use 2 classes to print alias analysis, the AliasSetTracket and
AliasAnalysisEvaluator.
but they give different results.
here is a sample program:
int main(){
int a[5];
struct {
char id[10];
int line;
} sym;
sym.line =a[1] + 10;
a[3] = 3;
sym.id[5] = a[3];
return 0;
}
and here is the ll file
define i32 @main() nounwind {
en...
2016 May 21
0
Live interval analysis on LLVM IR (not on Machine instructions)
You can use:
http://www.rw.cdl.uni-saarland.de/~grund/papers/cgo08-liveness.pdf
-----Original Message-----
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Alex Susu via llvm-dev
Sent: Saturday, May 21, 2016 9:39 PM
To: llvm-dev <llvm-dev at lists.llvm.org>
Subject: [llvm-dev] Live interval analysis on LLVM IR (not on Machine instructions)
Hello.
Could you
2016 May 21
2
Live interval analysis on LLVM IR (not on Machine instructions)
Hello.
Could you please tell me how can I implement best a live interval analysis on LLVM IR
(not on Machine instructions, which is already available in
http://llvm.org/docs/doxygen/html/LiveIntervalAnalysis_8cpp_source.html)?
I need to analyze the standard LLVM IR (list of Instruction *) and decide for each
SSA variable what is it's live(ness) interval. My problem is that I
2009 Apr 17
15
[LLVMdev] mingw build problems
...t problem I hit was when I configured with CC, CXX, AR and
RANLIB set to mingw cross-tools, but forgot to specify NM as well.
This resulted in a load of warnings that scrolled off the screen:
nm: AliasAnalysis.o: File format not recognized
nm: AliasAnalysisCounter.o: File format not recognized
nm: AliasAnalysisEvaluator.o: File format not recognized
nm: AliasDebugger.o: File format not recognized
nm: AliasSetTracker.o: File format not recognized
nm: Analysis.o: File format not recognized
...
followed by millions of undefined symbols when linking any executable:
llvm[2]: Linking Debug executable opt
/home/foad/ll...
2015 Jan 21
4
[LLVMdev] Using basicaa alias analysis pass
Hi
I am completely new to LLVM, and I am trying to explore the alias analysis
part of it. It seems to me that -basicaa is the most simple alias analysis
pass in LLVM. So I would like to try and make it work (to see some alias
analysis results of some sample bit code).
What I have done is that I
---make lib/Analysis/BasicAliasAnalysis.cpp into a .so file
---write a sample c program, hello.c,
2015 Jul 17
2
[LLVMdev] GlobalsModRef (and thus LTO) is completely broken
Before the fix, the compiler may simply return 'noalias' for cases it can
not really prove to be noalias, but actually correct by luck (or even wrong
noalias, but does not result in miscompile). It would be useful to find out
the set of missed noalias queries from GlobalModRef with your benchmark and
examine if there is some improvement can be done.
David
On Fri, Jul 17, 2015 at 6:32
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...ativePath="..\..\lib\Analysis\AliasAnalysis.cpp">
> > </File>
> > <File
> > RelativePath="..\..\lib\Analysis\AliasAnalysisCounter.cpp">
> > </File>
> > <File
> > RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp">
> > </File>
> > <File
> > RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp">
> > </File>
> > <File
> > RelativePath="..\..\lib\Analysis\BasicAliasAnalysis.cpp">
> > </Fi...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...> <File
> RelativePath="..\..\lib\Analysis\AliasAnalysis.cpp">
> </File>
> <File
> RelativePath="..\..\lib\Analysis\AliasAnalysisCounter.cpp">
> </File>
> <File
> RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp">
> </File>
> <File
> RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp">
> </File>
> <File
> RelativePath="..\..\lib\Analysis\BasicAliasAnalysis.cpp">
> </File>
> <File
> Re...
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 BitcodeWriter.cpp for Release+Asserts build
llvm[3]: Compiling BitcodeReader.cpp for Release+Asserts build
llvm[2]: Compiling LLParser.cpp for Release+Asserts build
llvm[2]: Compiling AliasAnalysisCounter.cpp for Release+Asserts build
llvm[2]: Compiling AliasAnalysisEvaluator.cpp for Release+Asserts build
llvm[2]: Compiling AliasDebugger.cpp for Release+Asserts build
llvm[3]: Compiling BitcodeWriterPass.cpp for Release+Asserts build
llvm[2]: Compiling AliasSetTracker.cpp for Release+Asserts build
llvm[3]: Compiling ValueEnumerator.cpp for Release+Asserts build
llvm[2]:...