Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp211 bool IsWrite,
215 bool IsWrite,
222 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite,
280 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand() argument
287 InstrumentMemOperandSmall(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand()
289 InstrumentMemOperandLarge(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand()
412 const bool IsWrite = MII.get(Inst.getOpcode()).mayStore(); in InstrumentMOV() local
425 InstrumentMemOperand(MemOp, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMOV()
582 bool IsWrite,
587 bool IsWrite,
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp480 Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
486 Value *Addr, uint32_t TypeSize, bool IsWrite,
489 uint32_t TypeSize, bool IsWrite,
495 bool IsWrite, size_t AccessSizeIndex,
938 bool *IsWrite, in isInterestingMemoryAccess() argument
948 *IsWrite = false; in isInterestingMemoryAccess()
954 *IsWrite = true; in isInterestingMemoryAccess()
960 *IsWrite = true; in isInterestingMemoryAccess()
966 *IsWrite = true; in isInterestingMemoryAccess()
1031 bool IsWrite = false; in instrumentMop() local
[all …]
DThreadSanitizer.cpp461 bool IsWrite = isa<StoreInst>(*I); in instrumentLoadOrStore() local
462 Value *Addr = IsWrite in instrumentLoadOrStore()
468 if (IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
486 if (!IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
492 const unsigned Alignment = IsWrite in instrumentLoadOrStore()
499 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
501 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
503 if (IsWrite) NumInstrumentedWrites++; in instrumentLoadOrStore()
/external/compiler-rt/lib/esan/
Desan.cpp65 void processRangeAccess(uptr PC, uptr Addr, int Size, bool IsWrite) { in processRangeAccess() argument
67 IsWrite ? 'w' : 'r', Addr, Size); in processRangeAccess()
72 processRangeAccessWorkingSet(PC, Addr, Size, IsWrite); in processRangeAccess()
Dworking_set.h28 bool IsWrite);
Desan.h45 void processRangeAccess(uptr PC, uptr Addr, int Size, bool IsWrite);
Dworking_set.cpp82 bool IsWrite) { in processRangeAccessWorkingSet() argument
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h200 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
250 bool ALWAYS_INLINE IsWrite() const { return !IsRead(); } in IsWrite() function
279 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic()
287 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker()
295 (IsAtomic() == kIsAtomic && !IsWrite() >= !kIsWrite)); in IsRWWeakerOrEqual()
Dtsan_rtl_report.cc171 mop->write = s.IsWrite(); in AddMemoryAccess()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp609 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true)); in canCheckPtrAtRT() local
610 MemAccessInfo Access(Ptr, IsWrite); in canCheckPtrAtRT()
612 if (IsWrite) in canCheckPtrAtRT()
634 RtCheck.insert(TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap, PSE); in canCheckPtrAtRT()
749 bool IsWrite = AC.getInt(); in processMemAccesses() local
753 bool IsReadOnlyPtr = ReadOnlyPtr.count(Ptr) && !IsWrite; in processMemAccesses()
758 assert(((IsReadOnlyPtr && UseDeferred) || IsWrite || in processMemAccesses()
762 MemAccessInfo Access(Ptr, IsWrite); in processMemAccesses()
779 if ((IsWrite || IsReadOnlyPtr) && SetHasWrite) { in processMemAccesses()
784 if (IsWrite) in processMemAccesses()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc28 EXPECT_EQ(s.IsWrite(), true); in TEST()
/external/pdfium/third_party/lcms/src/
Dcmsio0.c1074 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromIOhandler2THR()
1102 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromFileTHR()
1136 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromStreamTHR()
1461 if (Icc ->IsWrite) { in cmsCloseProfile()
1463 Icc ->IsWrite = FALSE; // Assure no further writting in cmsCloseProfile()
Dlcms2_internal.h751 cmsBool IsWrite; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp3402 bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in lowerPREFETCH() local
3403 unsigned Code = IsWrite ? SystemZ::PFD_WRITE : SystemZ::PFD_READ; in lowerPREFETCH()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1864 unsigned IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in LowerPREFETCH() local
1880 unsigned PrfOp = (IsWrite << 4) | // Load/Store bit in LowerPREFETCH()