HomeSort by relevance Sort by last modified time
    Searched refs:Memset (Results 51 - 57 of 57) sorted by null

1 23

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 103 STATISTIC(NumMemSet, "Number of memset's formed from loop stores");
149 Memset,
281 if (Name == "memset" || Name == "memcpy")
422 // See if the store can be turned into a memset.
425 // turned into a memset of i8 -1, assuming that all the consecutive bytes
426 // are stored. A store of i32 0x01020304 can never be turned into a memset,
431 // Note: memset and memset_pattern on unordered-atomic is yet not supported
434 // If we're allowed to form a memset, and the stored value would be
435 // acceptable for memset, use it.
438 // promote the memset
    [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_test_util_posix.cc 254 MEMSET
364 case Event::MEMSET:
517 void ScopedThread::Memset(void *dst, int val, int size,
519 Event event(Event::MEMSET, dst, val, size);
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 375 // strncpy(x, "", y) -> memset(x, '\0', y, 1)
799 /// Fold memset[_chk](malloc(n), 0, n) --> calloc(1, n).
800 static Value *foldMallocMemset(CallInst *Memset, IRBuilder<> &B,
802 // This has to be a memset of zeros (bzero).
803 auto *FillValue = dyn_cast<ConstantInt>(Memset->getArgOperand(1));
809 // the malloc is checked against null or when a memset intrinsic is used in
810 // place of a memset library call.
811 auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0));
822 // The memset must cover the same number of bytes that are malloc'd.
823 if (Memset->getArgOperand(2) != Malloc->getArgOperand(0)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 421 // strncpy(x, "", y) -> memset(align 1 x, '\0', y)
862 /// Fold memset[_chk](malloc(n), 0, n) --> calloc(1, n).
863 static Value *foldMallocMemset(CallInst *Memset, IRBuilder<> &B,
865 // This has to be a memset of zeros (bzero).
866 auto *FillValue = dyn_cast<ConstantInt>(Memset->getArgOperand(1));
872 // the malloc is checked against null or when a memset intrinsic is used in
873 // place of a memset library call.
874 auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0));
888 // The memset must cover the same number of bytes that are malloc'd.
889 if (Memset->getArgOperand(2) != Malloc->getArgOperand(0)
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceTargetLoweringMIPS32.cpp 796 case Intrinsics::Memset: {
    [all...]
IceTargetLoweringARM32.cpp 760 // In the future, we could potentially emit an inline memcpy/memset, etc.
787 case Intrinsics::Memset: {
796 // memset too. The value and size argument need to be flipped if we ever
    [all...]
IceTargetLoweringX86BaseImpl.h     [all...]

Completed in 968 milliseconds

1 23