Displaying 1 result from an estimated 1 matches for "functionargu".
Did you mean:
functionargs
2008 May 22
4
[LLVMdev] SSE intrinsic alignment bug?
...e "llvm/Support/LLVMBuilder.h"
using namespace llvm;
static Function *createFunction(Module *module)
{
VectorType *float4Type = VectorType::get(Type::FloatTy, 4);
PointerType *float4PointerType = PointerType::get(float4Type, 0);
std::vector<const Type*> functionArguments;
functionArguments.push_back(float4PointerType);
functionArguments.push_back(float4PointerType);
FunctionType *functionType = FunctionType::get(Type::VoidTy,
functionArguments, false);
Function *function = new Function(functionType,
GlobalValue::InternalLinkage,...