Lines Matching full:instrument
90 static cl::opt<bool> ClInstrumentReads("memprof-instrument-reads",
91 cl::desc("instrument read instructions"),
95 ClInstrumentWrites("memprof-instrument-writes",
96 cl::desc("instrument write instructions"), cl::Hidden,
100 "memprof-instrument-atomics",
101 cl::desc("instrument atomic instructions (rmw, cmpxchg)"), cl::Hidden,
127 static cl::opt<bool> ClStack("memprof-instrument-stack",
128 cl::desc("Instrument scalar stack variables"),
216 /// Instrument the code in module to profile memory accesses.
310 // Instrument memset/memmove/memcpy
329 // Do not instrument the load fetching the dynamic shadow address. in isInterestingMemoryAccess()
387 // Do not instrument accesses from different address spaces; we cannot deal in isInterestingMemoryAccess()
404 // Do not instrument PGO counter updates. in isInterestingMemoryAccess()
414 // Do not instrument accesses to LLVM internal variables. in isInterestingMemoryAccess()
586 // Therefore we need to instrument such methods with a call to __memprof_init in maybeInsertMemProfInitAtFunctionEntry()
633 // Fill the set of memory operations to instrument. in instrumentFunction()