Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp122 std::string FuncName(unsigned AccessSize, bool IsWrite) { in FuncName() argument
123 return std::string("__asan_report_") + (IsWrite ? "store" : "load") + in FuncName()
219 bool IsWrite,
223 bool IsWrite,
230 void InstrumentMemOperand(X86Operand &Op, unsigned AccessSize, bool IsWrite,
289 X86Operand &Op, unsigned AccessSize, bool IsWrite, in InstrumentMemOperand() argument
296 InstrumentMemOperandSmall(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand()
298 InstrumentMemOperandLarge(Op, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMemOperand()
421 const bool IsWrite = MII.get(Inst.getOpcode()).mayStore(); in InstrumentMOV() local
434 InstrumentMemOperand(MemOp, AccessSize, IsWrite, RegCtx, Ctx, Out); in InstrumentMOV()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp407 Value *isInterestingMemoryAccess(Instruction *I, bool *IsWrite,
414 Value *Addr, uint32_t TypeSize, bool IsWrite,
417 uint32_t TypeSize, bool IsWrite,
423 bool IsWrite, size_t AccessSizeIndex,
828 bool *IsWrite, in isInterestingMemoryAccess() argument
838 *IsWrite = false; in isInterestingMemoryAccess()
844 *IsWrite = true; in isInterestingMemoryAccess()
850 *IsWrite = true; in isInterestingMemoryAccess()
856 *IsWrite = true; in isInterestingMemoryAccess()
915 bool IsWrite = false; in instrumentMop() local
[all …]
DThreadSanitizer.cpp404 bool IsWrite = isa<StoreInst>(*I); in instrumentLoadOrStore() local
405 Value *Addr = IsWrite in instrumentLoadOrStore()
411 if (IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
429 if (!IsWrite && isVtableAccess(I)) { in instrumentLoadOrStore()
435 const unsigned Alignment = IsWrite in instrumentLoadOrStore()
442 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
444 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
446 if (IsWrite) NumInstrumentedWrites++; in instrumentLoadOrStore()
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp315 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true)); in canCheckPtrAtRT() local
316 MemAccessInfo Access(Ptr, IsWrite); in canCheckPtrAtRT()
318 if (IsWrite) in canCheckPtrAtRT()
341 RtCheck.insert(SE, TheLoop, Ptr, IsWrite, DepId, ASId, StridesMap); in canCheckPtrAtRT()
438 bool IsWrite = AC.getInt(); in processMemAccesses() local
442 bool IsReadOnlyPtr = ReadOnlyPtr.count(Ptr) && !IsWrite; in processMemAccesses()
447 assert(((IsReadOnlyPtr && UseDeferred) || IsWrite || in processMemAccesses()
451 MemAccessInfo Access(Ptr, IsWrite); in processMemAccesses()
468 if ((IsWrite || IsReadOnlyPtr) && SetHasWrite) { in processMemAccesses()
473 if (IsWrite) in processMemAccesses()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h199 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
249 bool ALWAYS_INLINE IsWrite() const { return !IsRead(); } in IsWrite() function
278 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic()
286 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker()
294 (IsAtomic() == kIsAtomic && !IsWrite() >= !kIsWrite)); in IsRWWeakerOrEqual()
Dtsan_rtl_report.cc166 mop->write = s.IsWrite(); in AddMemoryAccess()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc28 EXPECT_EQ(s.IsWrite(), true); in TEST()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsio0.c1020 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromIOhandler2THR()
1048 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromFileTHR()
1082 NewIcc -> IsWrite = TRUE; in cmsOpenProfileFromStreamTHR()
1398 if (Icc ->IsWrite) { in cmsCloseProfile()
1400 Icc ->IsWrite = FALSE; // Assure no further writting in cmsCloseProfile()
Dlcms2_internal.h738 cmsBool IsWrite; member
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2658 bool IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in lowerPREFETCH() local
2659 unsigned Code = IsWrite ? SystemZ::PFD_WRITE : SystemZ::PFD_READ; in lowerPREFETCH()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1511 unsigned IsWrite = cast<ConstantSDNode>(Op.getOperand(2))->getZExtValue(); in LowerPREFETCH() local
1527 unsigned PrfOp = (IsWrite << 4) | // Load/Store bit in LowerPREFETCH()