Searched defs:PT (Results 1 - 25 of 47) 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.cpp309 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>(); local
310 if (!PT)
313 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
350 const PointerType *PT = FPT->getArgType(1)->getAs<PointerType>(); local
351 if (!PT)
354 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
391 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>(); local
392 if (!PT)
396 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
567 const PointerType *PT local
596 const PointerType *PT = FTP->getArgType(0)->getAs<PointerType>(); local
[all...]
H A DBasicObjCFoundationChecks.cpp817 const ObjCObjectPointerType *PT = T->getAs<ObjCObjectPointerType>(); local
818 if (!PT)
821 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl();
/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp249 PointerType *PT = dyn_cast<PointerType>(I->getType()); local
250 assert(PT && "Global variable is not a pointer!");
252 unsigned AddressSpace = PT->getAddressSpace();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp405 PointerType *PT = dyn_cast<PointerType>(T); local
408 if (PT) {
409 ST = dyn_cast<StructType>(PT->getElementType());
H A DAMDILPeepholeOptimizer.cpp123 size_t getTypeSize(PointerType * const PT, bool dereferencePtr = false);
216 const PointerType *PT = dyn_cast<PointerType>(arg->getType()); local
217 if (!PT) {
220 Type *DereferencedType = PT->getElementType();
1251 size_t AMDGPUPeepholeOpt::getTypeSize(PointerType * const PT, argument
1253 if (!PT) {
1256 Type *CT = PT->getElementType();
1258 PT->getAddressSpace() == AMDGPUAS::PRIVATE_ADDRESS) {
1262 for (size_t x = 0, y = PT->getNumContainedTypes(); x < y; ++x) {
1263 size += getTypeSize(PT
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp223 QualType PT = getContext().getPointerType(QualType(T, 0)); local
224 return loc::MemRegionVal(getRegionManager().getCXXThisRegion(PT, SFC));
H A DMemRegion.cpp304 const PointerType *PT,
307 ID.AddPointer(PT);
1005 const PointerType *PT = thisPointerTy->getAs<PointerType>(); local
1006 assert(PT);
1007 return getSubRegion<CXXThisRegion>(PT, getStackArgumentsRegion(STC));
303 ProfileRegion(llvm::FoldingSetNodeID &ID, const PointerType *PT, const MemRegion *sRegion) argument
/external/clang/tools/libclang/
H A DCXType.cpp753 long long clang_Type_getOffsetOf(CXType PT, const char *S) { argument
754 // check that PT is not incomplete/dependent
755 CXCursor PC = clang_getTypeDeclaration(PT);
767 QualType RT = GetQualType(PT);
779 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext();
/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.h412 typedef Value* PT; typedef in class:llvm::PointerLikeTypeTraits
414 static inline void *getAsVoidPointer(PT P) { return P; }
415 static inline PT getFromVoidPointer(void *P) {
416 return static_cast<PT>(P);
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp405 PointerType *PT = dyn_cast<PointerType>(T); local
408 if (PT) {
409 ST = dyn_cast<StructType>(PT->getElementType());
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp282 PointerType *PT = getMallocType(CI, TLI); local
283 return PT ? PT->getElementType() : 0;
455 PointerType *PT = cast<PointerType>(A.getType()); local
456 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.cpp503 const ObjCObjectPointerType *PT = local
507 if (PT->isObjCClassType() &&
518 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
522 if (const ObjCObjectPointerType *PT =
524 return S.LookupMethodInObjectType(sel, PT->getPointeeType(), true);
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp1001 SDValue PT = local
1005 return CurDAG->SelectNodeTo(N, PPC::NEG, MVT::i32, PT);

Completed in 622 milliseconds

12