Searched refs:IsWrite (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp617 /// and set IsWrite/Alignment. Otherwise return nullptr.
620 Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
628 Value *Addr, uint32_t TypeSize, bool IsWrite,
632 uint32_t TypeSize, bool IsWrite,
638 bool IsWrite, size_t AccessSizeIndex,
1345 bool *IsWrite,
1360 *IsWrite = false;
1366 *IsWrite = true;
1372 *IsWrite = true;
1378 *IsWrite
1344 isInterestingMemoryAccess(Instruction *I, bool *IsWrite, uint64_t *TypeSize, unsigned *Alignment, Value **MaybeMask) argument
1492 doInstrumentAddress(AddressSanitizer *Pass, Instruction *I, Instruction *InsertBefore, Value *Addr, unsigned Alignment, unsigned Granularity, uint32_t TypeSize, bool IsWrite, Value *SizeArgument, bool UseCalls, uint32_t Exp) argument
1509 instrumentMaskedLoadOrStore(AddressSanitizer *Pass, const DataLayout &DL, Type *IntptrTy, Value *Mask, Instruction *I, Value *Addr, unsigned Alignment, unsigned Granularity, uint32_t TypeSize, bool IsWrite, Value *SizeArgument, bool UseCalls, uint32_t Exp) argument
1551 bool IsWrite = false; local
1608 generateCrashCode(Instruction *InsertBefore, Value *Addr, bool IsWrite, size_t AccessSizeIndex, Value *SizeArgument, uint32_t Exp) argument
1657 instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, bool IsWrite, Value *SizeArgument, bool UseCalls, uint32_t Exp) argument
1739 instrumentUnusualSizeOrAlignment( Instruction *I, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, bool IsWrite, Value *SizeArgument, bool UseCalls, uint32_t Exp) argument
2651 bool IsWrite; local
[all...]
H A DHWAddressSanitizer.cpp210 void instrumentMemAccessInline(Value *Ptr, bool IsWrite,
215 Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
504 bool *IsWrite,
519 *IsWrite = false;
525 *IsWrite = true;
531 *IsWrite = true;
537 *IsWrite = true;
607 void HWAddressSanitizer::instrumentMemAccessInline(Value *Ptr, bool IsWrite, argument
610 const int64_t AccessInfo = Recover * 0x20 + IsWrite * 0x10 + AccessSizeIndex;
718 bool IsWrite local
503 isInterestingMemoryAccess(Instruction *I, bool *IsWrite, uint64_t *TypeSize, unsigned *Alignment, Value **MaybeMask) argument
1119 bool IsWrite; local
[all...]
H A DThreadSanitizer.cpp522 bool IsWrite = isa<StoreInst>(*I); local
523 Value *Addr = IsWrite
536 if (IsWrite && isVtableAccess(I)) {
554 if (!IsWrite && isVtableAccess(I)) {
560 const unsigned Alignment = IsWrite
567 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx];
569 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx];
571 if (IsWrite) NumInstrumentedWrites++;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h207 DCHECK_EQ(kAccessIsWrite, IsWrite());
257 bool ALWAYS_INLINE IsWrite() const { return !IsRead(); } function in class:__tsan::Shadow
286 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic));
294 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite));
302 (IsAtomic() == kIsAtomic && !IsWrite() >= !kIsWrite));
H A Dtsan_rtl_report.cpp174 mop->write = s.IsWrite();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp688 bool IsWrite = Access.getInt(); local
689 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE);
725 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true)); local
726 MemAccessInfo Access(Ptr, IsWrite);
728 if (IsWrite)
867 bool IsWrite = AC.getInt(); local
871 bool IsReadOnlyPtr = ReadOnlyPtr.count(Ptr) && !IsWrite;
876 assert(((IsReadOnlyPtr && UseDeferred) || IsWrite ||
880 MemAccessInfo Access(Ptr, IsWrite);
887 // "a[b[i]] +="). Hence, we need the second check for "!IsWrite"
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp4065 bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); local
4066 unsigned Code = IsWrite ? SystemZ::PFD_WRITE : SystemZ::PFD_READ;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp2492 unsigned IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); local
2508 unsigned PrfOp = (IsWrite << 4) | // Load/Store bit

Completed in 357 milliseconds