Home
last modified time | relevance | path

Searched refs:PointeeType (Results 1 – 25 of 68) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousMemoryComparisonCheck.cpp49 const Type *PointeeType = ArgType->getPointeeOrArrayElementType(); in check() local
50 assert(PointeeType != nullptr && "PointeeType should always be available."); in check()
51 QualType PointeeQualifiedType(PointeeType, 0); in check()
53 if (PointeeType->isRecordType()) { in check()
55 PointeeType->getAsRecordDecl()->getDefinition()) { in check()
68 if (!PointeeType->isIncompleteType()) { in check()
69 uint64_t PointeeSize = Ctx.getTypeSize(PointeeType); in check()
76 << PointeeQualifiedType << (PointeeType->isRecordType() ? 1 : 0); in check()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp179 auto PointeeType = Symbol.getPointeeType(); in dump() local
180 if (!PointeeType) in dump()
182 PointeeType->dump(*this); in dump()
183 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
188 } else if (isa<PDBSymbolTypeArray>(PointeeType)) { in dump()
202 auto PointeeType = Symbol.getPointeeType(); in dumpRight() local
203 assert(PointeeType); in dumpRight()
204 if (!PointeeType) in dumpRight()
206 if (isa<PDBSymbolTypeFunctionSig>(PointeeType) || in dumpRight()
207 isa<PDBSymbolTypeArray>(PointeeType)) { in dumpRight()
[all …]
H A DPrettyTypedefDumper.cpp60 auto PointeeType = Symbol.getPointeeType(); in dump() local
61 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
68 PointeeType->dump(*this); in dump()
H A DPrettyFunctionDumper.cpp246 auto PointeeType = Symbol.getPointeeType(); in dump() local
247 if (!PointeeType) in dump()
250 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
260 PointeeType->dump(*this); in dump()
/llvm-project-15.0.7/libc/src/string/memory_utils/
H A Daddress.h51 using PointeeType = cpp::ConditionalType<!IS_WRITE, const ubyte, ubyte>; member
54 Address(VoidType *ptr) : ptr_(reinterpret_cast<PointeeType *>(ptr)) {} in Address()
56 PointeeType *ptr() const { in ptr()
57 return reinterpret_cast<PointeeType *>( in ptr()
61 PointeeType *const ptr_;
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp370 return DACtx->getOrCreateNullPointerValue(PointeeType); in getOrCreateNullPointerValue()
459 QualType PointeeType = Type->castAs<ReferenceType>()->getPointeeType(); in createValueUnlessSelfReferential() local
460 auto &PointeeLoc = createStorageLocation(PointeeType); in createValueUnlessSelfReferential()
462 if (Visited.insert(PointeeType.getCanonicalType()).second) { in createValueUnlessSelfReferential()
464 PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
465 Visited.erase(PointeeType.getCanonicalType()); in createValueUnlessSelfReferential()
476 QualType PointeeType = Type->castAs<PointerType>()->getPointeeType(); in createValueUnlessSelfReferential() local
477 auto &PointeeLoc = createStorageLocation(PointeeType); in createValueUnlessSelfReferential()
479 if (Visited.insert(PointeeType.getCanonicalType()).second) { in createValueUnlessSelfReferential()
481 PointeeType, Visited, Depth, CreatedValuesCount); in createValueUnlessSelfReferential()
[all …]
H A DDataflowAnalysisContext.cpp61 DataflowAnalysisContext::getOrCreateNullPointerValue(QualType PointeeType) { in getOrCreateNullPointerValue() argument
63 PointeeType.isNull() ? PointeeType : PointeeType.getCanonicalType(); in getOrCreateNullPointerValue()
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dtypes-ptr-to-member.ll30 ; CHECK: PointeeType: int (0x74)
43 ; CHECK: PointeeType: int (0x74)
56 ; CHECK: PointeeType: int (0x74)
69 ; CHECK: PointeeType: int (0x74)
85 ; CHECK: PointeeType: void A::()
98 ; CHECK: PointeeType: void C::()
111 ; CHECK: PointeeType: void D::()
124 ; CHECK: PointeeType: void E::()
139 ; CHECK: PointeeType: int
154 ; CHECK: PointeeType: void Incomplete::()
H A Dtype-quals.ll55 ; CHECK: PointeeType: const volatile int (0x1000)
101 ; CHECK: PointeeType: int (0x74)
113 ; CHECK: PointeeType: float (0x40)
125 ; CHECK: PointeeType: int (0x74)
169 ; CHECK: PointeeType: const int (0x100D)
181 ; CHECK: PointeeType: int (0x74)
263 ; CHECK: PointeeType: h::Foo (0x1018)
323 ; CHECK: PointeeType: int (0x74)
337 ; CHECK: PointeeType: int h::Foo::(int) (0x101B)
357 ; CHECK: PointeeType: h::Foo (0x1018)
H A Dtypes-basic.ll73 ; CHECK: PointeeType: const int (0x1003)
95 ; CHECK: PointeeType: int (0x74)
107 ; CHECK: PointeeType: A (0x1005)
171 ; CHECK: PointeeType: void A::() (0x1009)
190 ; CHECK: PointeeType: const void (0x100F)
386 ; ASM: .long 0x1003 # PointeeType: const int
401 ; ASM: .long 0x74 # PointeeType: int
410 ; ASM: .long 0x1005 # PointeeType: A
466 ; ASM: .long 0x1009 # PointeeType: void A::()
482 ; ASM: .long 0x100f # PointeeType: const void
H A Dtypes-method-ref-qualifiers.ll92 ; CHECK: PointeeType: A (0x1003)
118 ; CHECK: PointeeType: A (0x1003)
144 ; CHECK: PointeeType: A (0x1003)
H A Ddefer-complete-type.ll33 ; CHECK: PointeeType: A (0x1000)
74 ; CHECK: PointeeType: B (0x1004)
H A Dtypes-data-members.ll251 ; CHECK: PointeeType: const int (0x1004)
266 ; CHECK: PointeeType: <vftable 1 methods> (0x1013)
364 ; CHECK: PointeeType: DerivedClass (0x1011)
595 ; ASM: .long 0x1004 # PointeeType: const int
606 ; ASM: .long 0x1013 # PointeeType: <vftable 1 methods>
691 ; ASM: .long 0x1011 # PointeeType: DerivedClass
714 ; ASM: .long 0x1011 # PointeeType: DerivedClass
H A Dtypes-array-advanced.ll56 ; CHECK: PointeeType: 0x1003
109 ; CHECK: PointeeType: 0x1009
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp190 QualType PointeeType = CastedType->getPointeeType(); in checkASTCodeBody() local
191 if (PointeeType->isVoidType()) in checkASTCodeBody()
206 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
211 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType)) in checkASTCodeBody()
231 OS << " is converted to a pointer of type '" << PointeeType in checkASTCodeBody()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dcodeview-merging-ghash.test34 # MERGED-NEXT: PointeeType: const volatile void (0x1001)
48 # MERGED-NEXT: PointeeType: const volatile void* const (0x1003)
62 # MERGED-NEXT: PointeeType: const volatile void* const* const (0x1004)
76 # MERGED-NEXT: PointeeType: const volatile void* const* const* const (0x1005)
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp2059 if (is64Bit && (PointeeType.isNull() || !PointeeType->isFunctionType())) in manglePointerExtQualifiers()
2066 (!PointeeType.isNull() && PointeeType.getLocalQualifiers().hasUnaligned())) in manglePointerExtQualifiers()
2946 QualType PointeeType = T->getPointeeType(); in mangleType() local
2956 mangleType(PointeeType, Range, QMM_Drop); in mangleType()
2983 QualType PointeeType = T->getPointeeType(); in mangleType() local
2991 mangleType(PointeeType, Range); in mangleType()
2993 mangleAddressSpaceType(PointeeType, PointeeType.getQualifiers(), Range); in mangleType()
2998 QualType PointeeType = T->getPointeeType(); in mangleType() local
3010 mangleType(PointeeType, Range); in mangleType()
3022 mangleType(PointeeType, Range); in mangleType()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallSet.h257 template <typename PointeeType, unsigned N>
258 class SmallSet<PointeeType*, N> : public SmallPtrSet<PointeeType*, N> {};
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTypes.cpp657 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
659 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
665 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType() local
666 if (PointeeType->isVoidTy()) in ConvertType()
667 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType()
669 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
769 llvm::Type *PointeeType = CGM.getLangOpts().OpenCL in ConvertType() local
779 ResultType = llvm::PointerType::get(PointeeType, AS); in ConvertType()
/llvm-project-15.0.7/libc/spec/
H A Dspec.td27 Type PointeeType = type;
35 Type PointeeType = type;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h2715 QualType PointeeType;
2719 PointeeType(Pointee) {}
2796 QualType PointeeType;
2800 PointeeType(Pointee) {}
2824 QualType PointeeType;
2830 PointeeType(Referencee) {
2846 return T->PointeeType;
2906 QualType PointeeType;
3224 QualType PointeeType;
6210 QualType PointeeType;
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h939 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
942 inline GetElementPtrInst(Type *PointeeType, Value *Ptr,
960 assert(PointeeType && "Must specify element type");
962 ->isOpaqueOrPointeeTypeMatches(PointeeType));
972 assert(PointeeType && "Must specify element type");
974 ->isOpaqueOrPointeeTypeMatches(PointeeType));
996 Create(PointeeType, Ptr, IdxList, NameStr, InsertAtEnd);
1155 SourceElementType(PointeeType),
1156 ResultElementType(getIndexedType(PointeeType, IdxList)) {
1169 SourceElementType(PointeeType),
[all …]
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/
H A Dmissing-type.s54 .long 0x670 # PointeeType: char*
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h48 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
919 InstructionCost getGEPCost(Type *PointeeType, const Value *Ptr, in getGEPCost() argument
922 assert(PointeeType && Ptr && "can't get GEPCost of nullptr"); in getGEPCost()
924 ->isOpaqueOrPointeeTypeMatches(PointeeType) && in getGEPCost()
933 auto GTI = gep_type_begin(PointeeType, Operands); in getGEPCost()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h222 PointerValue &getOrCreateNullPointerValue(QualType PointeeType);

123