Searched refs:CastToCStr (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 27 Value *llvm::CastToCStr(Value *V, IRBuilder<> &B) { in CastToCStr() function in llvm 45 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); in EmitStrLen() 65 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), in EmitStrChr() 88 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B), in EmitStrNCmp() 89 CastToCStr(Ptr2, B), Len, "strncmp"); in EmitStrNCmp() 108 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrCpy() 127 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), in EmitStrNCpy() 150 Dst = CastToCStr(Dst, B); in EmitMemCpyChk() 151 Src = CastToCStr(Src, B); in EmitMemCpyChk() 172 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); in EmitMemChr() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 25 Value *CastToCStr(Value *V, IRBuilder<> &B);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 711 Value *Result = CastToCStr(CI->getArgOperand(0), B); in CallOptimizer() 751 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in CallOptimizer() 753 Value *RHSV = B.CreateZExt(B.CreateLoad(CastToCStr(RHS, B), "rhsc"), in CallOptimizer() 1220 Value *Ptr = CastToCStr(CI->getArgOperand(0), B); in OptimizeFixedFormatString() 1300 Value *Char = B.CreateLoad(CastToCStr(CI->getArgOperand(0), B), "char"); in CallOptimizer()
|