Lines Matching refs:getInt8Ty

176     Value *StrEnd = B.CreateInBoundsGEP(B.getInt8Ty(), StrBeg, Off, "endptr");  in convertStrToInt()
329 Value *CpyDst = B.CreateInBoundsGEP(B.getInt8Ty(), Dst, DstLen, "endptr"); in emitStrLenMemCpy()
392 Type *CharTy = B.getInt8Ty(); in memChrToCharCompare()
451 return B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, StrLen, "strchr"); in optimizeStrChr()
464 return B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, B.getInt64(I), "strchr"); in optimizeStrChr()
504 B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType())); in optimizeStrCmp()
507 return B.CreateZExt(B.CreateLoad(B.getInt8Ty(), Str1P, "strcmpload"), in optimizeStrCmp()
589 B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType())); in optimizeStrNCmp()
592 return B.CreateZExt(B.CreateLoad(B.getInt8Ty(), Str1P, "strcmpload"), in optimizeStrNCmp()
671 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStpCpy()
684 B.getInt8Ty(), Dst, ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy()
918 return B.CreateInBoundsGEP(B.getInt8Ty(), CI->getArgOperand(0), in optimizeStrPBrk()
1028 B.CreateConstInBoundsGEP1_64(B.getInt8Ty(), Result, Offset, "strstr"); in optimizeStrStr()
1058 Value *Val = B.CreateLoad(B.getInt8Ty(), SrcStr, "memrchr.char0"); in optimizeMemRChr()
1060 CharVal = B.CreateTrunc(CharVal, B.getInt8Ty()); in optimizeMemRChr()
1094 return B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, B.getInt64(Pos)); in optimizeMemRChr()
1103 Value *SrcPlus = B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, in optimizeMemRChr()
1118 Type *Int8Ty = B.getInt8Ty(); in optimizeMemRChr()
1153 Value *Val = B.CreateLoad(B.getInt8Ty(), SrcStr, "memchr.char0"); in optimizeMemChr()
1155 CharVal = B.CreateTrunc(CharVal, B.getInt8Ty()); in optimizeMemChr()
1177 Value *SrcPlus = B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, B.getInt64(Pos), in optimizeMemChr()
1204 Type *Int8Ty = B.getInt8Ty(); in optimizeMemChr()
1217 Value *SrcPlus = B.CreateInBoundsGEP(B.getInt8Ty(), SrcStr, PosVal); in optimizeMemChr()
1345 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(LHS, B), "lhsc"), in optimizeMemCmpConstantSize()
1348 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(RHS, B), "rhsc"), in optimizeMemCmpConstantSize()
1487 ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, NewN) in optimizeMemCCpy()
1503 return B.CreateInBoundsGEP(B.getInt8Ty(), Dst, N); in optimizeMemPCpy()
1528 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSet()
2821 Value *V = B.CreateTrunc(CI->getArgOperand(2), B.getInt8Ty(), "char"); in optimizeSPrintFString()
2824 Ptr = B.CreateInBoundsGEP(B.getInt8Ty(), Ptr, B.getInt32(1), "nul"); in optimizeSPrintFString()
2852 Value *PtrDiff = B.CreatePtrDiff(B.getInt8Ty(), V, Dest); in optimizeSPrintFString()
2961 Value *V = B.CreateTrunc(CI->getArgOperand(3), B.getInt8Ty(), "char"); in optimizeSnPrintFString()
2964 Ptr = B.CreateInBoundsGEP(B.getInt8Ty(), Ptr, B.getInt32(1), "nul"); in optimizeSnPrintFString()
3107 Value *Char = B.CreateLoad(B.getInt8Ty(), in optimizeFWrite()
3633 Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false); in optimizeMemSetChk()
3668 return StrLen ? B.CreateInBoundsGEP(B.getInt8Ty(), Dst, StrLen) : nullptr; in optimizeStrpCpyChk()
3703 return B.CreateInBoundsGEP(B.getInt8Ty(), Dst, in optimizeStrpCpyChk()