Home
last modified time | relevance | path

Searched refs:StoredValue (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp403 Value *StoredValue = nullptr; in run() local
411 if (StoredValue) { in run()
412 replaceLoadWithValue(L, StoredValue); in run()
413 L->replaceAllUsesWith(StoredValue); in run()
414 ReplacedLoads[L] = StoredValue; in run()
427 StoredValue = SI->getOperand(0); in run()
432 assert(StoredValue && "Already checked that there is a store in block"); in run()
433 SSA.AddAvailableValue(BB, StoredValue); in run()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp418 Value *StoredValue = cast<StoreInst>(I)->getValueOperand(); in instrumentLoadOrStore() local
422 if (isa<VectorType>(StoredValue->getType())) in instrumentLoadOrStore()
423 StoredValue = IRB.CreateExtractElement( in instrumentLoadOrStore()
424 StoredValue, ConstantInt::get(IRB.getInt32Ty(), 0)); in instrumentLoadOrStore()
425 if (StoredValue->getType()->isIntegerTy()) in instrumentLoadOrStore()
426 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore()
430 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore()