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

12345

/openbsd-current/gnu/llvm/llvm/lib/Target/AVR/
H A DAVR.h56 auto *PT = cast<PointerType>(V->getType()); local
57 assert(PT != nullptr && "unexpected MemSDNode");
58 return PT->getAddressSpace() == ProgramMemory ||
59 PT->getAddressSpace() == ProgramMemory1 ||
60 PT->getAddressSpace() == ProgramMemory2 ||
61 PT->getAddressSpace() == ProgramMemory3 ||
62 PT->getAddressSpace() == ProgramMemory4 ||
63 PT->getAddressSpace() == ProgramMemory5;
67 auto *PT = cast<PointerType>(V->getType()); local
68 assert(PT !
[all...]
/openbsd-current/gnu/llvm/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...]
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DBuiltinGCs.cpp78 const PointerType *PT = cast<PointerType>(Ty); variable
84 return (1 == PT->getAddressSpace());
111 const PointerType *PT = cast<PointerType>(Ty); variable
113 return (1 == PT->getAddressSpace());
/openbsd-current/gnu/llvm/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp159 Modifier(BasicBlock *Block, PieceTable *PT, Random *R) argument
160 : BB(Block), PT(PT), Ran(R), Context(BB->getContext()) {
213 assert(PT->size());
214 return PT->at(getRandom() % PT->size());
233 for (unsigned i=0; i<PT->size(); ++i) {
234 Value *V = PT->at((index + i) % PT->size());
264 for (unsigned i=0; i<PT
326 PieceTable *PT; member in struct:llvm::__anon3758::Modifier
338 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
353 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
374 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
418 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
469 AllocaModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
481 ExtractElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
495 ShuffModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
527 InsertElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
543 CastModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
621 SelectModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
644 CmpModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
680 Modifier::PieceTable PT; local
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteKernelArguments.cpp101 PointerType *PT = dyn_cast<PointerType>(Ptr->getType()); local
102 if (!PT)
105 if (PT->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS ||
106 PT->getAddressSpace() == AMDGPUAS::GLOBAL_ADDRESS ||
107 PT->getAddressSpace() == AMDGPUAS::CONSTANT_ADDRESS)
110 if (PT->getAddressSpace() != AMDGPUAS::FLAT_ADDRESS)
119 PointerType::getWithSamePointeeType(PT, AMDGPUAS::GLOBAL_ADDRESS);
123 B.CreateAddrSpaceCast(Cast, PT, Twine(Ptr->getName(), ".flat"));
170 PointerType *PT = dyn_cast<PointerType>(Arg.getType()); local
171 if (!PT || (P
[all...]
H A DAMDGPULowerKernelArguments.cpp120 if (PointerType *PT = dyn_cast<PointerType>(ArgTy)) {
125 if ((PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS ||
126 PT->getAddressSpace() == AMDGPUAS::REGION_ADDRESS) &&
H A DAMDGPUPerfHintAnalysis.cpp337 if (auto PT = dyn_cast<PointerType>(V->getType())) {
338 unsigned As = PT->getAddressSpace();
346 if (auto PT = dyn_cast<PointerType>(V->getType()))
347 return PT->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS;
/openbsd-current/gnu/llvm/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h157 BaseTypeModifier PT,
160 : PT(static_cast<uint8_t>(PT)), VTM(static_cast<uint8_t>(VTM)),
162 constexpr PrototypeDescriptor(uint8_t PT, uint8_t VTM, uint8_t TM) argument
163 : PT(PT), VTM(VTM), TM(TM) {}
165 uint8_t PT = static_cast<uint8_t>(BaseTypeModifier::Invalid); member in struct:clang::RISCV::PrototypeDescriptor
173 return PD.PT == PT && PD.VTM == VTM && PD.TM == TM;
176 return std::tie(PT, VT
156 PrototypeDescriptor( BaseTypeModifier PT, VectorTypeModifier VTM = VectorTypeModifier::NoModifier, TypeModifier TM = TypeModifier::NoModifier) argument
[all...]
/openbsd-current/gnu/llvm/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
837 const PointerType *PT = FPT->getParamType(i)->getAs<PointerType>(); local
866 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); local
[all...]
H A DNSErrorChecker.cpp298 const ObjCObjectPointerType* PT = local
301 if (!PT)
304 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
H A DMallocSizeofChecker.cpp166 static bool compatibleWithArrayType(ASTContext &C, QualType PT, QualType T) { argument
170 if (typesCompatible(C, PT, AT->getElementType()))
/openbsd-current/games/gomoku/
H A Dstoc.c85 return(PT(lton(mp[0]), i));
H A Dbdisp.c399 return(PT(curx,cury));
415 return(PT(curx+1,cury+1));
H A Dgomoku.h94 #define PT(x,y) ((x) + BSZ1 * (y)) macro
/openbsd-current/gnu/llvm/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp370 BaseTypeModifier PT = BaseTypeModifier::Invalid; local
380 PT = BaseTypeModifier::Scalar;
383 PT = BaseTypeModifier::Vector;
386 PT = BaseTypeModifier::Vector;
390 PT = BaseTypeModifier::Vector;
394 PT = BaseTypeModifier::Vector;
398 PT = BaseTypeModifier::Vector;
402 PT = BaseTypeModifier::Void;
405 PT = BaseTypeModifier::SizeT;
408 PT
[all...]
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DScanfFormatString.cpp425 QualType PT = QT->getPointeeType();
428 if (const EnumType *ETy = PT->getAs<EnumType>()) {
432 PT = ETy->getDecl()->getIntegerType();
435 const BuiltinType *BT = PT->getAs<BuiltinType>();
440 if (PT->isAnyCharacterType()) {
442 if (PT->isWideCharType())
506 namedTypeToLengthModifier(PT, LM);
516 if (PT->isRealFloatingType())
518 else if (PT->isSignedIntegerType())
520 else if (PT
[all...]
H A DFormatString.cpp333 const PointerType *PT = argTy->getAs<PointerType>(); local
334 if (!PT)
338 if (PT->getPointeeType().isConstQualified())
341 argTy = PT->getPointeeType();
481 const PointerType *PT = argTy->getAs<PointerType>(); local
482 if (!PT)
484 QualType pointeeTy = PT->getPointeeType();
500 const PointerType *PT = argTy->getAs<PointerType>(); local
501 if (!PT)
504 C.getCanonicalType(PT
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp173 for (auto PT = PrefixTable; PT->Table; PT++) {
174 if (PT->Prefix == Opc) {
175 WasmInst = PT->Table;
/openbsd-current/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DPredicateInfo.h109 PredicateBase(PredicateType PT, Value *Op, Value *Condition) argument
110 : Type(PT), OriginalOp(Op), Condition(Condition) {}
/openbsd-current/gnu/llvm/llvm/tools/obj2yaml/
H A Ddxcontainer2yaml.cpp44 dxbc::PartType PT = dxbc::parsePartType(P.Part.getName()); local
45 switch (PT) {
/openbsd-current/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceOpcodes.cpp89 PointerType *PT = dyn_cast<PointerType>(Arg->getType());
90 if (!PtrArg && PT) {
93 if (!IsStore && !PT->isOpaqueOrPointeeTypeMatches(CB->getType()))
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp1007 static long long validateFieldParentType(CXCursor PC, CXType PT){ argument
1021 QualType RT = GetQualType(PT);
1033 long long clang_Type_getOffsetOf(CXType PT, const char *S) { argument
1034 // check that PT is not incomplete/dependent
1035 CXCursor PC = clang_getTypeDeclaration(PT);
1036 long long Error = validateFieldParentType(PC,PT);
1042 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext();
1082 CXType PT = clang_getCursorType(PC); local
1083 long long Error = validateFieldParentType(PC,PT);
1252 unsigned clang_Type_visitFields(CXType PT, argument
[all...]
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/Utility/
H A DRegisterContext_x86.h332 PT = Hi16_ZMM << 1, member in class:lldb_private::XSAVE_HDR::XFeature
333 PKRU = PT << 1,
/openbsd-current/gnu/llvm/llvm/lib/Object/
H A DDXContainer.cpp120 dxbc::PartType PT = local
130 switch (PT) {
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp85 QualType PT = QT->getPointeeType(); local
86 if (!PT.isNull() && !QT->getAs<TypedefType>())
87 if (const auto *RD = PT->getAsCXXRecordDecl())
276 const ObjCObjectPointerType *PT = cast<ObjCObjectPointerType>(T); local
277 os << "an instance of " << PT->getPointeeType() << " with a ";

Completed in 229 milliseconds

12345