Lines Matching refs:castToCStr
712 Value *llvm::castToCStr(Value *V, IRBuilder<> &B) {
727 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), "strlen");
746 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr");
764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp");
782 B.CreateCall(StrCpy, {castToCStr(Dst, B), castToCStr(Src, B)}, Name);
799 StrNCpy, {castToCStr(Dst, B), castToCStr(Src, B), Len}, "strncpy");
820 Dst = castToCStr(Dst, B);
821 Src = castToCStr(Src, B);
839 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, "memchr");
859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp");
943 CallInst *CI = B.CreateCall(PutS, castToCStr(Str, B), "puts");
979 CallInst *CI = B.CreateCall(F, {castToCStr(Str, B), File}, "fputs");
1001 B.CreateCall(F, {castToCStr(Ptr, B), Size,