Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp201 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in CallOptimizer() local
202 Len = LengthArg->getZExtValue(); in CallOptimizer()
389 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in CallOptimizer() local
390 Length = LengthArg->getZExtValue(); in CallOptimizer()
493 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in CallOptimizer() local
494 Len = LengthArg->getZExtValue(); in CallOptimizer()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp156 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in optimizeStrNCat() local
157 Len = LengthArg->getZExtValue(); in optimizeStrNCat()
289 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in optimizeStrNCmp() local
290 Length = LengthArg->getZExtValue(); in optimizeStrNCmp()
381 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in optimizeStrNCpy() local
382 Len = LengthArg->getZExtValue(); in optimizeStrNCpy()