Searched defs:PT (Results 1 - 25 of 42) 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 DBodyFarm.cpp297 const PointerType *PT = TheValueTy->getAs<PointerType>(); local
298 if (!PT)
300 QualType PointeeTy = PT->getPointeeType();
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.c160 void write_profiling_data(enum ProfilingType PT, unsigned *Start, argument
166 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/IR/
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, "");
/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp161 static bool compatibleWithArrayType(ASTContext &C, QualType PT, QualType T) { argument
165 if (typesCompatible(C, PT, AT->getElementType()))
H A DNSErrorChecker.cpp281 const ObjCObjectPointerType* PT = local
284 if (!PT)
287 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
H A DCheckSecuritySyntaxOnly.cpp310 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); local
311 if (!PT)
314 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
352 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(1)); local
353 if (!PT)
356 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
394 const PointerType *PT = dyn_cast<PointerType>(FPT->getArgType(0)); local
395 if (!PT)
399 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
571 const PointerType *PT local
601 const PointerType *PT = dyn_cast<PointerType>(FTP->getArgType(0)); local
[all...]
H A DBasicObjCFoundationChecks.cpp684 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>(); local
685 if (!PT)
688 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp254 PointerType *PT = dyn_cast<PointerType>(I->getType()); local
255 assert(PT && "Global variable is not a pointer!");
257 unsigned AddressSpace = PT->getAddressSpace();
/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.cpp304 const PointerType *PT,
307 ID.AddPointer(PT);
953 const PointerType *PT = thisPointerTy->getAs<PointerType>(); local
954 assert(PT);
955 return getSubRegion<CXXThisRegion>(PT, getStackArgumentsRegion(STC));
303 ProfileRegion(llvm::FoldingSetNodeID &ID, const PointerType *PT, const MemRegion *sRegion) argument
/external/llvm/include/llvm/IR/
H A DInstruction.h456 typedef Instruction* PT; typedef in class:llvm::PointerLikeTypeTraits
458 static inline void *getAsVoidPointer(PT P) { return P; }
459 static inline PT getFromVoidPointer(void *P) {
460 return static_cast<PT>(P);
H A DValue.h400 typedef Value* PT; typedef in class:llvm::PointerLikeTypeTraits
402 static inline void *getAsVoidPointer(PT P) { return P; }
403 static inline PT getFromVoidPointer(void *P) {
404 return static_cast<PT>(P);
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp279 PointerType *PT = getMallocType(CI, TLI); local
280 return PT ? PT->getElementType() : 0;
471 PointerType *PT = cast<PointerType>(A.getType()); local
472 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()) {}
144 assert(PT->size());
145 return PT->at(Ran->Rand() % PT->size());
164 for (unsigned i=0; i<PT->size(); ++i) {
165 Value *V = PT->at((index + i) % PT->size());
197 for (unsigned i=0; i<PT
281 PieceTable *PT; member in struct:Modifier
289 LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
299 StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
317 BinModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
361 ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
407 AllocaModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
416 ExtractElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
430 ShuffModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
457 InsertElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
474 CastModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
559 SelectModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
584 CmpModifier(BasicBlock *BB, PieceTable *PT, Random *R) argument
616 Modifier::PieceTable PT; local
[all...]
/external/clang/lib/Sema/
H A DSemaPseudoObject.cpp454 const ObjCObjectPointerType *PT = local
458 if (PT->isObjCClassType() &&
469 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
473 if (const ObjCObjectPointerType *PT =
475 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
H A DSemaExprMember.cpp446 const PointerType *PT = BaseType->getAs<PointerType>(); local
447 if (PT && (!getLangOpts().ObjC1 ||
448 PT->getPointeeType()->isRecordType())) {
1046 if (const PointerType *PT = T->getAs<PointerType>())
1047 return PT->getPointeeType()->isRecordType();
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1031 SDValue PT = local
1035 return CurDAG->SelectNodeTo(N, PPC::NEG, MVT::i32, PT);
/external/llvm/lib/Target/R600/
H A DAMDILPeepholeOptimizer.cpp131 size_t getTypeSize(PointerType * const PT, bool dereferencePtr = false);
217 const PointerType *PT = dyn_cast<PointerType>(arg->getType()); local
218 if (!PT) {
221 Type *DereferencedType = PT->getElementType();
1191 size_t AMDGPUPeepholeOpt::getTypeSize(PointerType * const PT, argument
1193 if (!PT) {
1196 Type *CT = PT->getElementType();
1198 PT->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS) {
1202 for (size_t x = 0, y = PT->getNumContainedTypes(); x < y; ++x) {
1203 size += getTypeSize(PT
[all...]
/external/clang/include/clang/AST/
H A DDeclBase.h57 typedef clang::DeclContext* PT; typedef in class:llvm::PointerLikeTypeTraits
59 static inline void *getAsVoidPointer(PT P) { return P; }
60 static inline PT getFromVoidPointer(void *P) {
61 return static_cast<PT>(P);
/external/clang/lib/AST/
H A DExprCXX.cpp1306 const PointerType *PT = BaseType->getAs<PointerType>(); local
1307 assert(PT && "base of arrow member access is not pointer");
1308 BaseType = PT->getPointeeType();

Completed in 398 milliseconds

12