Home
last modified time | relevance | path

Searched refs:BaseType (Results 1 – 25 of 131) sorted by relevance

123456

/llvm-project-15.0.7/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h61 using BaseType = RecursiveASTVisitor<Derived>; variable
70 bool Result = BaseType::TraverseObjCImplementationDecl(D); in TraverseObjCImplementationDecl()
75 bool Result = BaseType::TraverseObjCCategoryImplDecl(D); in TraverseObjCCategoryImplDecl()
85 if (BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Child)) { in TraverseDeclContextHelper()
91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
104 if (!BaseType::canIgnoreChildDeclWhileTraversingDeclContext(Sibling)) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
147 assert(!BaseType::getDerived().shouldTraversePostOrder() && in TraverseAdditionalLexicallyNestedDeclarations()
151 if (!BaseType::getDerived().TraverseDecl(D)) in TraverseAdditionalLexicallyNestedDeclarations()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DForwardingReferenceOverloadCheck.cpp33 const Type *BaseType = Node.getTypePtr(); in AST_MATCHER() local
35 while (BaseType->isPointerType() || BaseType->isReferenceType()) { in AST_MATCHER()
36 BaseType = BaseType->getPointeeType().getTypePtr(); in AST_MATCHER()
39 if (const auto *Dependent = BaseType->getAs<DependentNameType>()) { in AST_MATCHER()
40 BaseType = Dependent->getQualifier()->getAsType(); in AST_MATCHER()
42 if (!BaseType) in AST_MATCHER()
44 if (CheckTemplate(BaseType->getAs<TemplateSpecializationType>())) in AST_MATCHER()
46 if (const auto *Elaborated = BaseType->getAs<ElaboratedType>()) { in AST_MATCHER()
H A DCopyConstructorInitCheck.cpp49 const Type *BaseType = Init->getBaseClass(); in check() local
53 if (const auto *TempSpecTy = dyn_cast<TemplateSpecializationType>(BaseType)) in check()
55 ShouldNotDoFixit = ShouldNotDoFixit || isa<TypedefType>(BaseType); in check()
58 BaseType->getAsCXXRecordDecl()->getDefinition(); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprMember.cpp537 << SS.getRange() << rep << BaseType; in DiagnoseQualifiedMemberReference()
752 if (BaseType->isDependentType() || in BuildMemberReferenceExpr()
764 QualType RecordTy = BaseType; in BuildMemberReferenceExpr()
792 BaseType = Base->getType(); in BuildMemberReferenceExpr()
960 QualType BaseType = BaseExprType; in BuildMemberReferenceExpr() local
962 assert(BaseType->isPointerType()); in BuildMemberReferenceExpr()
963 BaseType = BaseType->castAs<PointerType>()->getPointeeType(); in BuildMemberReferenceExpr()
965 R.setBaseObjectType(BaseType); in BuildMemberReferenceExpr()
1305 S.Context, IsArrow ? S.Context.getPointerType(BaseType) : BaseType, in LookupMemberExpr()
1621 if (BaseType->isExtVectorType()) { in LookupMemberExpr()
[all …]
H A DSemaRISCVVectorLookup.cpp180 BasicType BaseType = BasicType::Unknown; in InitIntrinsicList() local
202 BaseType = static_cast<BasicType>(BaseTypeI); in InitIntrinsicList()
208 if (BaseType == BasicType::Float16 && !HasZvfh) in InitIntrinsicList()
211 if (BaseType == BasicType::Float32 && !HasVectorFloat32) in InitIntrinsicList()
214 if (BaseType == BasicType::Float64 && !HasVectorFloat64) in InitIntrinsicList()
221 if ((BaseType == BasicType::Int64) && in InitIntrinsicList()
233 RVVType::computeTypes(BaseType, Log2LMUL, Record.NF, ProtoSeq); in InitIntrinsicList()
240 RVVIntrinsic::getSuffixStr(BaseType, Log2LMUL, SuffixProto); in InitIntrinsicList()
242 BaseType, Log2LMUL, OverloadedSuffixProto); in InitIntrinsicList()
250 BaseType, Log2LMUL, Record.NF, ProtoMaskSeq); in InitIntrinsicList()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DRangeMap.h30 typedef B BaseType; typedef
33 BaseType base;
40 void Clear(BaseType b = 0) {
75 void SetRangeEnd(BaseType end) { in SetRangeEnd()
88 bool Contains(BaseType r) const { in Contains()
133 typedef B BaseType; typedef
256 BaseType GetMinRangeBase(BaseType fail_value) const { in GetMinRangeBase()
267 BaseType GetMaxRangeEnd(BaseType fail_value) const { in GetMaxRangeEnd()
278 void Slide(BaseType slide) { in Slide()
691 typedef B BaseType; typedef
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTBAA.h42 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, in TBAAAccessInfo()
44 : Kind(Kind), BaseType(BaseType), AccessType(AccessType), in TBAAAccessInfo()
48 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, in TBAAAccessInfo()
50 : TBAAAccessInfo(TBAAAccessKind::Ordinary, BaseType, AccessType, in TBAAAccessInfo()
80 BaseType == Other.BaseType &&
100 llvm::MDNode *BaseType; member
242 DenseMapInfo<MDNode *>::getHashValue(Val.BaseType) ^
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrBuilder.h46 } BaseType; member
60 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode()
68 if (BaseType == X86AddressMode::RegBase) in getFullAddress()
72 assert(BaseType == X86AddressMode::FrameIndexBase); in getFullAddress()
97 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
100 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
176 if (AM.BaseType == X86AddressMode::RegBase) in addFullAddress()
179 assert(AM.BaseType == X86AddressMode::FrameIndexBase); in addFullAddress()
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DInterfaceSupport.h69 typename BaseType,
71 class Interface : public BaseType {
79 Interface<ConcreteType, ValueT, Traits, BaseType, BaseTrait>;
95 : BaseType(t), impl(t ? ConcreteType::getInterfaceFor(t) : nullptr) { in BaseType() function
98 Interface(std::nullptr_t) : BaseType(ValueT()), impl(nullptr) {} in Interface()
105 : BaseType(t), impl(t ? ConcreteType::getInterfaceFor(t) : nullptr) { in Interface()
110 Interface(ValueT t, std::nullptr_t) : BaseType(t), impl(nullptr) {} in Interface()
274 typename BaseType,
277 Interface<ConcreteType, ValueT, Traits, BaseType, BaseTrait> &);
/llvm-project-15.0.7/llvm/test/MC/COFF/
H A Dcgprofile.s41 # CHECK-NEXT: BaseType:
48 # CHECK-NEXT: BaseType:
55 # CHECK-NEXT: BaseType:
62 # CHECK-NEXT: BaseType:
69 # CHECK-NEXT: BaseType:
76 # CHECK-NEXT: BaseType:
H A Dseh-section-2.s68 # CHECK: BaseType: Null (0x0)
86 # CHECK: BaseType: Null (0x0)
104 # CHECK: BaseType: Null (0x0)
122 # CHECK: BaseType: Null (0x0)
140 # CHECK: BaseType: Null (0x0)
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp115 const Type *BaseType = ME->getBaseType().getTypePtrOrNull(); in resolveMemberExpr() local
117 BaseType = getPointeeType(BaseType); in resolveMemberExpr()
119 if (!BaseType) in resolveMemberExpr()
121 if (const auto *BT = BaseType->getAs<BuiltinType>()) { in resolveMemberExpr()
127 BaseType = resolveExprToType(Base); in resolveMemberExpr()
130 return resolveDependentMember(BaseType, ME->getMember(), NoFilter); in resolveMemberExpr()
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dalias.asm18 ; CHECK-NEXT: BaseType: Null
33 ; CHECK-NEXT: BaseType: Null
48 ; CHECK-NEXT: BaseType: Null
67 ; CHECK-NEXT: BaseType: Null
82 ; CHECK-NEXT: BaseType: Null
/llvm-project-15.0.7/llvm/lib/IR/
H A DSafepointIRVerifier.cpp314 enum BaseType { enum
326 static enum BaseType getBaseType(const Value *Val) { in getBaseType()
382 return BaseType::NonConstant; in getBaseType()
386 return isExclusivelyDerivedFromNull ? BaseType::ExclusivelyNull in getBaseType()
387 : BaseType::ExclusivelySomeConstant; in getBaseType()
391 return getBaseType(V) == BaseType::NonConstant; in isNotExclusivelyConstantDerived()
821 enum BaseType baseTyLHS = getBaseType(LHS), in verifyInstruction()
842 if ((baseTyLHS == BaseType::ExclusivelySomeConstant && in verifyInstruction()
843 baseTyRHS == BaseType::NonConstant) || in verifyInstruction()
844 (baseTyLHS == BaseType::NonConstant && in verifyInstruction()
[all …]
H A DMDBuilder.cpp241 MDNode *MDBuilder::createTBAAStructTagNode(MDNode *BaseType, MDNode *AccessType, in createTBAAStructTagNode() argument
246 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off), in createTBAAStructTagNode()
249 return MDNode::get(Context, {BaseType, AccessType, createConstant(Off)}); in createTBAAStructTagNode()
268 MDNode *MDBuilder::createTBAAAccessTag(MDNode *BaseType, MDNode *AccessType, in createTBAAAccessTag() argument
276 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode, in createTBAAAccessTag()
279 return MDNode::get(Context, {BaseType, AccessType, OffsetNode, SizeNode}); in createTBAAAccessTag()
283 MDNode *BaseType = cast<MDNode>(Tag->getOperand(0)); in createMutableTBAAAccessTag() local
302 return createTBAAStructTagNode(BaseType, AccessType, Offset); in createMutableTBAAAccessTag()
306 return createTBAAAccessTag(BaseType, AccessType, Offset, Size); in createMutableTBAAAccessTag()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp39 } BaseType = RegBase; member
63 if (BaseType == RegBase && Base.Reg.getNode() != nullptr) { in dump()
66 } else if (BaseType == FrameIndexBase) { in dump()
168 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) { in MatchAddressBase()
174 AM.BaseType = MSP430ISelAddressMode::RegBase; in MatchAddressBase()
196 if (AM.BaseType == MSP430ISelAddressMode::RegBase in MatchAddress()
198 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase; in MatchAddress()
250 if (AM.BaseType == MSP430ISelAddressMode::RegBase) in SelectAddr()
254 Base = (AM.BaseType == MSP430ISelAddressMode::FrameIndexBase) in SelectAddr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DStaticAccessedThroughInstanceCheck.cpp63 QualType BaseType = in check() local
77 BaseType.getAsString(PrintingPolicyWithSupressedTag); in check()
88 getNameSpecifierNestingLevel(BaseType) > NameSpecifierNestingThreshold) in check()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h107 SPIRVType *assignVectTypeToVReg(SPIRVType *BaseType, unsigned NumElements,
216 buildGlobalVariable(Register Reg, SPIRVType *BaseType, StringRef Name,
230 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
233 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
237 SPIRVType *BaseType, MachineIRBuilder &MIRBuilder,
240 SPIRVType *BaseType, MachineInstr &I, const SPIRVInstrInfo &TII,
H A DSPIRVGlobalRegistry.cpp37 SPIRVType *BaseType, unsigned NumElements, Register VReg, MachineInstr &I, in assignVectTypeToVReg() argument
40 getOrCreateSPIRVVectorType(BaseType, NumElements, I, TII); in assignVectTypeToVReg()
298 Register ResVReg, SPIRVType *BaseType, StringRef Name, in buildGlobalVariable() argument
328 .addUse(getSPIRVTypeID(BaseType)) in buildGlobalVariable()
352 assignSPIRVTypeToVReg(BaseType, Reg, MIRBuilder.getMF()); in buildGlobalVariable()
746 SPIRVType *BaseType, unsigned NumElements, MachineInstr &I, in getOrCreateSPIRVVectorType() argument
749 const_cast<Type *>(getTypeForSPIRVType(BaseType)), NumElements); in getOrCreateSPIRVVectorType()
756 .addUse(getSPIRVTypeID(BaseType)) in getOrCreateSPIRVVectorType()
762 SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(SPIRVType *BaseType, in getOrCreateSPIRVPointerType() argument
772 SPIRVType *BaseType, MachineInstr &I, const SPIRVInstrInfo &TII, in getOrCreateSPIRVPointerType() argument
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dsymbols.test10 # CHECK-NEXT: BaseType: Null (0x0)
19 # CHECK-NEXT: BaseType: Null (0x0)
28 # CHECK-NEXT: BaseType: Null (0x0)
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp61 Base BaseType; member
93 return BaseType == Base::FrameIndexBase || BaseReg.getNode() != nullptr; in hasBase()
96 bool hasFrameIndex() const { return BaseType == Base::FrameIndexBase; } in hasFrameIndex()
99 return BaseType == Base::RegBase && BaseReg.getNode() != nullptr; in hasBaseReg()
103 return BaseType == Base::RegBase && IndexReg.getNode() != nullptr; in hasIndexReg()
135 if (BaseType != Base::RegBase) in isPCRelative()
143 BaseType = Base::RegBase; in setBaseReg()
234 if (AM.BaseType == M68kISelAddressMode::Base::FrameIndexBase) { in getFrameIndexAddress()
412 AM.BaseType = M68kISelAddressMode::Base::RegBase; in matchAddressBase()
487 AM.BaseType == M68kISelAddressMode::Base::RegBase && in matchAddressRecursively()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp571 static bool hasField(TBAAStructTypeNode BaseType, in hasField() argument
573 for (unsigned I = 0, E = BaseType.getNumFields(); I != E; ++I) { in hasField()
574 TBAAStructTypeNode T = BaseType.getFieldType(I); in hasField()
609 TBAAStructTypeNode BaseType(BaseTag.getBaseType()); in mayBeAccessToSubobjectOf() local
615 if (!BaseType.getNode()) { in mayBeAccessToSubobjectOf()
620 if (BaseType.getNode() == SubobjectTag.getBaseType()) { in mayBeAccessToSubobjectOf()
631 if (NewFormat && BaseType.getNode() == BaseTag.getAccessType()) in mayBeAccessToSubobjectOf()
636 BaseType = BaseType.getField(OffsetInBase); in mayBeAccessToSubobjectOf()
645 if (hasField(BaseType, FieldType)) { in mayBeAccessToSubobjectOf()
/llvm-project-15.0.7/lld/test/COFF/
H A Dsymtab.test17 # CHECK-NEXT: BaseType: Null (0x0)
26 # CHECK-NEXT: BaseType: Null (0x0)
35 # CHECK-NEXT: BaseType: Null (0x0)
44 # CHECK-NEXT: BaseType: Null (0x0)
53 # CHECK-NEXT: BaseType: Null (0x0)
62 # CHECK-NEXT: BaseType: Null (0x0)
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclPrinter.cpp150 QualType BaseType = T; in GetBaseType() local
153 BaseType = PTy->getPointeeType(); in GetBaseType()
156 BaseType = OPT->getPointeeType(); in GetBaseType()
158 BaseType = BPy->getPointeeType(); in GetBaseType()
160 BaseType = ATy->getElementType(); in GetBaseType()
162 BaseType = FTy->getReturnType(); in GetBaseType()
164 BaseType = VTy->getElementType(); in GetBaseType()
166 BaseType = RTy->getPointeeType(); in GetBaseType()
170 BaseType = PTy->desugar(); in GetBaseType()
175 return BaseType; in GetBaseType()
[all …]
H A DCXXInheritance.cpp40 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { in isAmbiguous() argument
41 BaseType = BaseType.getUnqualifiedType(); in isAmbiguous()
42 IsVirtBaseAndNumberNonVirtBases Subobjects = ClassSubobjects[BaseType]; in isAmbiguous()
170 QualType BaseType = in lookupInBases() local
179 if (!LookupInDependent && BaseType->isDependentType()) in lookupInBases()
184 IsVirtBaseAndNumberNonVirtBases &Subobjects = ClassSubobjects[BaseType]; in lookupInBases()
193 DetectedVirtual = BaseType->getAs<RecordType>(); in lookupInBases()

123456