Home
last modified time | relevance | path

Searched refs:castToCStr (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp822 Value *llvm::castToCStr(Value *V, IRBuilder<> &B) { in castToCStr() function in llvm
851 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
857 castToCStr(Ptr, B), B, TLI); in emitStrDup()
865 {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, B, TLI); in emitStrChr()
874 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitStrNCmp()
881 {castToCStr(Dst, B), castToCStr(Src, B)}, B, TLI); in emitStrCpy()
888 {castToCStr(Dst, B), castToCStr(Src, B)}, B, TLI); in emitStpCpy()
895 {castToCStr(Dst, B), castToCStr(Src, B), Len}, B, TLI); in emitStrNCpy()
902 {castToCStr(Dst, B), castToCStr(Src, B), Len}, B, TLI); in emitStpNCpy()
920 Dst = castToCStr(Dst, B); in emitMemCpyChk()
[all …]
DSimplifyLibCalls.cpp880 Value *Result = castToCStr(CI->getArgOperand(0), B); in optimizeStrStr()
999 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(LHS, B), "lhsc"), in optimizeMemCmpConstantSize()
1002 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(RHS, B), "rhsc"), in optimizeMemCmpConstantSize()
2499 Value *Ptr = castToCStr(CI->getArgOperand(0), B); in optimizeSPrintFString()
2613 Value *Ptr = castToCStr(CI->getArgOperand(0), B); in optimizeSnPrintFString()
2754 castToCStr(CI->getArgOperand(0), B), "char"); in optimizeFWrite()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp1007 Value *llvm::castToCStr(Value *V, IRBuilderBase &B) { in castToCStr() function in llvm
1036 B.getInt8PtrTy(), castToCStr(Ptr, B), B, TLI); in emitStrLen()
1042 castToCStr(Ptr, B), B, TLI); in emitStrDup()
1050 {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, B, TLI); in emitStrChr()
1059 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitStrNCmp()
1066 {castToCStr(Dst, B), castToCStr(Src, B)}, B, TLI); in emitStrCpy()
1073 {castToCStr(Dst, B), castToCStr(Src, B)}, B, TLI); in emitStpCpy()
1080 {castToCStr(Dst, B), castToCStr(Src, B), Len}, B, TLI); in emitStrNCpy()
1087 {castToCStr(Dst, B), castToCStr(Src, B), Len}, B, TLI); in emitStpNCpy()
1105 Dst = castToCStr(Dst, B); in emitMemCpyChk()
[all …]
DSimplifyLibCalls.cpp863 Value *Result = castToCStr(CI->getArgOperand(0), B); in optimizeStrStr()
982 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(LHS, B), "lhsc"), in optimizeMemCmpConstantSize()
985 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(RHS, B), "rhsc"), in optimizeMemCmpConstantSize()
2494 Value *Ptr = castToCStr(CI->getArgOperand(0), B); in optimizeSPrintFString()
2632 Value *Ptr = castToCStr(CI->getArgOperand(0), B); in optimizeSnPrintFString()
2773 castToCStr(CI->getArgOperand(0), B), "char"); in optimizeFWrite()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp712 Value *llvm::castToCStr(Value *V, IRBuilder<> &B) { in castToCStr() function in llvm
727 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), "strlen"); in emitStrLen()
746 StrChr, {castToCStr(Ptr, B), ConstantInt::get(I32Ty, C)}, "strchr"); in emitStrChr()
764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp"); in emitStrNCmp()
782 B.CreateCall(StrCpy, {castToCStr(Dst, B), castToCStr(Src, B)}, Name); in emitStrCpy()
799 StrNCpy, {castToCStr(Dst, B), castToCStr(Src, B), Len}, "strncpy"); in emitStrNCpy()
820 Dst = castToCStr(Dst, B); in emitMemCpyChk()
821 Src = castToCStr(Src, B); in emitMemCpyChk()
839 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, "memchr"); in emitMemChr()
859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp"); in emitMemCmp()
[all …]
DSimplifyLibCalls.cpp605 Value *Result = castToCStr(CI->getArgOperand(0), B); in optimizeStrStr()
713 Value *LHSV = B.CreateZExt(B.CreateLoad(castToCStr(LHS, B), "lhsc"), in optimizeMemCmp()
715 Value *RHSV = B.CreateZExt(B.CreateLoad(castToCStr(RHS, B), "rhsc"), in optimizeMemCmp()
1694 Value *Ptr = castToCStr(CI->getArgOperand(0), B); in optimizeSPrintFString()
1828 Value *Char = B.CreateLoad(castToCStr(CI->getArgOperand(0), B), "char"); in optimizeFWrite()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h33 Value *castToCStr(Value *V, IRBuilder<> &B);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h44 Value *castToCStr(Value *V, IRBuilderBase &B);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h45 Value *castToCStr(Value *V, IRBuilder<> &B);