Home | History | Annotate | Download | only in Utils

Lines Matching refs:CastToCStr

28 /// CastToCStr - Return V if it is an i8*, otherwise cast it to i8*.
29 Value *llvm::CastToCStr(Value *V, IRBuilder<> &B) {
54 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
84 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen");
111 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B),
141 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B),
142 CastToCStr(Ptr2, B), Len, "strncmp");
167 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B),
193 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B),
221 Dst = CastToCStr(Dst, B);
222 Src = CastToCStr(Src, B);
250 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr");
280 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B),
357 CallInst *CI = B.CreateCall(PutS, CastToCStr(Str, B), "puts");
421 CallInst *CI = B.CreateCall2(F, CastToCStr(Str, B), File, "fputs");
459 CallInst *CI = B.CreateCall4(F, CastToCStr(Ptr, B), Size,