Displaying 6 results from an estimated 6 matches for "llvmpath".
Did you mean:
llvm_path
2009 Nov 11
4
[LLVMdev] Adding function call in LLVM IR using IRBuilder causes assertion error
...ocaInst* allocInst = builder.CreateAlloca(argit->getType());
args.push_back(allocInst);
}
builder.CreateCall(f,args.begin(),args.end());
}
This seems to work for functions without parameters (eg. int foo()), but
once a function has a parameter I get the following assertion error:
<llvmpath>/lib/VMCore/Instructions.cpp:297: void
llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int):
Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i) ==
Params[i]->getType()) && "Calling a function with a bad signature!"' failed.
I'v...
2014 Mar 17
2
[LLVMdev] cross-compiling current trunk fails
...rule to make target
`../build/llvm-r204075/BuildTools/Debug+Asserts/bin/llvm-tblgen', needed
by `../build/llvm-r204075/lib/IR/Debug+Asserts/Intrinsics.gen.tmp'. Stop.
make[1]: *** Waiting for unfinished jobs....
this fails for me for
r204075 (today) and
r203443.
Configuration details:
$LLVMPATH/configure \
--prefix=$INSTALL/llvm-$TYPE \
--host=powerpc64-bgq-linux \
--build=powerpc64-unknown-linux-gnu \
--enable-shared \
--disable-terminfo \
--disable-zlib \
--enable-targets=powerpc \
CXX=${CXX} \
CXXFLAGS="${CXXFLAGS}" \
CC=${CC}...
2008 Nov 26
0
[LLVMdev] LLVM profiling
Hi Rantao,
perhaps you should use $llvmpath/utils/profile.pl for profiling? It
works well. If you don't want to use it, there is at least some code
in the script that should help you.
BTW: I'm not sure if it is possible to instrument the bitcode with
function and basic block code at the same time.
But it should work sequential...
2008 Nov 25
2
[LLVMdev] LLVM profiling
Hello,
My name is Rantao Chen and i am a student at the University of Maryland. I am
currently doing some research for a professor to do Basic Block profiling using
LLVM. I have set up the environment correctly and built the profile_rt.so shared
library, but i am having some problems using the LLVM profiling tools.
I run "opt -insert-function-profiling -insert-block-profiling input.bc
2009 Nov 11
0
[LLVMdev] Adding function call in LLVM IR using IRBuilder causes assertion error
...Alloca(argit->getType());
> args.push_back(allocInst);
> }
> builder.CreateCall(f,args.begin(),args.end());
> }
>
> This seems to work for functions without parameters (eg. int foo()), but
> once a function has a parameter I get the following assertion error:
> <llvmpath>/lib/VMCore/Instructions.cpp:297: void
> llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int):
> Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i) ==
> Params[i]->getType()) && "Calling a function with a bad signature!"' fail...
2016 Jun 29
2
avx512 JIT backend generates wrong code on <4 x float>
...'. Those should be SIMD vector
instructions. Note that the KNL has 16 wide float SIMD, while the
exploit module uses only 4. However, the backend should be able to
handle this.
Unless I receive further ideas I will file an official bug report.
Frank
-------------- next part --------------
LLVMPATH=/home/fwinter/toolchain/install/llvm-3.8-recent
LLVMCONF=$(LLVMPATH)/bin/llvm-config
CXXFLAGS=$(shell $(LLVMCONF) --cxxflags)
LIBS=$(shell $(LLVMCONF) --libs core mcjit native scalaropts vectorize irreader linker) -ldl
LDFLAGS=$(shell $(LLVMCONF) --ldflags)
CXX=g++
OBJS=main.o
TARGET=main
all...