Displaying 2 results from an estimated 2 matches for "fslice".
Did you mean:
slice
2016 Aug 25
2
InstList insert depreciated?
...ollowing:
To insert an instruction immediately after the first instruction
within a basic block, I first get all instructions in my basic block
in an instruction container list. Once that is done, I insert my new
instruction in the instruction container list using InstList.insert().
// code
void FSliceModulePass::allocaVSetArray(void) {
auto &B = F->getEntryBlock();
auto &IList = B.getInstList();
auto &FirstI = *IList.begin();
auto TaintVar = new AllocaInst(IntPtrTy, FirstI);
IList.insert(FirstI, TaintVar); // ERROR
After migrating to 3.8.1, It gives me the following...
2016 Mar 29
1
llvm isTokenTy() deprecated?
Hi,
I am trying to process the typeID from a type as follows:
Type *T;
if(T->isTokenTy()){
std::cout << "Token Type";
}
/home/shehbaz/courses/ece1781/project/fslice/plugin/FSlice.cpp:147:14:
error: ‘class llvm::Type’ has no member named ‘isTokenTy’
else if(T->isTokenTy())
^
I am successfully able to do this for all other 20-25 types mentioned here:
http://llvm.org/docs/doxygen/html/classllvm_1_1Type.html#a5e9e1c0dd93557be1b4ad72860f3cbda...