Lines Matching refs:CastToCStr
29 Value *llvm::CastToCStr(Value *V, IRBuilder<> &B) { in CastToCStr() function in llvm
51 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen()
78 StrChr, {CastToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr"); in EmitStrChr()
102 StrNCmp, {CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), Len}, "strncmp"); in EmitStrNCmp()
127 B.CreateCall(StrCpy, {CastToCStr(Dst, B), CastToCStr(Src, B)}, Name); in EmitStrCpy()
152 StrNCpy, {CastToCStr(Dst, B), CastToCStr(Src, B), Len}, "strncpy"); in EmitStrNCpy()
176 Dst = CastToCStr(Dst, B); in EmitMemCpyChk()
177 Src = CastToCStr(Src, B); in EmitMemCpyChk()
199 CallInst *CI = B.CreateCall(MemChr, {CastToCStr(Ptr, B), Val, Len}, "memchr"); in EmitMemChr()
225 MemCmp, {CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), Len}, "memcmp"); in EmitMemCmp()
329 CallInst *CI = B.CreateCall(PutS, CastToCStr(Str, B), "puts"); in EmitPutS()
393 CallInst *CI = B.CreateCall(F, {CastToCStr(Str, B), File}, "fputs"); in EmitFPutS()
427 B.CreateCall(F, {CastToCStr(Ptr, B), Size, in EmitFWrite()