Searched defs:PT (Results 1 - 25 of 38) sorted by relevance

12

/external/clang/test/Parser/
H A Dcxx-ambig-paren-expr.cpp16 typedef int *PT; typedef
18 x = (PT()[(int){1}]); // expected-warning {{compound literals}}
/external/oprofile/module/ia64/
H A DIA64entry.h21 #define PT(f) (IA64_PT_REGS_##f##_OFFSET) macro
27 .spillsp rp, PT(CR_IIP)+16+(off); \
28 .spillsp ar.pfs, PT(CR_IFS)+16+(off); \
29 .spillsp ar.unat, PT(AR_UNAT)+16+(off); \
30 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \
31 .spillsp pr, PT(PR)+16+(off);
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp42 const PointerType* PT = RetTy->getAs<PointerType>(); local
43 if (!(PT->getPointeeType().getUnqualifiedType()->isVoidType()))
63 const ObjCObjectPointerType *PT = Ty->getAs<ObjCObjectPointerType>(); local
66 if (!PT)
71 if (PT->isObjCIdType() || PT->isObjCQualifiedIdType() ||
72 PT->isObjCClassType() || PT->isObjCQualifiedClassType())
77 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
H A DFormatString.cpp239 const PointerType *PT = argTy->getAs<PointerType>(); local
240 if (!PT)
244 if (PT->getPointeeType().isConstQualified())
247 argTy = PT->getPointeeType();
312 const PointerType *PT = argTy->getAs<PointerType>(); local
313 if (!PT)
315 QualType pointeeTy = PT->getPointeeType();
332 const PointerType *PT = argTy->getAs<PointerType>(); local
333 if (!PT)
336 C.getCanonicalType(PT
[all...]
/external/llvm/runtime/libprofile/
H A DCommonProfiling.c138 void write_profiling_data(enum ProfilingType PT, unsigned *Start, argument
144 PTy = PT;
/external/clang/test/Sema/
H A Doffsetof.c5 typedef struct P { int i; float f; } PT; typedef in typeref:struct:P
10 PT X[100];
/external/llvm/lib/VMCore/
H A DIRBuilder.cpp43 PointerType *PT = cast<PointerType>(Ptr->getType()); local
44 if (PT->getElementType()->isIntegerTy(8))
48 PT = getInt8PtrTy(PT->getAddressSpace());
49 BitCastInst *BCI = new BitCastInst(Ptr, PT, "");
H A DVerifier.cpp1751 PointerType *PT = dyn_cast<PointerType>(Ty); local
1752 return PT == 0 || PT->getAddressSpace() != D.Pointer_AddressSpace ||
1753 VerifyIntrinsicType(PT->getElementType(), Infos, ArgTys);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp160 static bool compatibleWithArrayType(ASTContext &C, QualType PT, QualType T) { argument
164 if (typesCompatible(C, PT, AT->getElementType()))
H A DNSErrorChecker.cpp297 const ObjCObjectPointerType* PT = local
300 if (!PT)
303 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
H A DCheckSecuritySyntaxOnly.cpp316 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); local
317 if (!PT)
320 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
358 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(1)); local
359 if (!PT)
362 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
400 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); local
401 if (!PT)
405 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
577 const PointerType *PT local
607 const PointerType *PT = dyn_cast<PointerType>(FTP->getArgType(0)); local
[all...]
H A DBasicObjCFoundationChecks.cpp665 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>(); local
666 if (!PT)
669 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp216 QualType PT = getContext().getPointerType(QualType(T, 0)); local
217 return loc::MemRegionVal(getRegionManager().getCXXThisRegion(PT, SFC));
H A DMemRegion.cpp298 const PointerType *PT,
301 ID.AddPointer(PT);
930 const PointerType *PT = thisPointerTy->getAs<PointerType>(); local
931 assert(PT);
932 return getSubRegion<CXXThisRegion>(PT, getStackArgumentsRegion(STC));
297 ProfileRegion(llvm::FoldingSetNodeID &ID, const PointerType *PT, const MemRegion *sRegion) argument
/external/llvm/include/llvm/
H A DInstruction.h397 typedef Instruction* PT; typedef in class:llvm::PointerLikeTypeTraits
399 static inline void *getAsVoidPointer(PT P) { return P; }
400 static inline PT getFromVoidPointer(void *P) {
401 return static_cast<PT>(P);
H A DValue.h404 typedef Value* PT; typedef in class:llvm::PointerLikeTypeTraits
406 static inline void *getAsVoidPointer(PT P) { return P; }
407 static inline PT getFromVoidPointer(void *P) {
408 return static_cast<PT>(P);
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp275 PointerType *PT = getMallocType(CI, TLI); local
276 return PT ? PT->getElementType() : NULL;
440 PointerType *PT = cast<PointerType>(A.getType()); local
441 APInt Size(IntTyBits, TD->getTypeAllocSize(PT->getElementType()));
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp127 Modifier(BasicBlock *Block, PieceTable *PT, Random *R): argument
128 BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {}
140 assert(PT->size());
141 return PT->at(Ran->Rand() % PT->size());
160 for (unsigned i=0; i<PT->size(); ++i) {
161 Value *V = PT->at((index + i) % PT->size());
193 for (unsigned i=0; i<PT
277 PieceTable *PT; member in struct:Modifier
285 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
295 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
313 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
357 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
405 AllocaModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
414 ExtractElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
428 ShuffModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
455 InsertElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
472 CastModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
557 SelectModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
582 CmpModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
614 Modifier::PieceTable PT; local
[all...]
/external/clang/lib/Sema/
H A DSemaPseudoObject.cpp443 const ObjCObjectPointerType *PT = local
447 if (PT->isObjCClassType() &&
458 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
462 if (const ObjCObjectPointerType *PT =
464 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
H A DSemaExprMember.cpp454 const PointerType *PT = BaseType->getAs<PointerType>(); local
455 if (PT && (!getLangOpts().ObjC1 ||
456 PT->getPointeeType()->isRecordType())) {
1054 if (const PointerType *PT = T->getAs<PointerType>())
1055 return PT->getPointeeType()->isRecordType();
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp880 SDValue PT = local
884 return CurDAG->SelectNodeTo(N, PPC::NEG, MVT::i32, PT);
/external/clang/include/clang/AST/
H A DDeclBase.h55 typedef clang::DeclContext* PT; typedef in class:llvm::PointerLikeTypeTraits
57 static inline void *getAsVoidPointer(PT P) { return P; }
58 static inline PT getFromVoidPointer(void *P) {
59 return static_cast<PT>(P);
/external/clang/lib/AST/
H A DExprCXX.cpp1276 const PointerType *PT = BaseType->getAs<PointerType>(); local
1277 assert(PT && "base of arrow member access is not pointer");
1278 BaseType = PT->getPointeeType();
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2265 PointerType *PT = cast<PointerType>(CS.getCalledValue()->getType()); local
2266 FunctionType *FTy = cast<FunctionType>(PT->getElementType());
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp631 PointerType* PT = cast<PointerType>(Ty); local
632 Type* ET = PT->getElementType();
638 << ", " << utostr(PT->getAddressSpace()) << ");";
644 VectorType* PT = cast<VectorType>(Ty); local
645 Type* ET = PT->getElementType();
651 << ", " << utostr(PT->getNumElements()) << ");";

Completed in 1134 milliseconds

12