search for: op_l

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

Did you mean: op_
2018 Jan 04
0
writing llvm pass to instrument read and write
...ve written llvm pass to instrument all reads and writes in test.cpp and call function(recordRW) in testlib.so. this is how my pass looks like - for (auto &BB : F) { for (auto &I : BB) { // Is this a load or store? Get the address. Value *Ptr = nullptr; Value *op_l = nullptr; Value *op_s = nullptr; if (auto *LI = dyn_cast<LoadInst>(&I)) { Ptr = LI->getPointerOperand(); Constant* read = ConstantInt::get(Type::getInt32Ty(M.getContext()), 0); instrument_access(Ptr, &(*LI), read, M);...
2018 Jan 04
0
writing llvm pass for external library
...ve written llvm pass to instrument all reads and writes in test.cpp and call function(recordRW) in testlib.so. this is how my pass looks like - for (auto &BB : F) { for (auto &I : BB) { // Is this a load or store? Get the address. Value *Ptr = nullptr; Value *op_l = nullptr; Value *op_s = nullptr; if (auto *LI = dyn_cast<LoadInst>(&I)) { Ptr = LI->getPointerOperand(); Constant* read = ConstantInt::get(Type::getInt32Ty(M.getContext()), 0); instrument_access(Ptr, &(*LI), read, M);...