Displaying 20 results from an estimated 62 matches for "fmodule".
Did you mean:
module
2010 Jun 14
2
[LLVMdev] Adding fields in a already built type?
Hi,
We build a type with StructType::get(fModule->getContext(), fDspFields, false); with a fDspFields (std::vector<const llvm::Type*> fDspFields;) that is not yet completely known when we have to build the type. It is possible to add fields in a already build type?
Thanks
Stéphane Letz
2010 Jun 14
0
[LLVMdev] Adding fields in a already built type?
On Jun 14, 2010, at 1:22 PM, Stéphane Letz wrote:
> Hi,
>
> We build a type with StructType::get(fModule->getContext(), fDspFields, false); with a fDspFields (std::vector<const llvm::Type*> fDspFields;) that is not yet completely known when we have to build the type. It is possible to add fields in a already build type?
Nope, types are immutable once created. The only thing you can do is...
2013 Jul 18
2
[LLVMdev] LLVM 3.3 JIT code speed
...h -O3 kind of IR ==> IR passes) runs slower when executed with the LLVM 3.3 JIT, compared to what we had with LLVM 3.1. What could be the reason?
I tried to play with TargetOptions without any success…
Here is the kind of code we use to allocate the JIT:
EngineBuilder builder(fResult->fModule);
builder.setOptLevel(CodeGenOpt::Aggressive);
builder.setEngineKind(EngineKind::JIT);
builder.setUseMCJIT(true);
builder.setCodeModel(CodeModel::JITDefault);
builder.setMCPU(llvm::sys::getHostCPUName());
TargetOptions targetOptions;
targetOptions.NoFramePointerElim...
2013 Jul 18
0
[LLVMdev] LLVM 3.3 JIT code speed
...passes) runs slower when executed with the LLVM 3.3 JIT, compared to what we had with LLVM 3.1. What could be the reason?
>
> I tried to play with TargetOptions without any success…
>
> Here is the kind of code we use to allocate the JIT:
>
> EngineBuilder builder(fResult->fModule);
> builder.setOptLevel(CodeGenOpt::Aggressive);
> builder.setEngineKind(EngineKind::JIT);
> builder.setUseMCJIT(true);
> builder.setCodeModel(CodeModel::JITDefault);
> builder.setMCPU(llvm::sys::getHostCPUName());
>
> TargetOptions targetOptions;
>...
2013 Feb 08
0
[LLVMdev] JIT on armhf
On 8 February 2013 14:28, David Given <dg at cowlark.com> wrote:
> Debian's clang packages are totally broken on armhf --- the compiler
> emits a confused warning about the platform being unrecognised, and then
> generates softfloat code --- so I was wondering about LLVM itself.
I'm using Ubuntu on Pandas and Chromebooks and LLVM itself behaves well,
with the right set of
2013 Feb 08
2
[LLVMdev] JIT on armhf
...model static -mdisable-fp-elim -fmath-errno
-mconstructor-aliases -fuse-init-array -target-abi aapcs-linux
-target-cpu arm7tdmi -mfloat-abi hard -target-linker-version 2.22
-momit-leaf-frame-pointer -v -coverage-file
/home/dg/shared/workspace/calculon/test.s -resource-dir
/usr/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/arm-linux-gnueabihf -internal-externc-isystem
/usr/include/arm-linux-gnueabihf -in...
2012 Aug 02
1
[LLVMdev] Questions about clang options
...sable-free -main-file-name showdebug.c
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-linker-version 11 -momit-leaf-frame-pointer -v -coverage-file
showdebug.o -resource-dir /opt/kernelgen/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/opt/kernelgen/bin/../lib/clang/3.2/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include
-fdebug-compilation-dir
/RHM/users/work/dmikushin/forge/kernelgen/trunk/src -ferror-lim...
2011 Dec 06
2
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
...elocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -target-linker-version 2.20.1
-momit-leaf-frame-pointer -coverage-file t.o -resource-dir
/usr/local/google/tsan-llvm/data-race-test/clang_build_Linux/Release+Asserts/bin/../lib/clang/3.1
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/usr/local/google/tsan-llvm/data-race-test/clang_build_Linux/Release+Asserts/bin/../lib/clang/3.1/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -interna...
2013 Jul 18
2
[LLVMdev] LLVM 3.3 JIT code speed
...executed with the LLVM 3.3 JIT, compared to what we had with LLVM 3.1. What could be the reason?
>>
>> I tried to play with TargetOptions without any success…
>>
>> Here is the kind of code we use to allocate the JIT:
>>
>> EngineBuilder builder(fResult->fModule);
>> builder.setOptLevel(CodeGenOpt::Aggressive);
>> builder.setEngineKind(EngineKind::JIT);
>> builder.setUseMCJIT(true);
>> builder.setCodeModel(CodeModel::JITDefault);
>> builder.setMCPU(llvm::sys::getHostCPUName());
>>
>> TargetOption...
2012 Jan 04
1
[LLVMdev] How can I compile a c source file to use SSE2 Data Movement Instructions?
...e i686-pc-win32 -S
-disable-fr
e -disable-llvm-verifier -main-file-name test.c -mrelocation-model static
-mdis
ble-fp-elim -masm-verbose -mconstructor-aliases -target-cpu corei7
-momit-leaf-
rame-pointer -coverage-file test.s -resource-dir
"D:/work/trunk/bin/Release\\..
\lib\\clang\\3.1" -fmodule-cache-path
"C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\
lang-module-cache" -internal-isystem
D:/work/trunk/bin/Release/../lib/clang/3.1
include -internal-isystem "C:\\Program Files\\Microsoft Visual Studio
9.0\\VC\\
nclude" -internal-isystem "C:\\Program Files\\Microsoft
SDKs\...
2013 Feb 08
6
[LLVMdev] JIT on armhf
Renato Golin wrote:
[...]
> Try setting armv7a-unknown-linux-gnueabihf and see if it works better.
No, that doesn't work either.
[...]
> JIT was never the forte of ARM and I haven't tried yet, but I doubt
> it'll be any Debian misconfiguration. The whole architecture
> configuration is a bit odd...
Debian's clang packages are totally broken on armhf --- the compiler
2019 Jul 30
2
ICE in release/9.x when using LLVM_ENABLE_MODULES
...NS_9FieldDeclE+0x8ad)[0x557bc1749abd]
>> ```
>>
>> I have an immediate workaround -- I can turn off LLVM_ENABLE_MODULES,
>> and the crash goes away. However, I think it might be worth looking
>> into the commit above and determining why it crashes when using
>> `-fmodules`. At first glance, I don't see the problem, but I've cc'ed
>> the author, in case they might know more.
>>
>> Does anyone have any ideas on how to fix the underlying crash?
>>
>> - Brian Gesiak
>> _______________________________________________
>&...
2012 Feb 13
2
[LLVMdev] Error compiling simple loop, Casting.h used by Polly
...known-linux-gnu -emit-llvm -disable-free -main-file-name loop1.c
-mrelocation-model static -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.21.0.20110327
-momit-leaf-frame-pointer -coverage-file loop1.c.ll -resource-dir
/usr/local/bin/../lib/clang/3.1 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/local/include
-internal-isystem /usr/local/bin/../lib/clang/3.1/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-O3 -fdebug-compilation-dir /home/r...
2012 Nov 17
2
[LLVMdev] Running pass 'Greedy Register Allocator' leads to Segmentation fault (core dumped)
.../../../openmpi-1.6.3/orte/include -I ../../../../../openmpi!
-1.6.3/om
i/include -I /clumeq/src/Open-MPI/1.6.3/openmpi-1.6.3/opal/mca/hwloc/hwloc132/hwloc/include -I /clumeq/src/Open-MPI/1.6.3/openmpi-llvm/opal/mca/hwloc/hwloc132/hwloc/include -I /usr/include/infiniband -I /usr/include/infiniband -fmodule-cache-path /var/tmp/clang-module-cache -c-isystem /software/compilers/llvm/3.1/include -internal-isystem /usr/local/include -internal-isystem /software/compilers/llvm/3.1/bin/../lib/clang/3.1/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wall -std=gnu89 -fde...
2011 Dec 06
0
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
...t; -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
> -target-cpu x86-64 -target-linker-version 2.20.1
> -momit-leaf-frame-pointer -coverage-file t.o -resource-dir
> /usr/local/google/tsan-llvm/data-race-test/clang_build_Linux/Release+Asserts/bin/../lib/clang/3.1
> -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
> /usr/local/include -internal-isystem
> /usr/local/google/tsan-llvm/data-race-test/clang_build_Linux/Release+Asserts/bin/../lib/clang/3.1/include
> -internal-externc-isystem /usr/include/x86_64-linux-gnu
> -internal-externc-isyst...
2019 Jul 29
4
ICE in release/9.x when using LLVM_ENABLE_MODULES
...n15CodeGenFunction18EmitLValueForFieldENS0_6LValueEPKNS_9FieldDeclE+0x8ad)[0x557bc1749abd]
```
I have an immediate workaround -- I can turn off LLVM_ENABLE_MODULES,
and the crash goes away. However, I think it might be worth looking
into the commit above and determining why it crashes when using
`-fmodules`. At first glance, I don't see the problem, but I've cc'ed
the author, in case they might know more.
Does anyone have any ideas on how to fix the underlying crash?
- Brian Gesiak
2012 May 16
2
[LLVMdev] clang looking for gold plugin when used with '-emit-llvm' option
...ee -main-file-name test.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.21.0.20110327 -momit-leaf-frame-pointer -v -resource-dir /local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin/bin/../lib/clang/3.1 -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/local/include -internal-isystem /local/mnt/workspace/ashoknn/crd/neo/llvmsvn/build/bin/bin/../lib/clang/3.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr...
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
...oat-abi soft
-target-feature +soft-float-abi -target-linker-version
2.21.53.20110810 -momit-leaf-frame-pointer -v -coverage-file
/tmp/testReference-IcBmdF.s -resource-dir
/home/emitrax/bin/llvm/bin/../lib/clang/3.2 -isysroot
/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/
-fmodule-cache-path /var/tmp/clang-module-cache -fdeprecated-macro
-fno-dwarf-directory-asm -fdebug-compilation-dir
/home/emitrax/programming -ferror-limit 19 -fmessage-length 106
-mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o
/tmp/testRefere...
2017 Mar 25
5
Modules Maintaining or Removing
Hallo all,
I was trying to Build LLVM with the cmake option LLVM_ENABLE_MODULES
just out of curiosity. I used the RELEASE_400/final tag.
It didn't work as I almost expected.
So I'm wondering if the modulemaps aren't maintained anymore?
If they aren't maintained anymore, why aren't they removed and that
cmake option also removed?
2012 Jul 18
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:24, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> I'm not sure how to interpret the above output, but I don't understand
> why if say -triple armv4t-none--gnueabi .
Ok, we're getting there... ;)
I think these errors are due to Clang not finding the
libraries/includes/etc for the target you're building.
If you have