llvm::Value * Instructions::lit(llvm::Value *in)
{
-#if 1
+#if 0
printVector(in);
return in;
m_llvmLit = makeLitFunction(m_mod);
}
CallInst *call = new CallInst(m_llvmLit, in, name("litres"), m_block);
- //call->setCallingConv(CallingConv::C);
+ call->setCallingConv(CallingConv::C);
call->setTailCall(false);
return call;
#endif
call->setCallingConv(CallingConv::C);
call->setTailCall(true);
}
-
-llvm::Value * Instructions::swizzleWrite(llvm::Value *in, int mask)
-{
-
-}
llvm::Value *rcp(llvm::Value *in);
llvm::Value *rsq(llvm::Value *in);
llvm::Value *sub(llvm::Value *in1, llvm::Value *in2);
- llvm::Value *swizzleWrite(llvm::Value *in, int mask);
void printVector(llvm::Value *val);
private: