search for: mapptr

Displaying 2 results from an estimated 2 matches for "mapptr".

Did you mean: mapper
2019 Jul 03
2
optimisation issue in an llvm IR pass
...c -> Below now is the full llvm IR pass code // vvv same code before both variants LoadInst *PrevLoc = IRB.CreateLoad(AFLPrevLoc); PrevLoc->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None)); Value *PrevLocCasted = IRB.CreateZExt(PrevLoc, IRB.getInt32Ty()); LoadInst *MapPtr = IRB.CreateLoad(AFLMapPtr); MapPtr->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None)); Value *MapPtrIdx = IRB.CreateGEP(MapPtr, IRB.CreateXor(PrevLocCasted, CurLoc)); LoadInst *Counter = IRB.CreateLoad(MapPtrIdx); Counter->setMetadata(M.getMDKindID("nosanitize&qu...
2019 Jul 03
3
optimisation issue in an llvm IR pass
...> // vvv same code before both variants > LoadInst *PrevLoc = IRB.CreateLoad(AFLPrevLoc); > PrevLoc->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None)); > Value *PrevLocCasted = IRB.CreateZExt(PrevLoc, IRB.getInt32Ty()); > >  LoadInst *MapPtr = IRB.CreateLoad(AFLMapPtr); > MapPtr->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None)); > Value *MapPtrIdx = IRB.CreateGEP(MapPtr, IRB.CreateXor(PrevLocCasted, > CurLoc)); > > LoadInst *Counter = IRB.CreateLoad(MapPtrIdx); > Counter...