search for: fdp_fatvector

Displaying 1 result from an estimated 1 matches for "fdp_fatvector".

2016 Jun 28
0
mutateType on AllocaInst problem
...unning on each alloca instructions from each function given to the function pass: void __replace_alloca_vector_IRBuilder(AllocaInst *AI) { if(AI->getAllocatedType()->isPointerTy()){ LLVMContext *Context = &(AI->getContext()); IRBuilder<> IRB(*Context); VectorType *FDP_fatvector = VectorType::get( PointerType::getInt8PtrTy(*Context), 3 ); // two different ways depending on wether to create and insert or just create // AllocaInst *FDP_AI = new AllocaInst(cast<Type>(FDP_fatvector)); IRB.SetInsertPoint(AI); AllocaInst *FDP_AI = IRB.Creat...