Home
last modified time | relevance | path

Searched refs:IsWrite (Results 1 – 4 of 4) sorted by relevance

/trueos/contrib/llvm/lib/Transforms/Instrumentation/
HDAddressSanitizer.cpp305 Value *Addr, uint32_t TypeSize, bool IsWrite,
310 bool IsWrite, size_t AccessSizeIndex,
315 Instruction *InsertBefore, bool IsWrite);
607 Value *Addr, Value *Size, Instruction *InsertBefore, bool IsWrite) { in instrumentMemIntrinsicParam() argument
612 instrumentAddress(OrigIns, InsertBefore, Addr, 8, IsWrite, Size); in instrumentMemIntrinsicParam()
618 instrumentAddress(OrigIns, InsertBefore, AddrLast, 8, IsWrite, Size); in instrumentMemIntrinsicParam()
649 static Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite) { in isInterestingMemoryAccess() argument
652 *IsWrite = false; in isInterestingMemoryAccess()
657 *IsWrite = true; in isInterestingMemoryAccess()
662 *IsWrite = true; in isInterestingMemoryAccess()
[all …]
HDThreadSanitizer.cpp395 bool IsWrite = isa<StoreInst>(*I); in instrumentLoadOrStore() local
396 Value *Addr = IsWrite in instrumentLoadOrStore()
402 if (IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
415 if (!IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
421 Value *OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
423 if (IsWrite) NumInstrumentedWrites++; in instrumentLoadOrStore()
/trueos/contrib/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp3283 bool IsWrite = Access.getInt(); in canCheckPtrAtRT() local
3286 if (!IsWrite && Accesses.count(MemAccessInfo(Ptr, true))) in canCheckPtrAtRT()
3289 if (IsWrite) in canCheckPtrAtRT()
3311 RtCheck.insert(SE, TheLoop, Ptr, IsWrite, DepId); in canCheckPtrAtRT()
3367 bool IsWrite = Access.getInt(); in processMemAccesses() local
3376 bool IsReadOnlyPtr = ReadOnlyPtr.count(Ptr) && !IsWrite; in processMemAccesses()
3400 if ((IsWrite && !isFunctionScopeIdentifiedObject(UnderlyingObj)) || in processMemAccesses()
3401 (!IsWrite && (!AreAllWritesIdentified || in processMemAccesses()
3405 (IsWrite ? "write" : "read" ) << " ptr: " << *UnderlyingObj << in processMemAccesses()
3411 if (IsWrite) in processMemAccesses()
[all …]
/trueos/contrib/llvm/lib/Target/SystemZ/
HDSystemZISelLowering.cpp2095 bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in lowerPREFETCH() local
2096 unsigned Code = IsWrite ? SystemZ::PFD_WRITE : SystemZ::PFD_READ; in lowerPREFETCH()