Searched refs:PT (Results 1 - 25 of 95) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp41 const PointerType* PT = RetTy->castAs<PointerType>(); local
42 if (!PT || !PT->getPointeeType().getUnqualifiedType()->isVoidType())
69 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); local
72 if (!PT)
77 if (PT->isObjCIdType() || PT->isObjCQualifiedIdType() ||
78 PT->isObjCClassType() || PT->isObjCQualifiedClassType())
83 const ObjCInterfaceDecl *ID = PT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DBuiltinGCs.cpp77 const PointerType *PT = cast<PointerType>(Ty); variable
83 return (1 == PT->getAddressSpace());
109 const PointerType *PT = cast<PointerType>(Ty); variable
111 return (1 == PT->getAddressSpace());
H A DGlobalMerge.cpp626 PointerType *PT = dyn_cast<PointerType>(GV.getType()); local
627 assert(PT && "Global variable is not a pointer!");
629 unsigned AddressSpace = PT->getAddressSpace();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp182 Modifier(BasicBlock *Block, PieceTable *PT, Random *R) argument
183 : BB(Block), PT(PT), Ran(R), Context(BB->getContext()) {}
205 assert(PT->size());
206 return PT->at(getRandom() % PT->size());
225 for (unsigned i=0; i<PT->size(); ++i) {
226 Value *V = PT->at((index + i) % PT->size());
258 for (unsigned i=0; i<PT
330 PieceTable *PT; member in struct:llvm::__anon2881::Modifier
340 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
352 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
372 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
416 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
467 AllocaModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
479 ExtractElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
493 ShuffModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
521 InsertElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
537 CastModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
617 SelectModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
641 CmpModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
677 Modifier::PieceTable PT; local
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_types_osd.h72 #define PT(exp) __builtin_expect( ((uintptr_t)(exp)), 1 ) macro
75 #define PT(exp) (exp)
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp363 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); local
364 if (!PT)
367 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
405 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); local
406 if (!PT)
409 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
447 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); local
448 if (!PT)
451 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
489 const PointerType *PT local
529 const PointerType *PT = FPT->getParamType(1)->getAs<PointerType>(); local
569 const PointerType *PT = FPT->getParamType(0)->getAs<PointerType>(); local
838 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); local
867 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); local
[all...]
H A DNSErrorChecker.cpp286 const ObjCObjectPointerType* PT = local
289 if (!PT)
292 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
H A DMallocSizeofChecker.cpp162 static bool compatibleWithArrayType(ASTContext &C, QualType PT, QualType T) { argument
166 if (typesCompatible(C, PT, AT->getElementType()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp423 QualType PT = QT->getPointeeType();
426 if (const EnumType *ETy = PT->getAs<EnumType>()) {
430 PT = ETy->getDecl()->getIntegerType();
433 const BuiltinType *BT = PT->getAs<BuiltinType>();
438 if (PT->isAnyCharacterType()) {
440 if (PT->isWideCharType())
503 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11))
504 namedTypeToLengthModifier(PT, LM);
514 if (PT->isRealFloatingType())
516 else if (PT
[all...]
H A DFormatString.cpp327 const PointerType *PT = argTy->getAs<PointerType>(); local
328 if (!PT)
332 if (PT->getPointeeType().isConstQualified())
335 argTy = PT->getPointeeType();
416 const PointerType *PT = argTy->getAs<PointerType>(); local
417 if (!PT)
419 QualType pointeeTy = PT->getPointeeType();
436 const PointerType *PT = argTy->getAs<PointerType>(); local
437 if (!PT)
440 C.getCanonicalType(PT
[all...]
/freebsd-11-stable/share/i18n/csmapper/ISO646/
H A DMakefile18 ISO646-PT%UCS.646 ISO646-PT2%UCS.646 ISO646-SE%UCS.646 \
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h112 PredicateBase(PredicateType PT, Value *Op) : Type(PT), OriginalOp(Op) {} argument
124 PredicateWithCondition(PredicateType PT, Value *Op, Value *Condition) argument
125 : PredicateBase(PT, Op), Condition(Condition) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp171 for (auto PT = PrefixTable; PT->Table; PT++) {
172 if (PT->Prefix == Opc) {
173 WasmInst = PT->Table;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp302 if (auto PT = dyn_cast<PointerType>(V->getType())) {
303 unsigned As = PT->getAddressSpace();
311 if (auto PT = dyn_cast<PointerType>(V->getType()))
312 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
343 if (auto PT = dyn_cast<PointerType>(V->getType())) {
344 unsigned As = PT->getAddressSpace();
H A DAMDGPULowerKernelArguments.cpp107 if (PointerType *PT = dyn_cast<PointerType>(ArgTy)) {
112 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
113 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) &&
H A DAMDGPUPrintfRuntimeBinding.cpp139 const PointerType *PT = dyn_cast<PointerType>(OpType); local
140 if (!PT || PT->getAddressSpace() != AMDGPUAS::CONSTANT_ADDRESS)
142 Type *ElemType = PT->getContainedType(0);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContext_x86.h318 PT = Hi16_ZMM << 1, member in class:lldb_private::XSAVE_HDR::XFeature
319 PKRU = PT << 1,
/freebsd-11-stable/sys/dev/fatm/
H A Dif_fatmreg.h309 #define TDX_MKHDR(VPI,VCI,PT,CLP) \
310 (((VPI) << 20) | ((VCI) << 4) | ((PT) << 1) | (CLP))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp84 QualType PT = QT->getPointeeType(); local
85 if (!PT.isNull() && !QT->getAs<TypedefType>())
86 if (const auto *RD = PT->getAsCXXRecordDecl())
278 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); local
279 os << "an instance of " << PT->getPointeeType().getAsString()
H A DRetainCountChecker.cpp400 if (const ObjCObjectPointerType *PT = RetTy->getAs<ObjCObjectPointerType>())
401 if (PT->isObjCQualifiedIdType() || PT->isObjCIdType() ||
402 PT->isObjCClassType()) {
427 QualType PT = QT->getPointeeType(); local
428 if (!PT.isNull())
429 if (PT->getAsCXXRecordDecl())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DHost.cpp1575 Triple PT(Triple::normalize(TargetTripleString));
1577 if (sizeof(void *) == 8 && PT.isArch32Bit())
1578 PT = PT.get64BitArchVariant();
1579 if (sizeof(void *) == 4 && PT.isArch64Bit())
1580 PT = PT.get32BitArchVariant();
1582 return PT.str();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp130 if (const PointerType *PT = T->getAs<PointerType>()) {
131 PointeeT = PT->getPointeeType();
182 if (const PointerType *PT = T->getAs<PointerType>())
183 T = PT->getPointeeType();
184 else if (const MemberPointerType *PT = T->getAs<MemberPointerType>())
185 T = PT->getPointeeType();
1031 } else if (const PointerType *PT = T->getAs<PointerType>())
1032 FT = PT->getPointeeType()->getAs<FunctionProtoType>();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp317 FunctionDumper::PointerType PT = local
320 Dumper.start(*FS, nullptr, PT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp390 PointerType *PT = getMallocType(CI, TLI); local
391 return PT ? PT->getElementType() : nullptr;
660 PointerType *PT = cast<PointerType>(A.getType()); local
661 APInt Size(IntTyBits, DL.getTypeAllocSize(PT->getElementType()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp62 auto *PT = cast<PointerType>(Ptr->getType()); local
63 if (PT->getElementType()->isIntegerTy(8))
67 PT = getInt8PtrTy(PT->getAddressSpace());
68 BitCastInst *BCI = new BitCastInst(Ptr, PT, "");

Completed in 545 milliseconds

1234