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"
240 class MemProfiler {
242 MemProfiler(Module &M) {
305 MemProfiler Profiler(M);
322 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) {
332 void MemProfiler::instrumentMemIntrinsic(MemIntrinsic *MI) {
349 MemProfiler::isInterestingMemoryAccess(Instruction *I) const {
443 void MemProfiler::instrumentMaskedLoadOrStore(const DataLayout &DL, Value *Mask,
475 void MemProfiler::instrumentMop(Instruction *I, const DataLayout &DL,
502 void MemProfiler::instrumentAddress(Instruction *OrigIns,
606 void MemProfiler::initializeCallbacks(Module &M) {
627 bool MemProfiler::maybeInsertMemProfInitAtFunctionEntry(Function &F) {
645 bool MemProfiler::insertDynamicShadowAtFunctionEntry(Function &F) {
655 bool MemProfiler::instrumentFunction(Function &F) {