Home
last modified time | relevance | path

Searched refs:PtrT (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DContainerModeling.cpp782 if (const auto *PtrT = Type->getAs<PointerType>()) { in getCXXRecordDecl() local
783 Type = PtrT->getPointeeType(); in getCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.h2274 QualType PtrT = P.getType(); in SubPtr() local
2275 while (auto *AT = dyn_cast<ArrayType>(PtrT)) in SubPtr()
2276 PtrT = AT->getElementType(); in SubPtr()
2279 PtrT, APInt::getZero(1), nullptr, ArraySizeModifier::Normal, 0); in SubPtr()
H A DInterpBuiltin.cpp744 PrimType PtrT = S.getContext().classify(Call->getArg(0)).value_or(PT_Ptr); in interp__builtin_addressof() local
745 assert(PtrT == PT_Ptr && in interp__builtin_addressof()
H A DCompiler.cpp538 PrimType PtrT = classifyPrim(SubExpr->getType()); in VisitCastExpr() local
542 return this->emitIsNonNull(PtrT, CE); in VisitCastExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp848 const PointerType *PtrT = T->getAs<PointerType>(); in BuildObjCArrayLiteral() local
849 if (!PtrT || in BuildObjCArrayLiteral()
850 !Context.hasSameUnqualifiedType(PtrT->getPointeeType(), IdT)) { in BuildObjCArrayLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4269 const auto *PtrT = VarDef->getType()->getAs<PointerType>(); in IsPreserveAIArrayBase() local
4270 if (!PtrT) in IsPreserveAIArrayBase()
4273 const auto *PointeeT = PtrT->getPointeeType() in IsPreserveAIArrayBase()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3259 if (auto *PtrT = dyn_cast<PointerType>(I->getType())) { in isKnownNonZeroFromOperator() local
3262 !NullPointerIsDefined(LI->getFunction(), PtrT->getAddressSpace()))) in isKnownNonZeroFromOperator()