Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DContainerModeling.cpp778 if (const auto *PtrT = Type->getAs<PointerType>()) { in getCXXRecordDecl() local
779 Type = PtrT->getPointeeType(); in getCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp613 PrimType PtrT = S.getContext().classify(Call->getArg(0)).value_or(PT_Ptr); in interp__builtin_addressof() local
615 if (PtrT == PT_FnPtr) { in interp__builtin_addressof()
618 } else if (PtrT == PT_Ptr) { in interp__builtin_addressof()
H A DCompiler.cpp496 PrimType PtrT = classifyPrim(SubExpr->getType()); in VisitCastExpr() local
502 if (!this->emitNull(PtrT, nullptr, CE)) in VisitCastExpr()
505 return this->emitNE(PtrT, CE); in VisitCastExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp853 const PointerType *PtrT = T->getAs<PointerType>(); in BuildObjCArrayLiteral() local
854 if (!PtrT || in BuildObjCArrayLiteral()
855 !Context.hasSameUnqualifiedType(PtrT->getPointeeType(), IdT)) { in BuildObjCArrayLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4043 const auto *PtrT = VarDef->getType()->getAs<PointerType>(); in IsPreserveAIArrayBase() local
4044 if (!PtrT) in IsPreserveAIArrayBase()
4047 const auto *PointeeT = PtrT->getPointeeType() in IsPreserveAIArrayBase()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3032 if (auto *PtrT = dyn_cast<PointerType>(I->getType())) { in isKnownNonZeroFromOperator() local
3035 !NullPointerIsDefined(LI->getFunction(), PtrT->getAddressSpace()))) in isKnownNonZeroFromOperator()