Home | History | Annotate | Download | only in Target

Lines Matching full:strlen

261 having this blocks Loop Idiom from matching strlen and friends.  
708 example, it is useful to merge memcpy(a,b,strlen(b)) -> strcpy. This can only
709 be done safely if "b" isn't modified between the strlen and memcpy of course.
1323 %strlen = call i32 @strlen(i8* %3072) ; uses = 1
1324 %endptr = getelementptr [100 x i8]* %tempString, i32 0, i32 %strlen
1327 %3074 = call i32 @strlen(i8* %endptr) nounwind readonly
1331 The memcpy+strlen strlen can be replaced with:
1333 %3074 = call i32 @strlen([5 x i8]* @"\01LC42") nounwind readonly
1342 %3167 = call i32 @strlen(i8* %endptr69) nounwind readonly
1347 Further, eon also has an interesting partially redundant strlen call:
1357 %686 = call i32 @strlen(i8* %683) nounwind readonly
1362 %688 = call i32 @strlen(i8* %683) nounwind readonly
1364 This could be eliminated by doing the strlen once in bb8, saving code size and
1369 I see an interesting fully redundant call to strlen left in 186.crafty:InputMove
1376 %171 = call i32 @strlen(i8* %movetext11) nounwind readonly align 1
1389 %177 = call i32 @strlen(i8* %movetext11) nounwind readonly align 1
1391 Note that on the bb62->bb72 path, that the %177 strlen call is partially
1392 redundant with the %171 call. At worst, we could shove the %177 strlen call
1396 strlen!
1400 A = strlen(P);
1402 B = strlen(P);
1582 static int foo(const char *X) { return strlen(X); }
1885 char *p = malloc(strlen(s)+1);