search for: initializealltargetmc

Displaying 20 results from an estimated 42 matches for "initializealltargetmc".

Did you mean: initializealltargetmcs
2011 Dec 12
3
[LLVMdev] buildbot failure
...`llvm::InitializeAllTargetInfos()': llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' It certainly looks like something wasn't checked in, but I don't find anything and my fresh checkout should have failed as well....
2011 Dec 12
0
[LLVMdev] buildbot failure
...tializeAllTargetInfos()': > llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' > /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': > llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' > > It certainly looks like something wasn't checked in, but I don't find anything and > my fresh checkout should ha...
2015 Mar 14
2
[LLVMdev] Add a backend
Yes, llvm::InitializeAllTargetMCs(void) does seem to be autogenerated. It is _LLVMInitializeFooTargetMC that I can't find documented anywhere. On Sat, Mar 14, 2015 at 12:05 AM, Anton Korobeynikov < anton at korobeynikov.info> wrote: > This function is autogenerated. You need also to change top-level > configure...
2011 Dec 12
2
[LLVMdev] buildbot failure
...llTargetInfos()': >> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >> >> It certainly looks like something wasn't checked in, but I don't find anything and >> my fresh che...
2011 Dec 12
2
[LLVMdev] buildbot failure
...#39;: >>>> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>>> >>>> It certainly looks like something wasn't checked in, but I don't find anything...
2015 Mar 14
2
[LLVMdev] Add a backend
...korobeynikov.info> wrote: > You have to provide this function and initialize the whole MC > infrastructure. > > See e.g. lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp > > On Sat, Mar 14, 2015 at 10:11 AM, Daniel Dilts <diltsman at gmail.com> wrote: > > Yes, llvm::InitializeAllTargetMCs(void) does seem to be autogenerated. > It > > is _LLVMInitializeFooTargetMC that I can't find documented anywhere. > > > > On Sat, Mar 14, 2015 at 12:05 AM, Anton Korobeynikov > > <anton at korobeynikov.info> wrote: > >> > >> This function is...
2015 Mar 14
2
[LLVMdev] Add a backend
...get\LLVMBuild.txt and to LLVM_ALL_TARGETS in llvm\CMakeLists.txt. I removed the files except for FooTargetMachine.cpp and FooTargetMachine.h. FooTargetMachine is not completed yet, but I was trying to compile and get linker errors about _LLVMInitializeFooTargetMC referenced in function void llvm::InitializeAllTargetMCs(void). I do not see anything about how to implement this function. Is there additional documentation about how to implement a backend that I am missing? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/201503...
2011 Dec 12
2
[LLVMdev] buildbot failure
...t;>>> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>>>>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>>>>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>>>>> >>>>>> It certainly looks like something wasn't checked in, but I...
2011 Dec 12
0
[LLVMdev] buildbot failure
...Infos()': >>> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>> >>> It certainly looks like something wasn't checked in, but I don't find anything and >>...
2011 Dec 12
0
[LLVMdev] buildbot failure
...t;>>>> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>>>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>>>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>>>> >>>>> It certainly looks like something wasn't checked in, but I don't fin...
2011 Dec 13
0
[LLVMdev] buildbot failure
...t;>> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>>>>>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>>>>>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>>>>>> >>>>>>> It certainly looks like something wasn't checke...
2011 Aug 25
3
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...r, I'm getting the error "Target does not support MC emission!" when I call EngineBuilder::create(). I assume that I'm just not doing something necessary for initialization, but I'm not sure what it would be--I am calling all of: llvm::InitializeNativeTarget(); llvm::InitializeAllTargetMCs(); LLVMLinkInMCJIT(); LLVMLinkInJIT(); and the module I'm trying to load does have a reasonable target: target triple = "x86_64-apple-darwin11.0.0" I've attached a short test case that has the sequence of calls that I'm making and one of the bitcode files I'm t...
2011 Aug 26
2
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...pport MC emission!" when I call EngineBuilder::create(). I assume that I'm just not doing something necessary for initialization, but I'm not sure what it would be--I am calling all of: >>>> >>>> llvm::InitializeNativeTarget(); >>>> llvm::InitializeAllTargetMCs(); >>>> LLVMLinkInMCJIT(); >>>> LLVMLinkInJIT(); >>>> >>>> and the module I'm trying to load does have a reasonable target: >>>> >>>> target triple = "x86_64-apple-darwin11.0.0" >>>> >...
2011 Aug 31
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...OT... did you succeed yet? I seem to be unable to even get lli to run some code with the "use-mcjit" flag. I attached a test case that works fine for "lli y.bc" but exits with an error for "lli -use-mcjit y.bc": "LLVM ERROR: Unknown object format" If I call InitializeAllTargetMCs() before creating the execution engine, I end up with linker errors for PPC, MIPS, and MSP430 like this one: llvm-svn-install/lib/libLLVMPowerPCDesc.a(PPCMCTargetDesc.o): In function `PPCInstPrinter': llvm-svn/lib/Target/PowerPC/MCTargetDesc/../InstPrinter/PPCInstPrinter.h:28: undefined refer...
2011 Aug 25
2
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
..."Target does not support MC emission!" when I call EngineBuilder::create().  I assume that I'm just not doing something necessary for initialization, but I'm not sure what it would be--I am calling all of: >> >>      llvm::InitializeNativeTarget(); >>      llvm::InitializeAllTargetMCs(); >>      LLVMLinkInMCJIT(); >>      LLVMLinkInJIT(); >> >> and the module I'm trying to load does have a reasonable target: >> >> target triple = "x86_64-apple-darwin11.0.0" >> >> I've attached a short test case that has the seque...
2013 Dec 09
0
[LLVMdev] PTX generation examples?
...ntains the PTX, which you can load into the CUDA runtime. As for determining if PTX support is compiled into the LLVM binary you are using, you could register all targets and then check if you can create a Target for the "nvptx" or "nvptx64" triple: InitializeAllTargets(); InitializeAllTargetMCs(); InitializeAllAsmPrinters(); InitializeAllAsmParsers(); std::string Err; const Target *Tgt = TargetRegistry::lookupTarget("nvptx64", Err); if (Tgt) { // nvptx target is available } else { // nvptx target is not available } More information about the PTX target...
2013 Feb 18
1
[LLVMdev] [llvm-c] Proposal: Make LLVMInitializeNativeTarget and co. non-inline
...al need for them to be inlined. This is why I propose to make them non-inline, normal functions that get declared in their current header and defined in lib/IR/Core.cpp. The list of functions affected by this is: void llvm::InitializeAllTargetInfos () void llvm::InitializeAllTargets () void llvm::InitializeAllTargetMCs () void llvm::InitializeAllAsmPrinters () void llvm::InitializeAllAsmParsers () void llvm::InitializeAllDisassemblers () bool llvm::InitializeNativeTarget () bool llvm::InitializeNativeTargetAsmPrinter () bool llvm::InitializeNativeTargetAsmParser () bool llvm::InitializeNativeTargetDisassembler (...
2011 Dec 13
2
[LLVMdev] buildbot failure
...t;> llvm-mc.cpp:(.text._ZN4llvm24InitializeAllTargetInfosEv[llvm::InitializeAllTargetInfos()]+0x5): undefined reference to `LLVMInitializeHexagonTargetInfo' >>>>>>>> /home/baldrick/osuosl/slave/llvm-x86_64/llvm/tools/llvm-mc/Debug+Asserts/llvm-mc.o: In function `llvm::InitializeAllTargetMCs()': >>>>>>>> llvm-mc.cpp:(.text._ZN4llvm22InitializeAllTargetMCsEv[llvm::InitializeAllTargetMCs()]+0x5): undefined reference to `LLVMInitializeHexagonTargetMC' >>>>>>>> >>>>>>>> It certainly looks like something wasn&...
2013 Dec 06
2
[LLVMdev] PTX generation examples?
OK, fine -- an example of MCJIT that sets up for PTX JIT would also be helpful. On Dec 6, 2013, at 12:32 PM, Eli Bendersky <eliben at google.com> wrote: > > You'll have to switch to MCJIT for this purpose. Legacy JIT doesn't emit PTX. > > Eli -- Larry Gritz lg at larrygritz.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Aug 25
0
[LLVMdev] Trouble using the MCJIT: "Target does not support MC emission" error
...ng the error "Target does not support MC emission!" when I call EngineBuilder::create(). I assume that I'm just not doing something necessary for initialization, but I'm not sure what it would be--I am calling all of: > > llvm::InitializeNativeTarget(); > llvm::InitializeAllTargetMCs(); > LLVMLinkInMCJIT(); > LLVMLinkInJIT(); > > and the module I'm trying to load does have a reasonable target: > > target triple = "x86_64-apple-darwin11.0.0" > > I've attached a short test case that has the sequence of calls that I'm making...