Lines Matching defs:MemProfiler
1 //===- MemProfiler.cpp - memory allocation and access profiler ------------===//
9 // This file is a part of MemProfiler. Memory accesses are instrumented
17 #include "llvm/Transforms/Instrumentation/MemProfiler.h"
217 class MemProfiler {
219 MemProfiler(Module &M) {
280 MemProfiler Profiler(M);
301 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) {
311 void MemProfiler::instrumentMemIntrinsic(MemIntrinsic *MI) {
328 MemProfiler::isInterestingMemoryAccess(Instruction *I) const {
422 void MemProfiler::instrumentMaskedLoadOrStore(const DataLayout &DL, Value *Mask,
454 void MemProfiler::instrumentMop(Instruction *I, const DataLayout &DL,
481 void MemProfiler::instrumentAddress(Instruction *OrigIns,
562 void MemProfiler::initializeCallbacks(Module &M) {
583 bool MemProfiler::maybeInsertMemProfInitAtFunctionEntry(Function &F) {
601 bool MemProfiler::insertDynamicShadowAtFunctionEntry(Function &F) {
611 bool MemProfiler::instrumentFunction(Function &F) {