Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCUDANV.cpp33 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anon9870150b0111::CGNVCUDARuntime
94 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime()
110 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
156 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
193 VoidPtrPtrTy, CharPtrTy, CharPtrTy, CharPtrTy, IntTy, in makeRegisterGlobalsFn()
216 llvm::Type *RegisterVarParams[] = {VoidPtrPtrTy, CharPtrTy, CharPtrTy, in makeRegisterGlobalsFn()
217 CharPtrTy, IntTy, IntTy, in makeRegisterGlobalsFn()
DCGExprConstant.cpp1306 llvm::Type *CharPtrTy = Int8Ty->getPointerTo(AS); in EmitConstantValue() local
1307 llvm::Constant *Casted = llvm::ConstantExpr::getBitCast(C, CharPtrTy); in EmitConstantValue()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp940 const QualType CharPtrTy = getPointerTy(CharTy); // char * in initFunctionSummaries() local
941 const QualType CharPtrRestrictTy = getRestrictTy(CharPtrTy); in initFunctionSummaries()
1289 QualType CharPtrPtrRestrictTy = getRestrictTy(getPointerTy(CharPtrTy)); in initFunctionSummaries()
1320 Signature(ArgTypes{LongTy}, RetType{CharPtrTy}), in initFunctionSummaries()
1466 "strdup", Signature(ArgTypes{ConstCharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries()
1472 Signature(ArgTypes{ConstCharPtrTy, SizeTy}, RetType{CharPtrTy}), in initFunctionSummaries()
1485 Signature(ArgTypes{CharPtrTy}, RetType{IntTy}), in initFunctionSummaries()
1492 "mkdtemp", Signature(ArgTypes{CharPtrTy}, RetType{CharPtrTy}), in initFunctionSummaries()
1497 "getcwd", Signature(ArgTypes{CharPtrTy, SizeTy}, RetType{CharPtrTy}), in initFunctionSummaries()
1878 RetType{CharPtrTy}), in initFunctionSummaries()
[all …]
DCStringChecker.cpp511 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap() local
513 svalBuilder.evalCast(*firstLoc, CharPtrTy, First.Expression->getType()); in CheckOverlap()
520 *Length, CharPtrTy); in CheckOverlap()
1188 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon() local
1190 SvalBuilder.evalCast(destVal, CharPtrTy, Dest.Expression->getType()); in evalCopyCommon()
2075 QualType CharPtrTy = SearchStrPtr.Expression->getType()->getPointeeType(); in evalStrsep() local
2076 if (CharPtrTy.isNull() || in evalStrsep()
2077 CE->getType().getUnqualifiedType() != CharPtrTy.getUnqualifiedType()) in evalStrsep()
2102 Result = State->getSVal(*SearchStrLoc, CharPtrTy); in evalStrsep()
2115 CharPtrTy, in evalStrsep()
/external/llvm-project/llvm/lib/Transforms/Utils/
DAMDGPUEmitPrintf.cpp168 auto CharPtrTy = Builder.getInt8PtrTy(); in callAppendStringN() local
172 Int64Ty, CharPtrTy, Int64Ty, Int32Ty); in callAppendStringN()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp504 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap() local
505 SVal FirstStart = svalBuilder.evalCast(*firstLoc, CharPtrTy, in CheckOverlap()
513 *FirstStartLoc, *Length, CharPtrTy); in CheckOverlap()
1059 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon() local
1061 CharPtrTy, Dest->getType()).castAs<loc::MemRegionVal>(); in evalCopyCommon()
1910 QualType CharPtrTy = SearchStrPtr->getType()->getPointeeType(); in evalStrsep() local
1911 if (CharPtrTy.isNull() || in evalStrsep()
1912 CE->getType().getUnqualifiedType() != CharPtrTy.getUnqualifiedType()) in evalStrsep()
1937 Result = State->getSVal(*SearchStrLoc, CharPtrTy); in evalStrsep()
1947 SVB.conjureSymbolVal(getTag(), CE, LCtx, CharPtrTy, in evalStrsep()