Home
last modified time | relevance | path

Searched refs:getBase (Results 1 – 25 of 124) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp96 if (!(BasePtr0.getBase().getNode() && BasePtr1.getBase().getNode())) in computeAliasing()
128 if (auto *A = dyn_cast<FrameIndexSDNode>(BasePtr0.getBase())) in computeAliasing()
129 if (auto *B = dyn_cast<FrameIndexSDNode>(BasePtr1.getBase())) { in computeAliasing()
140 bool IsFI0 = isa<FrameIndexSDNode>(BasePtr0.getBase()); in computeAliasing()
141 bool IsFI1 = isa<FrameIndexSDNode>(BasePtr1.getBase()); in computeAliasing()
142 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase()); in computeAliasing()
143 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase()); in computeAliasing()
144 bool IsCV0 = isa<ConstantPoolSDNode>(BasePtr0.getBase()); in computeAliasing()
145 bool IsCV1 = isa<ConstantPoolSDNode>(BasePtr1.getBase()); in computeAliasing()
154 auto *GV0 = cast<GlobalAddressSDNode>(BasePtr0.getBase())->getGlobal(); in computeAliasing()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DVTTBuilder.cpp60 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs()
85 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers()
151 VTableIndex, Base.getBase(), VBases); in LayoutSecondaryVirtualPointers()
180 const CXXRecordDecl *RD = Base.getBase(); in LayoutVTT()
188 bool IsPrimaryVTT = Base.getBase() == MostDerivedClass; in LayoutVTT()
210 LayoutVirtualVTTs(Base.getBase(), VBases); in LayoutVTT()
H A DExprClassification.cpp224 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
225 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
229 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
237 return ClassifyInternal(Ctx, cast<MatrixSubscriptExpr>(E)->getBase()); in ClassifyInternal()
343 return ClassifyInternal(Ctx, cast<ExtVectorElementExpr>(E)->getBase()); in ClassifyInternal()
518 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
544 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
547 return ClassifyInternal(Ctx, E->getBase()); in ClassifyMemberExpr()
H A DComputeDependence.cpp119 return E->getBase()->getDependence() | E->getRowIdx()->getDependence() | in computeDependence()
252 return E->getBase()->getDependence(); in computeDependence()
394 return turnTypeToValueDependence(E->getBase()->getDependence()); in computeDependence()
399 return E->getBase()->getDependence() & ~ExprDependence::Type; in computeDependence()
413 return E->getBase()->getDependence() & ~ExprDependence::Type & in computeDependence()
422 auto D = E->getBase()->getDependence(); in computeDependence()
431 auto D = E->getBase()->getDependence(); in computeDependence()
616 auto D = E->getBase()->getDependence(); in computeDependence()
709 auto D = E->getBase()->getDependence(); in computeDependence()
812 D |= E->getBase()->getDependence(); in computeDependence()
H A DVTableBuilder.cpp330 const CXXRecordDecl *RD = Base.getBase(); in ComputeBaseOffsets()
380 const CXXRecordDecl *RD = Base.getBase(); in dump()
618 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Base.getBase()); in AddVCallAndVBaseOffsets()
656 AddVBaseOffsets(Base.getBase(), RealBaseOffset); in AddVCallAndVBaseOffsets()
683 const CXXRecordDecl *RD = Base.getBase(); in AddVCallOffsets()
1212 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset()
1213 const CXXRecordDecl *DerivedRD = Derived.getBase(); in ComputeThisAdjustmentBaseOffset()
1449 const CXXRecordDecl *RD = Base.getBase(); in AddMethods()
1641 assert(Base.getBase()->isDynamicClass() && "class does not have a vtable!"); in LayoutPrimaryAndSecondaryVTables()
1654 VCallOffsetMap &VCallOffsets = VCallOffsetsForVBases[Base.getBase()]; in LayoutPrimaryAndSecondaryVTables()
[all …]
H A DStmtPrinter.cpp1203 if (Node->getBase()) { in VisitObjCIvarRefExpr()
1205 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
1206 PrintExpr(Node->getBase()); in VisitObjCIvarRefExpr()
1216 else if (Node->isObjectReceiver() && Node->getBase()) { in VisitObjCPropertyRefExpr()
1217 PrintExpr(Node->getBase()); in VisitObjCPropertyRefExpr()
1483 PrintExpr(Node->getBase()); in VisitMatrixSubscriptExpr()
1493 PrintExpr(Node->getBase()); in VisitOMPArraySectionExpr()
1518 PrintExpr(Node->getBase()); in VisitOMPArrayShapingExpr()
1567 if (!Policy.SuppressImplicitBase || !isImplicitThis(Node->getBase())) { in VisitMemberExpr()
1568 PrintExpr(Node->getBase()); in VisitMemberExpr()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScopeInfo.cpp84 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
90 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
101 const Expr *DoubleBase = BaseProp->getBase(); in getBaseInfo()
122 const OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(PropE->getBase()); in WeakObjectProfileTy()
148 : Base(getBaseInfo(IvarE->getBase())), Property(IvarE->getDecl()) { in WeakObjectProfileTy()
185 if (isa<OpaqueValueExpr>(RefExpr->getBase())) in markSafeWeakUse()
188 markSafeWeakUse(RefExpr->getBase()); in markSafeWeakUse()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DASTTableGen.h167 ASTNode getBase() const { in getBase() function
187 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase() function
209 TypeNode getBase() const { return TypeNode(ASTNode::getBase().getRecord()); } in getBase() function
231 StmtNode getBase() const { return StmtNode(ASTNode::getBase().getRecord()); } in getBase() function
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExprOpenMP.h85 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() function
86 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() function
114 return getBase()->getBeginLoc(); in getBeginLoc()
128 return getBase()->getExprLoc(); in getExprLoc()
200 return getBase()->getEndLoc(); in getEndLoc()
214 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase() function
215 const Expr *getBase() const { return getTrailingObjects<Expr *>()[NumDims]; } in getBase() function
H A DVTTBuilder.h41 : BaseAndIsVirtual(Base.getBase(), BaseIsVirtual), in VTTVTable()
44 const CXXRecordDecl *getBase() const { in getBase() function
57 return BaseSubobject(getBase(), getBaseOffset()); in getBaseSubobject()
H A DBaseSubobject.h43 const CXXRecordDecl *getBase() const { return Base; } in getBase() function
73 return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
H A DExprObjC.h580 const Expr *getBase() const { return cast<Expr>(Base); } in getBase() function
581 Expr *getBase() { return cast<Expr>(Base); } in getBase() function
593 return isFreeIvar() ? Loc : getBase()->getBeginLoc(); in getBeginLoc()
752 const Expr *getBase() const { in getBase() function
755 Expr *getBase() { in getBase() function
779 return isObjectReceiver() ? getBase()->getBeginLoc() in getBeginLoc()
1506 Expr *getBase() const { return cast<Expr>(Base); } in getBase() function
1520 return getBase()->getBeginLoc(); in getBeginLoc()
1524 return getBase()->getEndLoc(); in getBaseLocEnd()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLazyMachineBlockFrequencyInfo.cpp79 OwnedMDT->getBase().recalculate(*MF); in calculateIfNotAvailable()
85 OwnedMLI->getBase().analyze(MDT->getBase()); in calculateIfNotAvailable()
H A DXRayInstrumentation.cpp176 ComputedMDT.getBase().recalculate(MF); in runOnMachineFunction()
184 ComputedMLI.getBase().analyze(MDT->getBase()); in runOnMachineFunction()
H A DMachineDominanceFrontier.cpp41 Base.analyze(getAnalysis<MachineDominatorTree>().getBase()); in runOnMachineFunction()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp186 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
194 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
208 if (M->isArrow() || isDeclRefExprToReference(M->getBase())) { in reportBug()
210 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
218 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp70 unsigned getBase() const { in getBase() function in __anone3adc0e60111::MOVEMState
191 .addReg(State.getBase()); in Finish()
195 .addReg(State.getBase()) in Finish()
209 if (State.isStore() == IsStore && State.getBase() == Reg && in ProcessMI()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h48 SDValue getBase() { return Base; } in getBase() function
49 SDValue getBase() const { return Base; } in getBase() function
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DRecord.h63 const Base *getBase(const RecordDecl *FD) const;
88 Base *getBase(unsigned I) { return &Bases[I]; } in getBase() function
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSILateBranchLowering.cpp116 MDT->getBase().applyUpdates(DTUpdates); in splitBlock()
132 MDT->getBase().insertEdge(&MBB, EarlyExitBlock); in earlyTerm()
222 MDT->getBase().insertEdge(MBB, EmptyMBBAtEnd); in runOnMachineFunction()
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DDominators.h56 DominatorTreeBase &getBase() { return DT; } in getBase() function
80 if (DT.compare(Other.getBase())) in compare()
227 : PostDomTree(cfg), IDFCalc(PostDomTree.getBase()) {}
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp213 const Value *getBase() const { return Base; } in getBase() function in __anon76406cf20111::GuardWideningImpl::RangeCheck
626 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks()
631 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
636 } else if (match(Check.getBase(), in parseRangeChecks()
659 const Value *CurrentBase = Checks.front().getBase(); in combineRangeChecks()
665 return RC.getBase() == CurrentBase && RC.getLength() == CurrentLength; in combineRangeChecks()
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp22 static Base getBase(const StringRef IntegerLiteral) { in getBase() function
107 const auto B = getBase(Text); in process()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExpr.cpp1246 bool IsBaseCXXThis = IsWrappedCXXThis(ME->getBase()); in EmitCheckedLValue()
1249 if (IsBaseCXXThis || isa<DeclRefExpr>(ME->getBase())) in EmitCheckedLValue()
2396 LV.setBaseIvarExp(Exp->getBase()); in setObjCGCLValueClass()
2452 setObjCGCLValueClass(Ctx, Exp->getBase(), LV); in setObjCGCLValueClass()
2465 setObjCGCLValueClass(Ctx, Exp->getBase(), LV, true); in setObjCGCLValueClass()
3790 EmitBoundsCheck(E, E->getBase(), Idx, IdxTy, Accessed); in EmitArraySubscriptExpr()
3802 if (E->getBase()->getType()->isVectorType() && in EmitArraySubscriptExpr()
3803 !isa<ExtVectorElementExpr>(E->getBase())) { in EmitArraySubscriptExpr()
3805 LValue LHS = EmitLValue(E->getBase()); in EmitArraySubscriptExpr()
3809 E->getBase()->getType(), LHS.getBaseInfo(), in EmitArraySubscriptExpr()
[all …]
H A DCGVTT.cpp26 if (VTable.getBase() == MostDerivedClass) { in GetAddrOfVTTVTable()
63 if (VTTVT.getBase() == RD) { in EmitVTTDefinition()

12345