Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp925 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() local
929 if (!MemSetSize || CopySize->getZExtValue() > MemSetSize->getZExtValue()) in performMemCpyToMemSetOptzn()
934 CopySize, MemCpy->getAlignment()); in performMemCpyToMemSetOptzn()
977 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() local
978 if (!CopySize) return false; in processMemCpy()
990 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy()
1015 if (LTSize->getZExtValue() >= CopySize->getZExtValue()) in processMemCpy()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2897 Value *CopySize = in finalizeInstrumentation() local
2900 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
2901 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation()
3011 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local
3017 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
3018 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation()
3033 IRB.CreateMemCpy(RegSaveAreaShadowPtr, VAArgTLSCopy, CopySize, 8); in finalizeInstrumentation()
3182 Value *CopySize = in finalizeInstrumentation() local
3185 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation()
3186 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation()