/external/clang/include/clang/Sema/ |
H A D | Ownership.h | 37 /// \tparam PtrTy Either a pointer type like 'T*' or a type that behaves like 41 /// doesn't know about but that Sema or another client does. The PtrTy 44 template <class PtrTy> 49 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits; 54 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; } 66 /// from PtrTy to PtrT. 74 PtrTy get() const { 78 void set(PtrTy P) { 143 template<class PtrTy, 144 bool CompressInvalid = IsResultPtrLowBitFree<PtrTy> [all...] |
/external/clang/test/Index/ |
H A D | comment-cplus-template-decls.cpp | 72 // CHECK: <Declaration>template <class PtrTy> class OpaquePtr {}</Declaration> 75 /// \tparam PtrTy Either a pointer type like 'T*' or a type that behaves like 77 template <class PtrTy>
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallPtrSet.h | 177 template<typename PtrTy> 179 typedef PointerLikeTypeTraits<PtrTy> PtrTraits; 182 typedef PtrTy value_type; 183 typedef PtrTy reference; 184 typedef PtrTy pointer; 193 const PtrTy operator*() const {
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 154 Type *PtrTy = Ty->getPointerTo(); local 158 AtomicLoadName, Ty, PtrTy, OrdTy, NULL)); 163 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, 188 RMWName, Ty, PtrTy, Ty, OrdTy, NULL)); 194 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, NULL)); 481 Type *PtrTy = Ty->getPointerTo(); local 482 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), 496 Type *PtrTy = Ty->getPointerTo(); local 497 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), 514 Type *PtrTy local 528 Type *PtrTy = Ty->getPointerTo(); local [all...] |
H A D | AddressSanitizer.cpp | 1061 PointerType *PtrTy = cast<PointerType>(G->getType()); local 1062 Type *Ty = PtrTy->getElementType();
|
/external/llvm/lib/Target/R600/ |
H A D | SITypeRewriter.cpp | 83 Type *PtrTy = Ptr->getType(); local 84 Type *ElemTy = PtrTy->getPointerElementType(); 88 PointerType::get(v4i32,PtrTy->getPointerAddressSpace()));
|
H A D | AMDGPUISelLowering.cpp | 604 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); local 606 MachinePointerInfo(UndefValue::get(PtrTy)), false, false, 612 PointerType *PtrTy = PointerType::get(CFP->getType(), 0); local 614 MachinePointerInfo(UndefValue::get(PtrTy)), false, false, 661 PointerType *PtrTy = PointerType::get(InitTy, AMDGPUAS::PRIVATE_ADDRESS); local 663 MachinePointerInfo(UndefValue::get(PtrTy)), false, false,
|
/external/clang/lib/CodeGen/ |
H A D | CGObjCGNU.cpp | 145 llvm::PointerType *PtrTy; member in class:__anon17044::CGObjCGNU 699 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy, 700 PtrTy, PtrTy, IntTy, IMPTy, nullptr); 712 EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, nullptr); 717 PtrTy, nullptr); 721 EnterCatchFn.init(&CGM, "objc_begin_catch", IdTy, PtrTy, nullptr); 726 PtrTy, nullptr); 739 CxxAtomicObjectSetFn.init(&CGM, "objc_setCppObjectAtomic", VoidTy, PtrTy, [all...] |
H A D | CGException.cpp | 945 llvm::Type *PtrTy = local 949 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp"); 950 llvm::Value *Casted = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy); 995 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local 996 llvm::Value *Cast = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy); 1019 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local 1026 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy); 1037 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy);
|
H A D | CGExpr.cpp | 2486 QualType PtrTy = BaseExpr->getType()->getPointeeType(); local 2487 EmitTypeCheck(TCK_MemberAccess, E->getExprLoc(), Ptr, PtrTy); 2488 BaseLV = MakeNaturalAlignAddrLValue(Ptr, PtrTy); 2531 llvm::Type *PtrTy = llvm::Type::getIntNPtrTy( local 2534 if (Addr->getType() != PtrTy) 2535 Addr = Builder.CreateBitCast(Addr, PtrTy);
|
H A D | CGExprAgg.cpp | 586 QualType PtrTy = CGF.getContext().getPointerType(Ty); local 588 CGF.ConvertType(PtrTy));
|
/external/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 340 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); local 347 OffsetVal, PointerType::get(PtrTy, AddressSpace)); 349 StackGuardVar = M->getOrInsertGlobal("__guard_local", PtrTy); 354 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy); 358 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot");
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 65 PointerType *PtrTy; member in class:__anon25499::Scatterer 185 PtrTy = dyn_cast<PointerType>(Ty); 186 if (PtrTy) 187 Ty = PtrTy->getElementType(); 204 if (PtrTy) { 207 PointerType::get(PtrTy->getElementType()->getVectorElementType(), 208 PtrTy->getAddressSpace());
|
H A D | ScalarReplAggregates.cpp | 507 PointerType* PtrTy = dyn_cast<PointerType>(GEP->getPointerOperandType()); local 508 if (!PtrTy) 515 if (!isa<VectorType>(PtrTy->getElementType())) 525 uint64_t GEPOffset = DL.getIndexedOffset(PtrTy,
|
/external/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 29 if (const PointerType *PtrTy = T->getAs<PointerType>()) 30 T = PtrTy->getPointeeType(); 633 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { 634 CanonicalSubT = PtrTy->getPointeeType(); 652 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) 653 CanonicalSuperT = PtrTy->getPointeeType();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | GenericTaintChecker.cpp | 598 if (const PointerType * PtrTy = 600 if (PtrTy->getPointeeType() == C.getASTContext().getFILEType())
|
H A D | CStringChecker.cpp | 353 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); local 379 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); 384 LastOffset, PtrTy); 399 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); 404 LastOffset, PtrTy);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 1649 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize); local 1656 Entry.Ty = PtrTy; 1661 .setCallee(CallingConv::C, PtrTy, TlsGetAddr, std::move(Args), 0); 3550 EVT PtrTy = getPointerTy(); local 3552 SDValue FIN = DAG.getFrameIndex(FI, PtrTy); 3566 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN, 3567 DAG.getConstant(Offset, PtrTy)); 3587 EVT PtrTy = getPointerTy(), RegTy = MVT::getIntegerVT(RegSizeInBytes * 8); local 3597 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg, 3598 DAG.getConstant(OffsetInBytes, PtrTy)); [all...] |
H A D | MipsSEISelLowering.cpp | 2153 EVT PtrTy = Address->getValueType(0); local 2155 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset); 2221 EVT PtrTy = Address->getValueType(0); local 2223 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset);
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 3717 const PointerType *PtrTy = dyn_cast<PointerType>(Ptr->getType()); local 3718 if (!PtrTy || PtrTy->isAggregateType()) 3748 DL->getTypeAllocSize(PtrTy->getElementType()); 4267 const PointerType *PtrTy = cast<PointerType>(Ty); local 4268 if (PtrTy->getElementType()->isAggregateType()) { 4298 bool IsInAddressSpaceZero = PtrTy->getAddressSpace() == 0; 4316 int64_t Size = DL->getTypeAllocSize(PtrTy->getElementType()); 5765 Type *PtrTy = ToVectorTy(Ptr->getType(), VF); 5768 Cost += TTI.getVectorInstrCost(Instruction::ExtractElement, PtrTy, [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombine.h | 230 Type *FindElementAtOffset(Type *PtrTy, int64_t Offset,
|
H A D | InstCombineCasts.cpp | 1504 Type *PtrTy = DL->getIntPtrType(CI.getContext(), AS); 1506 PtrTy = VectorType::get(PtrTy, Ty->getVectorNumElements()); 1508 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), PtrTy);
|
H A D | InstructionCombining.cpp | 865 Type *InstCombiner::FindElementAtOffset(Type *PtrTy, int64_t Offset, argument 867 assert(PtrTy->isPtrOrPtrVectorTy()); 872 Type *Ty = PtrTy->getPointerElementType(); 879 Type *IntPtrTy = DL->getIntPtrType(PtrTy);
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 2758 PointerType *PtrTy = cast<PointerType>(Ops[0]->getType()->getScalarType()); local 2766 Type *LastType = GetElementPtrInst::getIndexedType(PtrTy, Ops.slice(1)); 2767 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace()); 2779 Type *Ty = PtrTy->getElementType();
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 324 IntegerType *PtrTy = cast<IntegerType>(DL->getIntPtrType(V->getType())); 328 return ConstantInt::get(PtrTy, 0); 335 if (CI->getType() == PtrTy) 339 (ConstantExpr::getIntegerCast(CI, PtrTy, /*isSigned=*/false));
|