search for: mapptridx

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

2019 Jul 03
2
optimisation issue in an llvm IR pass
...evLoc); 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"), MDNode::get(C, None)); Value *Incr = IRB.CreateAdd(Counter, ConstantInt::get(Int8Ty, 1)); // ^^^ same code before both varia...
2019 Jul 03
3
optimisation issue in an llvm IR pass
...ndID("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"), MDNode::get(C, None)); > > Value *Incr = IRB.CreateAdd(Counter, ConstantInt::get(I...