Searched refs:PtrTy (Results 1 - 25 of 71) sorted by relevance

123

/external/clang/include/clang/Sema/
H A DOwnership.h38 /// \tparam PtrTy Either a pointer type like 'T*' or a type that behaves like
42 /// doesn't know about but that Sema or another client does. The PtrTy
45 template <class PtrTy>
50 typedef llvm::PointerLikeTypeTraits<PtrTy> Traits;
55 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; }
67 /// from PtrTy to PtrT.
75 PtrTy get() const {
79 void set(PtrTy P) {
144 template<class PtrTy,
145 bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>
[all...]
/external/clang/test/Index/
H A Dcomment-cplus-template-decls.cpp72 // CHECK: <Declaration>template &lt;class PtrTy&gt; class OpaquePtr {}</Declaration>
75 /// \tparam PtrTy Either a pointer type like 'T*' or a type that behaves like
77 template <class PtrTy>
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
H A DSmallPtrSet.h172 template<typename PtrTy>
174 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
177 typedef PtrTy value_type;
178 typedef PtrTy reference;
179 typedef PtrTy pointer;
188 const PtrTy operator*() const {
/external/llvm/tools/lli/
H A DOrcLazyJIT.cpp103 template <typename PtrTy>
104 static PtrTy fromTargetAddress(orc::TargetAddress Addr) {
105 return reinterpret_cast<PtrTy>(static_cast<uintptr_t>(Addr));
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DStackProtector.cpp168 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); local
175 PointerType::get(PtrTy, AddressSpace));
177 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy);
183 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
/external/llvm/lib/Target/AMDGPU/
H A DSITypeRewriter.cpp76 Type *PtrTy = Ptr->getType(); local
77 Type *ElemTy = PtrTy->getPointerElementType();
81 PointerType::get(v4i32,PtrTy->getPointerAddressSpace()));
H A DAMDGPUPromoteAlloca.cpp137 PointerType *PtrTy = dyn_cast<PointerType>(ParamTy); local
138 if (PtrTy && PtrTy->getAddressSpace() == AMDGPUAS::LOCAL_ADDRESS) {
/external/llvm/include/llvm/ADT/
H A DSmallPtrSet.h231 template<typename PtrTy>
233 typedef PointerLikeTypeTraits<PtrTy> PtrTraits;
236 typedef PtrTy value_type;
237 typedef PtrTy reference;
238 typedef PtrTy pointer;
247 const PtrTy operator*() const {
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h160 template <typename PtrTy>
161 TargetAddress toTargetAddress(PtrTy* P) {
/external/llvm/lib/IR/
H A DIRBuilder.cpp215 PointerType *PtrTy = cast<PointerType>(Ptr->getType()); local
216 Type *DataTy = PtrTy->getElementType();
220 Type *OverloadedTypes[] = { DataTy, PtrTy };
234 PointerType *PtrTy = cast<PointerType>(Ptr->getType()); local
235 Type *DataTy = PtrTy->getElementType();
237 Type *OverloadedTypes[] = { DataTy, PtrTy };
266 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); local
268 Type *DataTy = VectorType::get(PtrTy->getElementType(), NumElts);
295 auto PtrTy = cast<PointerType>(PtrsTy->getElementType()); local
297 PtrTy
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp182 Type *PtrTy = Ty->getPointerTo(); local
185 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr));
189 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, nullptr));
213 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr));
219 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, nullptr));
283 Type *PtrTy = cast<PointerType>(Addr->getType()->getScalarType()); local
284 if (PtrTy->getPointerAddressSpace() != 0)
576 Type *PtrTy = Ty->getPointerTo(); local
577 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
597 Type *PtrTy local
614 Type *PtrTy = Ty->getPointerTo(); local
628 Type *PtrTy = Ty->getPointerTo(); local
[all...]
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp138 llvm::PointerType *PtrTy; member in class:__anon1230::CGObjCGNU
740 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy,
741 PtrTy, PtrTy, IntTy, IMPTy, nullptr);
753 EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, nullptr);
758 PtrTy, nullptr);
762 EnterCatchFn.init(&CGM, "objc_begin_catch", IdTy, PtrTy, nullptr);
767 PtrTy, nullptr);
780 CxxAtomicObjectSetFn.init(&CGM, "objc_setCppObjectAtomic", VoidTy, PtrTy,
[all...]
H A DCGBuilder.h170 auto PtrTy = Ty->getPointerTo(Addr.getAddressSpace()); local
171 return CreateBitCast(Addr, PtrTy, Name);
/external/llvm/lib/ExecutionEngine/Orc/
H A DOrcCBindingsStack.h111 template <typename PtrTy>
112 static PtrTy fromTargetAddress(orc::TargetAddress Addr) {
113 return reinterpret_cast<PtrTy>(static_cast<uintptr_t>(Addr));
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp64 PointerType *PtrTy; member in class:__anon13416::Scatterer
188 PtrTy = dyn_cast<PointerType>(Ty);
189 if (PtrTy)
190 Ty = PtrTy->getElementType();
207 if (PtrTy) {
210 PointerType::get(PtrTy->getElementType()->getVectorElementType(),
211 PtrTy->getAddressSpace());
/external/llvm/lib/Analysis/
H A DVectorUtils.cpp159 auto *PtrTy = dyn_cast<PointerType>(Ptr->getType()); local
160 if (!PtrTy || PtrTy->isAggregateType())
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
H A DSPUISelDAGToDAG.cpp406 EVT PtrTy = SPUtli.getPointerTy(); local
415 Base = CurDAG->getTargetConstant(0, PtrTy);
416 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
426 Base = CurDAG->getTargetConstant(0, PtrTy);
441 Base = CurDAG->getTargetConstant(offset, PtrTy);
442 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
446 Base = CurDAG->getTargetConstant(offset, PtrTy);
462 Base = CurDAG->getTargetConstant(offset, PtrTy);
463 Index = CurDAG->getTargetFrameIndex(FI, PtrTy);
467 Base = CurDAG->getTargetConstant(offset, PtrTy);
[all...]
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h81 int getAddressComputationCost(Type *PtrTy, bool IsComplex);
/external/llvm/lib/CodeGen/
H A DStackProtector.cpp322 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); local
323 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot");
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp29 if (const PointerType *PtrTy = T->getAs<PointerType>())
30 T = PtrTy->getPointeeType();
685 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) {
686 CanonicalSubT = PtrTy->getPointeeType();
704 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>())
705 CanonicalSuperT = PtrTy->getPointeeType();
/external/llvm/unittests/IR/
H A DConstantsTest.cpp377 Type *PtrTy = PointerType::get(IntTy, 0); local
385 new GlobalVariable(*M, PtrTy, false, GlobalValue::ExternalLinkage, GEP);
388 auto *Global = new GlobalVariable(*M, PtrTy, false,
473 auto *PtrTy = PointerType::get(i32, 0); local
474 auto *C = ConstantExpr::getBitCast(G, PtrTy);
/external/llvm/unittests/Transforms/Utils/
H A DValueMapperTest.cpp69 auto *PtrTy = Type::getInt8Ty(Context)->getPointerTo(); local
71 PtrTy, false, GlobalValue::ExternalLinkage, nullptr, "G0");
73 PtrTy, false, GlobalValue::ExternalLinkage, nullptr, "G1");
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp366 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); local
392 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType());
397 LastOffset, PtrTy);
412 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType());
417 LastOffset, PtrTy);
844 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); local
859 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType());
865 svalBuilder.evalBinOpLN(state, BO_Add, *BufLoc, LastOffset, PtrTy);
H A DGenericTaintChecker.cpp598 if (const PointerType * PtrTy =
600 if (PtrTy->getPointeeType() == C.getASTContext().getFILEType())
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1830 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize); local
1837 Entry.Ty = PtrTy;
1842 .setCallee(CallingConv::C, PtrTy, TlsGetAddr, std::move(Args));
3743 EVT PtrTy = getPointerTy(DAG.getDataLayout()); local
3745 SDValue FIN = DAG.getFrameIndex(FI, PtrTy);
3759 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN,
3760 DAG.getConstant(Offset, DL, PtrTy));
3780 EVT PtrTy = getPointerTy(DAG.getDataLayout()), local
3791 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg,
3792 DAG.getConstant(OffsetInBytes, DL, PtrTy));
[all...]

Completed in 2130 milliseconds

123