Searched refs:CopySize (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 782 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() local 783 if (CopySize == 0 || M->isVolatile()) return false; in processMemCpy() 797 Builder.CreateMemSet(M->getRawDest(), ByteVal, CopySize, in processMemCpy() 813 return processMemCpyMemCpyDependence(M, MDep, CopySize->getZExtValue()); in processMemCpy() 817 CopySize->getZExtValue(), C)) { in processMemCpy()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 1117 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() local 1121 if (!MemSetSize || CopySize->getZExtValue() > MemSetSize->getZExtValue()) in performMemCpyToMemSetOptzn() 1126 CopySize, MemCpy->getAlignment()); in performMemCpyToMemSetOptzn() 1169 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy() local 1170 if (!CopySize) return false; in processMemCpy() 1182 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy() 1207 if (LTSize->getZExtValue() >= CopySize->getZExtValue()) in processMemCpy()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 2998 Value *CopySize = in finalizeInstrumentation() local 3001 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 3002 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation() 3114 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() local 3120 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 3121 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation() 3136 IRB.CreateMemCpy(RegSaveAreaShadowPtr, VAArgTLSCopy, CopySize, 8); in finalizeInstrumentation() 3295 Value *CopySize = in finalizeInstrumentation() local 3298 VAArgTLSCopy = IRB.CreateAlloca(Type::getInt8Ty(*MS.C), CopySize); in finalizeInstrumentation() 3299 IRB.CreateMemCpy(VAArgTLSCopy, MS.VAArgTLS, CopySize, 8); in finalizeInstrumentation() [all …]
|
/external/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 34 size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size(); in input() local 35 memcpy((void *)Val, Scalar.data(), CopySize); in input()
|