Displaying 20 results from an estimated 9000 matches similar to: "link error for analysis pass"
2015 Dec 04
2
link error for analysis pass
Hi Mehdi,
I meant when I build the LLVM and it will give the following errors:
make[2]: Entering directory `/home/alex/new/llvm-obj/tools/llc'
llvm[2]: Linking Debug+Asserts executable llc
/home/alex/new/llvm-obj/Debug+Asserts/lib/libLLVMCodeGen.a(Passes.o): In
function `llvm::TargetPassConfig::addIRPasses()':
/home/alex/new/llvm-3.1.src/lib/CodeGen/Passes.cpp:295: undefined reference
to
2006 Mar 22
5
[LLVMdev] Circular dependencies
On Tue, 21 Mar 2006, Reid Spencer wrote:
> About the only thing I can suggest are:
>
> 1. Combine LLVMSparc*.o into one LLVMSparc.a. That work is already
> happening with the new Sparc backend that is being developed. Should be
> out in 1.7 (Chris?)
I wouldn't worry about the SparcV9 backend for your project.
> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
2006 Mar 22
0
[LLVMdev] Circular dependencies
On Tue, 21 Mar 2006, Chris Lattner wrote:
>> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
>
> I'd much rather change the code so that interpreter depends on EE and JIT
> depends on EE, but EE depends on neither of them.
>
> This would allow people to link just the JIT or just the interpreter into
> their apps, instead of always having both or none.
2009 Jan 04
0
[LLVMdev] link problem with llvm-pass
Dear Nico,
I believe you need to add LLVMipa to the list of libraries to link into
your tool. FindUsedTypes::ID is defined in lib/Analysis/IPA.
I think it would be LLVMipa.a if you added it to LLVMLIBS and ipa if you
added it to LINK_COMPONENTS.
-- John T.
Nico wrote:
> Hi,
>
> I tried to implement an 'llc'-like tool in my project to manage
> different passes and a
2006 Mar 22
2
[LLVMdev] Circular dependencies
Okay, the problem with this cycle is LoopSimplify. It is using
AliasAnalysis which is where that _ZN4llvm11BasicAAStubEv symbol is
coming from. It seems to me that LoopSimplify.cpp is in the wrong
place. This file defines the LoopSimplify FunctionPass which doesn't
seem to me to be a "transform util". I thought the purpose of
"Transforms/Util" was to provide utilities
2006 Mar 22
0
[LLVMdev] Circular dependencies
On Mar 21, 2006, at 11:23 PM, Chris Lattner wrote:
>>> LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a
>>> libLLVMTarget.a
>>> libLLVMTransformUtils.a libLLVMipa.a
>
> CodeGen should depend on Target, but not the other way around.
> LLVMIPA should depend on LLVMAnalysis, but certainly nothing in the
> list should depend on LLVMIPA. If you knew
2006 Mar 22
0
[LLVMdev] Circular dependencies
Okay, its not that simple.
Several files in Transforms/Utils depend on things in lib/Analysis. A
quick grep shows:
BreakCriticalEdges.cpp:#include "llvm/Analysis/Dominators.h"
BreakCriticalEdges.cpp:#include "llvm/Analysis/LoopInfo.h"
CloneTrace.cpp:#include "llvm/Analysis/Trace.h"
CodeExtractor.cpp:#include "llvm/Analysis/Dominators.h"
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
Hi,
I tried to implement an 'llc'-like tool in my project to manage
different passes and a target machine.
I use given llvm project structure to avoid problems but I have a link
problem and don't know how to solve it:
The target machine uses 'FindUsedTypes' pass and when I try to use my
target machine in the tool I got "Undefined symbols:
2009 Jan 04
1
[LLVMdev] link problem with llvm-pass
Dear John,
thanks! I was irritated by the path of the header file/declaration.
It is not like the definition in a subdirectory. Sorry my fault.
Is there an overview where classes and link options are mapped to each
other?
Kind regards,
Nico
On Jan 4, 2009, at 4:07 PM, John Criswell wrote:
> Dear Nico,
>
> I believe you need to add LLVMipa to the list of libraries to link
>
2006 Mar 22
0
[LLVMdev] Circular dependencies
Hi Eric,
Its definitely amusing :)
About the only thing I can suggest are:
1. Combine LLVMSparc*.o into one LLVMSparc.a. That work is already
happening with the new Sparc backend that is being developed. Should be
out in 1.7 (Chris?)
2. Combine the JIT/Interpreter/ExecutionEngine into one .a
I don't know enough about the codegen/target/analysis/ipa stuff to be
able to make any
2006 Mar 21
2
[LLVMdev] Circular dependencies
Reid added some nice inter-library dependency data to utils/llvm-
config/LibDeps.txt.
There are three sets of circular dependencies between LLVM libraries.
If you use any library from one of these sets, you may need to pull
in the rest:
LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a libLLVMTarget.a
libLLVMTransformUtils.a libLLVMipa.a
LLVMSparcV9.o LLVMSparcV9InstrSched.o
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
I constructed an LLVM 2.7 VS solution with cmake, but it has 66 projects:
ALL_BUILD, ".\ALL_BUILD.vcproj"
BrainF, "examples\BrainF\BrainF.vcproj"
Fibonacci, "examples\Fibonacci\Fibonacci.vcproj"
FileCheck, "utils\FileCheck\FileCheck.vcproj"
HowToUseJIT,
2020 Sep 07
2
New PM for target-specific pre-isel IR passes
Hi,
Is there a mechanism in place to use the new pass manager with target-specific passes added (at the moment) via addIRPasses in TargetPassConfig?
I did see any code related to that, did I miss something? Is it in plan?
--
Krzysztof Parzyszek kparzysz at quicinc.com AI tools development
2010 Jul 22
2
[LLVMdev] Is there a guide to LLVM's components?
One thing that helps me understand complex software is a dependency graph. I found an LLVM dependency graph at
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_16/docs/UsingLibraries.html#dependencies
but it's really messy and hard to follow. From that graph I made a cleaner graph by hand (attached)... sorry about the fax-quality scan. But I have some questions about it...
-
2016 Apr 19
2
Move InlineCost.cpp out of Analysis?
On Mon, Apr 18, 2016 at 4:38 PM Xinliang David Li <davidxl at google.com>
wrote:
>
>>>> Now, the original design only accounted for profile information
>>>> *within* a function body, clearly it needs to be extended to support
>>>> intraprocedural information.
>>>>
>>>
>>>
>>> Not sure what you mean. Profile data
2014 Sep 30
2
[LLVMdev] Custom pass that runs before EmitStartOfAsmFile()?
Hi all,
I'm trying to write a custom module-level pass that runs before AsmPrinter::EmitStartOfAsmFile(), since I'd like to have some processed information available once entering this function.
Looking through "Writing an LLVM pass" documentation, it's not clear to me if this is possible. I've also tried putting the pass in different orders (addPreISel, addIRPasses,
2016 Apr 18
3
Move InlineCost.cpp out of Analysis?
On Mon, Apr 18, 2016 at 3:45 PM Xinliang David Li <davidxl at google.com>
wrote:
> On Mon, Apr 18, 2016 at 3:00 PM, Chandler Carruth <chandlerc at gmail.com>
> wrote:
>
>> On Mon, Apr 18, 2016 at 2:48 PM Hal Finkel <hfinkel at anl.gov> wrote:
>>
>>>
>>>
>>> ------------------------------
>>>
>>> *From:
2013 Nov 14
2
[LLVMdev] [PATCH] Add a Scalarize pass
Richard Sandiford <rsandifo at linux.vnet.ibm.com> writes:
> Are you worried that adding it to PMB will increase compile time?
> The pass exits very early for any target that doesn't opt-in to doing
> scalarisation at the IR level, without even looking at the function.
As an alternative, adding Scalarizer and InstCombine passes to
SystemZPassConfig::addIRPasses() would probably
2013 Oct 31
2
[LLVMdev] Why does cmake use LLVMBuild.txt to specify the LLVM-libs link order?
Hi,
I've been working on a set of patches to statically link polly in the LLVM
tools. There remains an error I can't seem to solve when linking llvm-lto (all
other tools luckily get linked correctly): it insists adding libLLVMipo.a after
libLLVMPolly.a on the link command, resulting in an error of the form:
PassManagerBuilder.cpp:(.text+0x499): undefined reference to
2016 Dec 13
2
ipa rpm conflicts
does anybody see this:
unning transaction
Warning: RPMDB altered outside of yum.
** Found 8 pre-existing rpmdb problem(s), 'yum check' output
follows:
ipa-admintools-4.4.0-14.el7.centos.noarch has installed
conflicts freeipa-admintools:
ipa-admintools-4.4.0-14.el7.centos.noarch
ipa-client-4.4.0-14.el7.centos.x86_64 has installed
conflicts freeipa-client: