Home
last modified time | relevance | path

Searched refs:CharPtrTy (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1470 Type *CharPtrTy = B.getPtrTy(); in emitStrLen() local
1472 return emitLibCall(LibFunc_strlen, SizeTTy, CharPtrTy, Ptr, B, TLI); in emitStrLen()
1477 Type *CharPtrTy = B.getPtrTy(); in emitStrDup() local
1478 return emitLibCall(LibFunc_strdup, CharPtrTy, CharPtrTy, Ptr, B, TLI); in emitStrDup()
1483 Type *CharPtrTy = B.getPtrTy(); in emitStrChr() local
1485 return emitLibCall(LibFunc_strchr, CharPtrTy, {CharPtrTy, IntTy}, in emitStrChr()
1491 Type *CharPtrTy = B.getPtrTy(); in emitStrNCmp() local
1496 {CharPtrTy, CharPtrTy, SizeTTy}, in emitStrNCmp()
1502 Type *CharPtrTy = Dst->getType(); in emitStrCpy() local
1503 return emitLibCall(LibFunc_strcpy, CharPtrTy, {CharPtrTy, CharPtrTy}, in emitStrCpy()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1675 const QualType CharPtrTy = getPointerTy(CharTy); // char * in initFunctionSummaries() local
1676 const QualType CharPtrRestrictTy = getRestrictTy(CharPtrTy); in initFunctionSummaries()
2096 QualType CharPtrPtrRestrictTy = getRestrictTy(getPointerTy(CharPtrTy)); in initFunctionSummaries()
2131 "getenv", Signature(ArgTypes{ConstCharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries()
2271 RetType{CharPtrTy}), in initFunctionSummaries()
2432 Signature(ArgTypes{LongTy}, RetType{CharPtrTy}), in initFunctionSummaries()
2611 "strdup", Signature(ArgTypes{ConstCharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries()
2617 Signature(ArgTypes{ConstCharPtrTy, SizeTy}, RetType{CharPtrTy}), in initFunctionSummaries()
2630 "mkstemp", Signature(ArgTypes{CharPtrTy}, RetType{IntTy}), in initFunctionSummaries()
2639 "mkdtemp", Signature(ArgTypes{CharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries()
[all …]
H A DCStringChecker.cpp746 QualType CharPtrTy = getCharPtrType(Ctx, CK); in CheckOverlap() local
748 svalBuilder.evalCast(*firstLoc, CharPtrTy, First.Expression->getType()); in CheckOverlap()
755 *Length, CharPtrTy); in CheckOverlap()
1502 QualType CharPtrTy = getCharPtrType(Ctx, CK); in evalCopyCommon() local
1504 SvalBuilder.evalCast(destVal, CharPtrTy, Dest.Expression->getType()); in evalCopyCommon()
2426 QualType CharPtrTy = SearchStrPtr.Expression->getType()->getPointeeType(); in evalStrsep() local
2427 if (CharPtrTy.isNull() || Call.getResultType().getUnqualifiedType() != in evalStrsep()
2428 CharPtrTy.getUnqualifiedType()) in evalStrsep()
2453 Result = State->getSVal(*SearchStrLoc, CharPtrTy); in evalStrsep()
2466 LCtx, CharPtrTy, C.blockCount()), in evalStrsep()