Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DPointerIntPair.h41 template <typename PointerTy, unsigned IntBits, typename IntType=unsigned,
42 typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
68 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair()
71 explicit PointerIntPair(PointerTy PtrVal) { in PointerIntPair()
75 PointerTy getPointer() const { in getPointer()
84 void setPointer(PointerTy PtrVal) { in setPointer()
102 void initWithPointer(PointerTy PtrVal) { in initWithPointer()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) { in setPointerAndInt()
121 PointerTy const *getAddrOfPointer() const { in getAddrOfPointer()
125 PointerTy *getAddrOfPointer() { in getAddrOfPointer()
[all …]
/external/llvm/include/llvm/ExecutionEngine/
DGenericValue.h23 typedef void* PointerTy; typedef
34 PointerTy PointerVal;
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp752 GV.PointerVal = PointerTy(uintptr_t(GV.IntVal.getZExtValue())); in getConstantValue()
1070 if (StoreBytes != sizeof(PointerTy)) in StoreValueToMemory()
1073 *((PointerTy*)Ptr) = Val.PointerVal; in StoreValueToMemory()
1142 Result.PointerVal = *((PointerTy*)Ptr); in LoadValueFromMemory()
/external/clang/lib/CodeGen/
DCodeGenFunction.cpp404 llvm::PointerType *PointerTy = Int8PtrTy; in EmitFunctionInstrumentation() local
405 llvm::Type *ProfileFuncArgs[] = { PointerTy, PointerTy }; in EmitFunctionInstrumentation()
416 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation()
DItaniumCXXABI.cpp2556 static bool TypeInfoIsInStandardLibrary(const PointerType *PointerTy) { in TypeInfoIsInStandardLibrary() argument
2557 QualType PointeeTy = PointerTy->getPointeeType(); in TypeInfoIsInStandardLibrary()
2581 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in IsStandardLibraryRTTIDescriptor() local
2582 return TypeInfoIsInStandardLibrary(PointerTy); in IsStandardLibraryRTTIDescriptor()
2644 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty)) in ContainsIncompleteClassType() local
2645 return ContainsIncompleteClassType(PointerTy->getPointeeType()); in ContainsIncompleteClassType()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1512 APInt Offset, Type *PointerTy, Twine NamePrefix) { in getAdjustedPtr() argument
1530 Type *TargetTy = PointerTy->getPointerElementType(); in getAdjustedPtr()
1559 if (P->getType() == PointerTy) in getAdjustedPtr()
1585 Ptr, IRB.getInt8PtrTy(PointerTy->getPointerAddressSpace()), in getAdjustedPtr()
1599 if (Ptr->getType() != PointerTy) in getAdjustedPtr()
1600 Ptr = IRB.CreateBitCast(Ptr, PointerTy, NamePrefix + "sroa_cast"); in getAdjustedPtr()
2288 Value *getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) { in getNewAllocaSlicePtr() argument
2316 APInt(DL.getPointerSizeInBits(), Offset), PointerTy, in getNewAllocaSlicePtr()
/external/llvm/include/llvm/Target/
DTargetLowering.h733 EVT PointerTy(getPointerTy(DL, PT->getAddressSpace()));
734 Elm = PointerTy.getTypeForEVT(Ty->getContext());
/external/clang/lib/Sema/
DSemaStmt.cpp2272 QualType PointerTy = PVD->getType(); in BuildCXXForRangeStmt() local
2273 if (PointerTy->isPointerType() && ArrayTy->isArrayType()) { in BuildCXXForRangeStmt()
2275 << RangeLoc << PVD << ArrayTy << PointerTy; in BuildCXXForRangeStmt()
DSemaOverload.cpp6882 const PointerType *PointerTy = Ty->getAs<PointerType>(); in AddPointerWithMoreQualifiedTypeVariants() local
6884 if (!PointerTy) { in AddPointerWithMoreQualifiedTypeVariants()
6889 PointeeTy = PointerTy->getPointeeType(); in AddPointerWithMoreQualifiedTypeVariants()
6949 const MemberPointerType *PointerTy = Ty->getAs<MemberPointerType>(); in AddMemberPointerWithMoreQualifiedTypeVariants() local
6950 assert(PointerTy && "type was not a member pointer type!"); in AddMemberPointerWithMoreQualifiedTypeVariants()
6952 QualType PointeeTy = PointerTy->getPointeeType(); in AddMemberPointerWithMoreQualifiedTypeVariants()
6959 const Type *ClassTy = PointerTy->getClass(); in AddMemberPointerWithMoreQualifiedTypeVariants()
DSemaExpr.cpp5891 QualType PointerTy) { in checkConditionalNullPointer() argument
5892 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) || in checkConditionalNullPointer()
5897 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer); in checkConditionalNullPointer()
DSemaChecking.cpp8352 if (const auto *PointerTy = dyn_cast<PointerType>(PType)) { in diagnoseArrayStarInParamType() local
8353 diagnoseArrayStarInParamType(S, PointerTy->getPointeeType(), Loc); in diagnoseArrayStarInParamType()
/external/llvm/include/llvm-c/
DCore.h985 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
/external/llvm/lib/IR/
DCore.cpp508 unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy) { in LLVMGetPointerAddressSpace() argument
509 return unwrap<PointerType>(PointerTy)->getAddressSpace(); in LLVMGetPointerAddressSpace()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1484 Dest.PointerVal = PointerTy(intptr_t(Src.IntVal.getZExtValue())); in executeIntToPtrInst()