Home
last modified time | relevance | path

Searched refs:LengthArg (Results 1 – 3 of 3) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp202 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in optimizeStrNCat() local
203 Len = LengthArg->getZExtValue(); in optimizeStrNCat()
335 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))) in optimizeStrNCmp() local
336 Length = LengthArg->getZExtValue(); in optimizeStrNCmp()
427 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(LenOp)) in optimizeStrNCpy() local
428 Len = LengthArg->getZExtValue(); in optimizeStrNCpy()