Home
last modified time | relevance | path

Searched refs:SizeTTy (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1620 Type *SizeTTy = getSizeTTy(B, TLI); in emitStrLen() local
1621 return emitLibCall(LibFunc_strlen, SizeTTy, CharPtrTy, Ptr, B, TLI); in emitStrLen()
1629 Type *SizeTTy = getSizeTTy(B, TLI); in emitWcsLen() local
1630 return emitLibCall(LibFunc_wcslen, SizeTTy, PtrTy, Ptr, B, TLI); in emitWcsLen()
1651 Type *SizeTTy = getSizeTTy(B, TLI); in emitStrNCmp() local
1654 {CharPtrTy, CharPtrTy, SizeTTy}, in emitStrNCmp()
1675 Type *SizeTTy = getSizeTTy(B, TLI); in emitStrNCpy() local
1676 return emitLibCall(LibFunc_strncpy, CharPtrTy, {CharPtrTy, CharPtrTy, SizeTTy}, in emitStrNCpy()
1683 Type *SizeTTy = getSizeTTy(B, TLI); in emitStpNCpy() local
1684 return emitLibCall(LibFunc_stpncpy, CharPtrTy, {CharPtrTy, CharPtrTy, SizeTTy}, in emitStpNCpy()
[all …]
H A DSimplifyLibCalls.cpp500 Type *SizeTTy = IntegerType::get(CI->getContext(), SizeTBits); in optimizeStrChr() local
503 ConstantInt::get(SizeTTy, Len), B, in optimizeStrChr()
552 Type *SizeTTy = IntegerType::get(CI->getContext(), SizeTBits); in optimizeStrRChr() local
557 Value *Size = ConstantInt::get(SizeTTy, NBytes); in optimizeStrRChr()
3778 Type *SizeTTy = IntegerType::get(CI->getContext(), SizeTBits); in optimizeFPuts() local
3782 ConstantInt::get(SizeTTy, Len - 1), in optimizeFPuts()
4395 Type *SizeTTy = IntegerType::get(CI->getContext(), SizeTBits); in optimizeStrpCpyChk() local
4396 Value *LenV = ConstantInt::get(SizeTTy, Len); in optimizeStrpCpyChk()
4402 ConstantInt::get(SizeTTy, Len - 1)); in optimizeStrpCpyChk()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp411 Type *SizeTTy = TLI.getSizeTType(*M); in expandMemIntrinsicUses() local
415 Builder.getPtrTy(), SizeTTy); in expandMemIntrinsicUses()
441 Builder.CreateZExtOrTrunc(Memset->getLength(), SizeTTy)); in expandMemIntrinsicUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp2092 Type *SizeTTy = Malloc->getArgOperand(0)->getType(); in tryFoldIntoCalloc() local
2094 emitCalloc(ConstantInt::get(SizeTTy, 1), Malloc->getArgOperand(0), in tryFoldIntoCalloc()