Home
last modified time | relevance | path

Searched refs:CommonType (Results 1 – 11 of 11) sorted by relevance

/llvm-project/libcxx/test/std/iterators/iterator.requirements/alg.req.ind.move/
H A Dindirectly_movable_storable.compile.pass.cpp96 struct CommonType { }; struct
99 operator CommonType&() const;
104 operator CommonType&() const;
114 using type = NotConstructibleFromRefIn::CommonType&;
120 using type = NotConstructibleFromRefIn::CommonType&;
138 struct CommonType { }; struct
141 operator CommonType&() const;
147 operator CommonType&() const;
157 using type = NotAssignableFromRefIn::CommonType&;
163 using type = NotAssignableFromRefIn::CommonType&;
/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h107 struct CommonType { struct
316 struct ArrayType final : CommonType,
321 static bool classof(const CommonType *V) { in BTF_DEFINE_TAIL()
326 struct StructType final : CommonType,
331 static bool classof(const CommonType *V) { in BTF_DEFINE_TAIL_ARR()
336 struct EnumType final : CommonType, private TrailingObjects<EnumType, BTFEnum> {
340 static bool classof(const CommonType *V) { in BTF_DEFINE_TAIL_ARR()
345 struct Enum64Type final : CommonType,
350 static bool classof(const CommonType *V) { in BTF_DEFINE_TAIL_ARR()
H A DBTFParser.h62 std::vector<const BTF::CommonType *> Types;
102 const BTF::CommonType *findType(uint32_t Id) const;
/llvm-project/libcxx/test/std/iterators/iterator.requirements/alg.req.ind.copy/
H A Dindirectly_copyable_storable.compile.pass.cpp227 struct CommonType { }; struct
235 operator CommonType&() const;
239 operator CommonType&() const;
249 using type = CommonType&;
255 using type = CommonType&;
277 operator CommonType&() const;
281 operator CommonType&() const;
291 using type = CommonType&;
297 using type = CommonType&;
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DEasilySwappableParametersCheck.cpp395 QualType CommonType; member
406 MixData(MixFlags Flags, QualType CommonType) in MixData()
407 : Flags(Flags), CommonType(CommonType) {} in MixData()
412 MixData(MixFlags Flags, QualType CommonType, ConversionSequence LTR, in MixData()
414 : Flags(Flags), CommonType(CommonType), Conversion(LTR), in MixData()
470 M.CommonType = CommonType; in operator |()
473 return {Flags | EnableFlags, CommonType, Conversion, ConversionRTL}; in operator |()
483 if (CommonType.isNull()) in withCommonTypeTransformed()
486 QualType NewCommonType = Func(CommonType); in withCommonTypeTransformed()
490 M.CommonType = NewCommonType; in withCommonTypeTransformed()
[all …]
/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp579 /// \p CommonType must be the metadata node describing the common type of the
585 const MDNode *CommonType, in mayBeAccessToSubobjectOf() argument
591 BaseTag.getAccessType() == CommonType) { in mayBeAccessToSubobjectOf()
593 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
621 MayAlias ? SubobjectTag.getNode() : createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
643 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
676 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), in matchAccessTags()
681 if (!CommonType) { in matchAccessTags()
691 CommonType, GenericTag, MayAlias) || in matchAccessTags()
693 CommonType, GenericTa in matchAccessTags()
675 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), matchAccessTags() local
[all...]
/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp154 static size_t byteSize(BTF::CommonType *Type) { in byteSize()
155 size_t Size = sizeof(BTF::CommonType); in byteSize()
191 const BTF::CommonType VoidTypeInst = {0, BTF::BTF_KIND_UNKN << 24, {0}};
224 BTF::CommonType *Type = (BTF::CommonType *)&TypesBuffer[Pos]; in parseTypesInfo()
458 const BTF::CommonType *BTFParser::findType(uint32_t Id) const { in findType()
494 static bool isMod(const BTF::CommonType *Type) { in isMod()
506 static bool printMod(const BTFParser &BTF, const BTF::CommonType *Type, in printMod()
527 static const BTF::CommonType *skipModsAndTypedefs(const BTFParser &BTF, in skipModsAndTypedefs()
528 const BTF::CommonType *Type) { in skipModsAndTypedefs()
690 const BTF::CommonType *Type = findType(CurId); in symbolize()
[all …]
/llvm-project/llvm/unittests/DebugInfo/BTF/
H A DBTFParserTest.cpp390 uint32_t addType(const BTF::CommonType &Tp) { in addType()
573 const BTF::CommonType *Tp = BTF.findType(Id); in TEST()
597 const BTF::CommonType *Foo = BTF.findType(1); in TEST()
598 const BTF::CommonType *Big = BTF.findType(2); in TEST()
599 const BTF::CommonType *Bar = BTF.findType(3); in TEST()
611 auto IncompleteType = [&](const BTF::CommonType &Tp) { in TEST()
1004 const BTF::CommonType *Type = BTF.findType(Relo->TypeID); in TEST()
/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h44 struct BTF::CommonType BTFType;
/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4047 void destroyNewNodes(Type *CommonType) { in MatchPhiNode()
4049 auto *Dummy = PoisonValue::get(CommonType);
4079 Type *CommonType = nullptr; in MatchPhiSet()
4198 /// use to create new Phi/Select nodes. Keep it in CommonType field.
4209 if (CommonType && CommonType != Type) in matchScaledValue()
4211 CommonType = Type; in matchScaledValue()
4217 assert(CommonType && "At least one non-null value must be!"); in matchScaledValue()
4219 Map[V] = Constant::getNullValue(CommonType); in matchScaledValue()
4265 ST.destroyNewNodes(CommonType); in matchScaledValue()
3760 destroyNewNodes(Type * CommonType) destroyNewNodes() argument
3792 Type *CommonType = nullptr; global() member in __anon072927cb0d11::AddressingModeCombiner
[all...]
/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp425 llvm::Type *CommonType = Elems[0]->getType(); in buildFrom()
426 llvm::Constant *Filler = llvm::Constant::getNullValue(CommonType); in buildFrom()
435 if (Elems[I]->getType() != CommonType || in buildFrom()
445 return EmitArrayConstant(CGM, ATy, CommonType, ATy->getNumElements(), in buildFrom()
417 llvm::Type *CommonType = Elems[0]->getType(); buildFrom() local