Displaying 3 results from an estimated 3 matches for "bitwise_operator".
2013 May 28
1
[LLVMdev] clang++ include problems
...OP_BUILDDIR="\"/home/vania/simsoc/trunk/build\""
> -DBINDIR="\"/usr/local/bin\"" -I ../libsimsoc -DNDEBUG -O3 -o
> ppc_llvm_lib.bc
> In file included from ../../libsimsoc/processors/ppc/ppc_llvm_lib.cpp:7:
> In file included from ../../libsimsoc/bitwise_operator.hpp:11:
> In file included from
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/vector:60:
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algobase.h:60:10:
> fatal error:
> 'bits/c++config.h' file not found
> #include <b...
2013 May 14
0
[LLVMdev] Keeping Clang from changing function calls to IR operations: cmpxchg
I'm not sure if this will do everything that you want, but it controls at
least some of these expansions at the Clang level:
tools/clang/lib/Basic/Targets.cpp
On Tue, May 14, 2013 at 3:46 PM, Dan <westdac at gmail.com> wrote:
>
> I'm working on getting the LLVM/projects/Test-Suite/UnitTest to compile
> for a target that I am developing.
>
> There is an example:
2013 May 14
2
[LLVMdev] Keeping Clang from changing function calls to IR operations: cmpxchg
I'm working on getting the LLVM/projects/Test-Suite/UnitTest to compile for
a target that I am developing.
There is an example: AtomicOps, that uses calls to:
__sync_fetch_and_add
__sync_val_compare_and_swap
__sync_lock_test_and_set
These get converted into llvm IR operations like:
atomicrmw
cmpxchg
Is there any way to keep these as function calls, as they are easier to map
to the