search for: makevector

Displaying 5 results from an estimated 5 matches for "makevector".

2007 Jul 20
5
[LLVMdev] Seg faulting on vector ops
.../DynamicLibrary.h" #include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/Support/ManagedStatic.h" #include <iostream> using namespace llvm; Value* makeVector(Value* s, unsigned int dim, BasicBlock* basicBlock) { AllocaInst* pV = new AllocaInst(VectorType::get(Type::FloatTy,dim),"pv",basicBlock); Value* v = new LoadInst(pV,"v",basicBlock); for (unsigned int i = 0 ; i < dim ; ++i) v = new InsertElementIns...
2007 Jul 21
0
[LLVMdev] Seg faulting on vector ops
...JIT.h" > > #include "llvm/ExecutionEngine/Interpreter.h" > > #include "llvm/ExecutionEngine/GenericValue.h" > > #include "llvm/Support/ManagedStatic.h" > > #include <iostream> > > using namespace llvm; > > > > Value* makeVector(Value* s, unsigned int dim, BasicBlock* basicBlock) > > { > > AllocaInst* pV = new > AllocaInst(VectorType::get(Type::FloatTy,dim),"pv",basicBlock); > > Value* v = new LoadInst(pV,"v",basicBlock); > > > > for (unsigned int i = 0 ; i <...
2007 Jul 24
2
[LLVMdev] Seg faulting on vector ops
...ionEngine/Interpreter.h" >> >> #include "llvm/ExecutionEngine/GenericValue.h" >> >> #include "llvm/Support/ManagedStatic.h" >> >> #include <iostream> >> >> using namespace llvm; >> >> >> >> Value* makeVector(Value* s, unsigned int dim, BasicBlock* basicBlock) >> >> { >> >> AllocaInst* pV = new >> AllocaInst(VectorType::get(Type::FloatTy,dim),"pv",basicBlock); >> >> Value* v = new LoadInst(pV,"v",basicBlock); >> >> >>...
2007 Jul 20
0
[LLVMdev] Seg faulting on vector ops
...JIT.h" > > #include "llvm/ExecutionEngine/Interpreter.h" > > #include "llvm/ExecutionEngine/GenericValue.h" > > #include "llvm/Support/ManagedStatic.h" > > #include <iostream> > > using namespace llvm; > > > > Value* makeVector(Value* s, unsigned int dim, BasicBlock* basicBlock) > > { > > AllocaInst* pV = new AllocaInst(VectorType::get > (Type::FloatTy,dim),"pv",basicBlock); > > Value* v = new LoadInst(pV,"v",basicBlock); > > > > for (unsigned int i = 0 ; i...
2007 Jul 26
0
[LLVMdev] Seg faulting on vector ops
...gt;> #include "llvm/ExecutionEngine/GenericValue.h" >>> >>> #include "llvm/Support/ManagedStatic.h" >>> >>> #include <iostream> >>> >>> using namespace llvm; >>> >>> >>> >>> Value* makeVector(Value* s, unsigned int dim, BasicBlock* >>> basicBlock) >>> >>> { >>> >>> AllocaInst* pV = new >>> AllocaInst(VectorType::get(Type::FloatTy,dim),"pv",basicBlock); >>> >>> Value* v = new LoadInst(pV,"v&quo...