Lines Matching refs:ThreadSanitizer
84 struct ThreadSanitizer : public FunctionPass { struct
85 ThreadSanitizer() : FunctionPass(ID) {} in ThreadSanitizer() function
127 char ThreadSanitizer::ID = 0;
129 ThreadSanitizer, "tsan",
134 ThreadSanitizer, "tsan", in INITIALIZE_PASS_DEPENDENCY()
138 const char *ThreadSanitizer::getPassName() const { in INITIALIZE_PASS_DEPENDENCY()
142 void ThreadSanitizer::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
147 return new ThreadSanitizer(); in createThreadSanitizerPass()
150 void ThreadSanitizer::initializeCallbacks(Module &M) { in initializeCallbacks()
242 bool ThreadSanitizer::doInitialization(Module &M) { in doInitialization()
291 bool ThreadSanitizer::addrPointsToConstantData(Value *Addr) { in addrPointsToConstantData()
324 void ThreadSanitizer::chooseInstructionsToInstrument( in chooseInstructionsToInstrument()
380 bool ThreadSanitizer::runOnFunction(Function &F) { in runOnFunction()
458 bool ThreadSanitizer::instrumentLoadOrStore(Instruction *I, in instrumentLoadOrStore()
533 bool ThreadSanitizer::instrumentMemIntrinsic(Instruction *I) { in instrumentMemIntrinsic()
566 bool ThreadSanitizer::instrumentAtomic(Instruction *I, const DataLayout &DL) { in instrumentAtomic()
663 int ThreadSanitizer::getMemoryAccessFuncIndex(Value *Addr, in getMemoryAccessFuncIndex()