Home
last modified time | relevance | path

Searched refs:PointerTy (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm/include/llvm/ADT/
DPointerIntPair.h43 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
51 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
54 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
56 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
62 void setPointer(PointerTy PtrVal) { in setPointer()
70 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
74 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
79 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DPointerIntPair.h43 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
44 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
45 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
51 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
54 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
56 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
62 void setPointer(PointerTy PtrVal) { in setPointer()
70 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
74 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
79 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPointerIntPair.h42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
57 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
59 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
63 void setPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in setPointer()
71 void initWithPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in initWithPointer()
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt()
80 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DPointerIntPair.h42 template <typename PointerTy, unsigned IntBits, typename IntType = unsigned,
43 typename PtrTraits = PointerLikeTypeTraits<PointerTy>,
44 typename Info = PointerIntPairInfo<PointerTy, IntBits, PtrTraits>>
53 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
57 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair()
59 PointerTy getPointer() const { return Info::getPointer(Value); } in getPointer()
63 void setPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in setPointer()
71 void initWithPointer(PointerTy PtrVal) LLVM_LVALUE_FUNCTION { in initWithPointer()
75 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) LLVM_LVALUE_FUNCTION { in setPointerAndInt()
80 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
[all …]
/external/llvm-project/clang/test/Analysis/
Dstack-frame-context-revision.cpp11 template <typename PointerTy>
13 PointerTy getFromVoidPointer(void *P) const { in getFromVoidPointer()
14 return static_cast<PointerTy>(P); in getFromVoidPointer()
17 PointerTy getPointer() const { in getPointer()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DGenericValue.h21 using PointerTy = void *; variable
31 PointerTy PointerVal;
/external/llvm/include/llvm/ExecutionEngine/
DGenericValue.h24 typedef void* PointerTy; typedef
35 PointerTy PointerVal;
/external/llvm-project/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp27 template <typename PointerTy, unsigned IntBits, typename IntType,
30 PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>> {
31 typedef typename RemovePointer<PointerTy>::type type;
/external/llvm-project/polly/lib/CodeGen/
DIslExprBuilder.cpp273 auto PointerTy = PointerType::get(SAI->getElementType(), in createAccessAddress() local
275 if (Base->getType() != PointerTy) { in createAccessAddress()
277 Builder.CreateBitCast(Base, PointerTy, "polly.access.cast." + BaseName); in createAccessAddress()
DBlockGenerators.cpp1041 auto *PointerTy = cast<PointerType>(Val->getType()); in getVectorPtrTy() local
1042 unsigned AddrSpace = PointerTy->getAddressSpace(); in getVectorPtrTy()
1044 Type *ScalarType = PointerTy->getElementType(); in getVectorPtrTy()
/external/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp743 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1040 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1043 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1086 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp747 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1065 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1068 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1137 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp749 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1044 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1047 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1089 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1580 APInt Offset, Type *PointerTy, Twine NamePrefix) { in getAdjustedPtr() argument
1598 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr()
1605 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr()
1634 if (P->getType() == PointerTy) in getAdjustedPtr()
1660 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr()
2389 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2417 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr()
2418 PointerTy, in getNewAllocaSlicePtr()
3096 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local
3097 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSROA.cpp1588 APInt Offset, Type *PointerTy, in getAdjustedPtr() argument
1607 PointerType *TargetPtrTy = cast<PointerType>(PointerTy); in getAdjustedPtr()
1614 PointerTy = TargetTy->getPointerTo(AS); in getAdjustedPtr()
1643 if (P->getType() == PointerTy) in getAdjustedPtr()
1669 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr()
2412 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2440 APInt(DL.getIndexTypeSizeInBits(PointerTy), Offset), in getNewAllocaSlicePtr()
2441 PointerTy, in getNewAllocaSlicePtr()
3131 Type *PointerTy = IRB.getInt8PtrTy(OldPtr->getType()->getPointerAddressSpace()); in visitIntrinsicInst() local
3132 Value *Ptr = getNewAllocaSlicePtr(IRB, PointerTy); in visitIntrinsicInst()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp412 llvm::PointerType *PointerTy = Int8PtrTy; in EmitFunctionInstrumentation() local
413 llvm::Type *ProfileFuncArgs[] = { PointerTy, PointerTy }; in EmitFunctionInstrumentation()
424 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation()
DItaniumCXXABI.cpp2586 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument
2587 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary()
2611 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local
2612 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor()
2674 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local
2675 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1494 APInt Offset, Type *PointerTy, Twine NamePrefix) { in getAdjustedPtr() argument
1512 Type *TargetTy = PointerTy->getPointerElementType(); in getAdjustedPtr()
1541 if (P->getType() == PointerTy) in getAdjustedPtr()
1567 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr()
1581 if (Ptr->getType() != PointerTy) in getAdjustedPtr()
1582 Ptr = IRB.CreateBitCast(Ptr, PointerTy, NamePrefix + "sroa_cast"); in getAdjustedPtr()
2272 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2300 APInt(DL.getPointerSizeInBits(), Offset), PointerTy, in getNewAllocaSlicePtr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h1236 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace()));
1237 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1254 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace()));
1255 Elm = PointerTy.getTypeForEVT(Ty->getContext());
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h1392 EVT PointerTy(getPointerTy(DL, PTy->getAddressSpace()));
1393 EltTy = PointerTy.getTypeForEVT(Ty->getContext());
1410 EVT PointerTy(getPointerMemTy(DL, PT->getAddressSpace()));
1411 Elm = PointerTy.getTypeForEVT(Ty->getContext());
/external/llvm-project/clang/lib/CodeGen/
DItaniumCXXABI.cpp3227 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument
3228 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary()
3252 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local
3253 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor()
3322 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local
3323 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
/external/llvm/include/llvm/Target/
DTargetLowering.h806 EVT PointerTy(getPointerTy(DL, PT->getAddressSpace()));
807 Elm = PointerTy.getTypeForEVT(Ty->getContext());
/external/clang/lib/Sema/
DSemaStmt.cpp2295 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2296 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2298 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp2583 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2584 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2586 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()

12