/external/clang/include/clang/Sema/ |
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>::value [all...] |
/external/clang/test/Index/ |
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/ |
SmallPtrSet.h | 181 template<typename PtrTy> 183 typedef PointerLikeTypeTraits<PtrTy> PtrTraits; 186 typedef PtrTy value_type; 187 typedef PtrTy reference; 188 typedef PtrTy pointer; 197 const PtrTy operator*() const {
|
/external/llvm/lib/Target/AMDGPU/ |
SITypeRewriter.cpp | 76 Type *PtrTy = Ptr->getType(); 77 Type *ElemTy = PtrTy->getPointerElementType(); 81 PointerType::get(v4i32,PtrTy->getPointerAddressSpace()));
|
/external/llvm/tools/lli/ |
OrcLazyJIT.cpp | 128 template <typename PtrTy> 129 static PtrTy fromTargetAddress(orc::TargetAddress Addr) { 130 return reinterpret_cast<PtrTy>(static_cast<uintptr_t>(Addr));
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
ExecutionUtils.h | 160 template <typename PtrTy> 161 TargetAddress toTargetAddress(PtrTy* P) {
|
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 335 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); 342 ConstantExpr::getIntToPtr(OffsetVal, PointerType::get(PtrTy, 345 StackGuardVar = M->getOrInsertGlobal("__guard_local", PtrTy); 350 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy); 354 AI = B.CreateAlloca(PtrTy, nullptr, "StackGuardSlot");
|
/external/clang/lib/CodeGen/ |
CGObjCGNU.cpp | 140 llvm::PointerType *PtrTy; [all...] |
CGBuilder.h | 178 auto PtrTy = Ty->getPointerTo(Addr.getAddressSpace()); 179 return CreateBitCast(Addr, PtrTy, Name);
|
CGOpenMPRuntime.cpp | [all...] |
ItaniumCXXABI.cpp | [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 168 Type *PtrTy = Ty->getPointerTo(); 171 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); 175 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, nullptr)); 199 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); 205 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, nullptr)); 517 Type *PtrTy = Ty->getPointerTo(); 518 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), 531 Type *PtrTy = Ty->getPointerTo(); 532 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), 548 Type *PtrTy = Ty->getPointerTo() [all...] |
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.h | 118 template <typename PtrTy> 119 static PtrTy fromTargetAddress(orc::TargetAddress Addr) { 120 return reinterpret_cast<PtrTy>(static_cast<uintptr_t>(Addr));
|
/external/llvm/lib/Target/X86/ |
X86TargetTransformInfo.h | 80 int getAddressComputationCost(Type *PtrTy, bool IsComplex);
|
/external/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 65 PointerType *PtrTy; 189 PtrTy = dyn_cast<PointerType>(Ty); 190 if (PtrTy) 191 Ty = PtrTy->getElementType(); 208 if (PtrTy) { 211 PointerType::get(PtrTy->getElementType()->getVectorElementType(), 212 PtrTy->getAddressSpace());
|
/external/llvm/lib/Analysis/ |
VectorUtils.cpp | 290 auto *PtrTy = dyn_cast<PointerType>(Ptr->getType()); 291 if (!PtrTy || PtrTy->isAggregateType()) 322 DL.getTypeAllocSize(PtrTy->getElementType());
|
LoopAccessAnalysis.cpp | 828 auto *PtrTy = cast<PointerType>(Ty); 829 if (PtrTy->getElementType()->isAggregateType()) { [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | 29 if (const PointerType *PtrTy = T->getAs<PointerType>()) 30 T = PtrTy->getPointeeType(); 679 if (const PointerType *PtrTy = CanonicalSubT->getAs<PointerType>()) { 680 CanonicalSubT = PtrTy->getPointeeType(); 698 if (const PointerType *PtrTy = CanonicalSuperT->getAs<PointerType>()) 699 CanonicalSuperT = PtrTy->getPointeeType(); [all...] |
/external/llvm/unittests/IR/ |
ConstantsTest.cpp | 352 Type *PtrTy = PointerType::get(IntTy, 0); 360 new GlobalVariable(*M, PtrTy, false, GlobalValue::ExternalLinkage, GEP); 363 auto *Global = new GlobalVariable(*M, PtrTy, false, 448 auto *PtrTy = PointerType::get(i32, 0); 449 auto *C = ConstantExpr::getBitCast(G, PtrTy);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 362 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); 388 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); 393 LastOffset, PtrTy); 408 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); 413 LastOffset, PtrTy); [all...] |
GenericTaintChecker.cpp | 598 if (const PointerType * PtrTy = 600 if (PtrTy->getPointeeType() == C.getASTContext().getFILEType())
|
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonCommonGEP.cpp | 361 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); 368 Nx->PTy = PtrTy; 374 PtrTy = next_type(PtrTy, Op); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAGBuilder.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | [all...] |