search for: lowerconstantexprs

Displaying 11 results from an estimated 11 matches for "lowerconstantexprs".

Did you mean: lowerconstantexpr
2007 Jul 03
2
[LLVMdev] Question about Constant Expressions
How hard would it be to compile this pass and add it to the passes that opt can run? Is this something I should be able to do relatively quickly? What was the name of the file(s) that implemented the pass? Thanks, Ben On 7/3/07, Chris Lattner <sabre at nondot.org> wrote: > On Tue, 3 Jul 2007, Anton Korobeynikov wrote: > >> We used to have a 'lowerconstantexpr' pass in
2007 Jul 04
1
[LLVMdev] Question about Constant Expressions
Chris: It was in the 1.5 release but not subsequent to that. You can find this by looking for the file in the branches that were converted from subversion. You can find the file you're looking for here: http://llvm.org/viewvc/llvm-project/llvm/branches/release_15/lib/Transforms/Scalar/LowerConstantExprs.cpp?view=log Reid. On Tue, 2007-07-03 at 14:29 -0700, Chris Lattner wrote: > On Tue, 3 Jul 2007, Ben Chambers wrote: > > How hard would it be to compile this pass and add it to the passes > > that opt can run? Is this something I should be able to do relatively > > quickly?...
2007 Jul 03
0
[LLVMdev] Question about Constant Expressions
On Tue, 3 Jul 2007, Ben Chambers wrote: > How hard would it be to compile this pass and add it to the passes > that opt can run? Is this something I should be able to do relatively > quickly? What was the name of the file(s) that implemented the pass? It should be easy, modulo it bitrotting. It is already built as an opt pass. The filename was LowerConstantExpr.cpp IIRC. -Chris
2007 Jul 03
4
[LLVMdev] Question about Constant Expressions
Chris, > We used to have a 'lowerconstantexpr' pass in transforms/scalar. I don't > know how to see deleted files in svn though. They should be "seen" in the certain revision, before they were deleted. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Jul 04
2
[LLVMdev] Accessing/Loading a new pass
Ok. So I took the source code from 1.5 for the LowerConstantExprs pass and (hopefully) corrected all the bitrot. It now compiles. But opt doesn't see it (when I run Release/bin/opt --help it doesn't show up). So, I copy the Transform/Hello directory and compile it as a dynamically loaded pass. When I run Release/bin/opt -load Release/lib/LLVMLowerCons...
2007 Jul 03
0
[LLVMdev] Question about Constant Expressions
On Tue, 3 Jul 2007, Anton Korobeynikov wrote: >> We used to have a 'lowerconstantexpr' pass in transforms/scalar. I don't >> know how to see deleted files in svn though. > They should be "seen" in the certain revision, before they were deleted. How can you see these in viewcv? -Chris -- http://nondot.org/sabre/ http://llvm.org/
2007 Jul 04
2
[LLVMdev] Accessing/Loading a new pass
...struction). Is there some way to get a new name (like tmp155) and have a high degree of confidence that it is actually unique? -- Ben On 7/4/07, Chris Lattner <sabre at nondot.org> wrote: > On Wed, 4 Jul 2007, Ben Chambers wrote: > > Ok. So I took the source code from 1.5 for the LowerConstantExprs > > pass and (hopefully) corrected all the bitrot. It now compiles. But > > opt doesn't see it (when I run Release/bin/opt --help it doesn't show > > up). So, I copy the Transform/Hello directory and compile it as a > > dynamically loaded pass. When I run Release...
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
On Wed, 4 Jul 2007, Ben Chambers wrote: > Ok. So I took the source code from 1.5 for the LowerConstantExprs > pass and (hopefully) corrected all the bitrot. It now compiles. But > opt doesn't see it (when I run Release/bin/opt --help it doesn't show > up). So, I copy the Transform/Hello directory and compile it as a > dynamically loaded pass. When I run Release/bin/opt -load >...
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
...of confidence that it is actually unique? Sure. Just give every name "tmp" and it will autounique them. -Chris > On 7/4/07, Chris Lattner <sabre at nondot.org> wrote: >> On Wed, 4 Jul 2007, Ben Chambers wrote: >>> Ok. So I took the source code from 1.5 for the LowerConstantExprs >>> pass and (hopefully) corrected all the bitrot. It now compiles. But >>> opt doesn't see it (when I run Release/bin/opt --help it doesn't show >>> up). So, I copy the Transform/Hello directory and compile it as a >>> dynamically loaded pass. When I...
2007 Jul 03
1
[LLVMdev] Question about Constant Expressions
Hi! Is there a pass that will remove constant expressions from appearing within other expressions? For instance it would convert the call: %tmp20 = tail call i32 (i8*, ...)* @printf( i8* getelementptr ([4 x i8]* @.str, i32 0, i32 0), i32 %tmp18 ) ; <i32> [#uses=0] Into: %tmpFresh = getelementptr [4 x i8]* @.str, i32 0, i32 0 ; <i8*> [#uses = 1] %tmp20 = tail call i32 (i8*,
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...elativePath="..\..\lib\Transforms\Scalar\LoopUnswitch.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Scalar\LowerAllocations.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Scalar\LowerConstantExprs.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Scalar\LowerGC.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Scalar\LowerInvoke.cpp"> > </File> > <File...