Home
last modified time | relevance | path

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

/src/contrib/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;
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp585 const MDNode *CommonType, in mayBeAccessToSubobjectOf() argument
591 BaseTag.getAccessType() == CommonType) { in mayBeAccessToSubobjectOf()
593 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
619 createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
642 *GenericTag = createAccessTag(CommonType); in mayBeAccessToSubobjectOf()
675 const MDNode *CommonType = getLeastCommonType(TagA.getAccessType(), in matchAccessTags() local
680 if (!CommonType) { in matchAccessTags()
690 CommonType, GenericTag, MayAlias) || in matchAccessTags()
692 CommonType, GenericTag, MayAlias)) in matchAccessTags()
697 *GenericTag = createAccessTag(CommonType); in matchAccessTags()
/src/contrib/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 …]
/src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.h44 struct BTF::CommonType BTFType;
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3760 void destroyNewNodes(Type *CommonType) { in destroyNewNodes() argument
3762 auto *Dummy = PoisonValue::get(CommonType); in destroyNewNodes()
3792 Type *CommonType = nullptr; member in __anon132ce9ad0d11::AddressingModeCombiner
3922 if (CommonType && CommonType != Type) in initializeMap()
3924 CommonType = Type; in initializeMap()
3930 assert(CommonType && "At least one non-null value must be!"); in initializeMap()
3932 Map[V] = Constant::getNullValue(CommonType); in initializeMap()
3978 ST.destroyNewNodes(CommonType); in findCommon()
3985 ST.destroyNewNodes(CommonType); in findCommon()
4142 auto *Dummy = PoisonValue::get(CommonType); in InsertPlaceholders()
[all …]
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp418 llvm::Type *CommonType = Elems[0]->getType(); in buildFrom() local
419 llvm::Constant *Filler = llvm::Constant::getNullValue(CommonType); in buildFrom()
428 if (Elems[I]->getType() != CommonType || in buildFrom()
438 return EmitArrayConstant(CGM, ATy, CommonType, ATy->getNumElements(), in buildFrom()