Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp95 if (!(BasePtr0.getBase().getNode() && BasePtr1.getBase().getNode())) in computeAliasing()
127 if (auto *A = dyn_cast<FrameIndexSDNode>(BasePtr0.getBase())) in computeAliasing()
128 if (auto *B = dyn_cast<FrameIndexSDNode>(BasePtr1.getBase())) { in computeAliasing()
139 bool IsFI0 = isa<FrameIndexSDNode>(BasePtr0.getBase()); in computeAliasing()
140 bool IsFI1 = isa<FrameIndexSDNode>(BasePtr1.getBase()); in computeAliasing()
141 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase()); in computeAliasing()
142 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase()); in computeAliasing()
143 bool IsCV0 = isa<ConstantPoolSDNode>(BasePtr0.getBase()); in computeAliasing()
144 bool IsCV1 = isa<ConstantPoolSDNode>(BasePtr1.getBase()); in computeAliasing()
/netbsd-src/external/apache2/llvm/dist/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.cpp215 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
216 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
220 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
228 return ClassifyInternal(Ctx, cast<MatrixSubscriptExpr>(E)->getBase()); in ClassifyInternal()
334 return ClassifyInternal(Ctx, cast<ExtVectorElementExpr>(E)->getBase()); in ClassifyInternal()
504 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
530 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
533 return ClassifyInternal(Ctx, E->getBase()); in ClassifyMemberExpr()
H A DComputeDependence.cpp117 return E->getBase()->getDependence() | E->getRowIdx()->getDependence() | in computeDependence()
234 return E->getBase()->getDependence(); in computeDependence()
373 return turnTypeToValueDependence(E->getBase()->getDependence()); in computeDependence()
378 return E->getBase()->getDependence() & ~ExprDependence::Type; in computeDependence()
391 return E->getBase()->getDependence() & ~ExprDependence::Type & in computeDependence()
400 auto D = E->getBase()->getDependence(); in computeDependence()
409 auto D = E->getBase()->getDependence() | in computeDependence()
586 auto D = E->getBase()->getDependence(); in computeDependence()
677 auto D = E->getBase()->getDependence(); in computeDependence()
767 D |= E->getBase()->getDependence(); in computeDependence()
H A DStmtPrinter.cpp1047 if (Node->getBase()) { in VisitObjCIvarRefExpr()
1049 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
1050 PrintExpr(Node->getBase()); in VisitObjCIvarRefExpr()
1060 else if (Node->isObjectReceiver() && Node->getBase()) { in VisitObjCPropertyRefExpr()
1061 PrintExpr(Node->getBase()); in VisitObjCPropertyRefExpr()
1310 PrintExpr(Node->getBase()); in VisitMatrixSubscriptExpr()
1320 PrintExpr(Node->getBase()); in VisitOMPArraySectionExpr()
1345 PrintExpr(Node->getBase()); in VisitOMPArrayShapingExpr()
1394 if (!Policy.SuppressImplicitBase || !isImplicitThis(Node->getBase())) { in VisitMemberExpr()
1395 PrintExpr(Node->getBase()); in VisitMemberExpr()
[all …]
H A DVTableBuilder.cpp329 const CXXRecordDecl *RD = Base.getBase(); in ComputeBaseOffsets()
379 const CXXRecordDecl *RD = Base.getBase(); in dump()
617 const ASTRecordLayout &Layout = Context.getASTRecordLayout(Base.getBase()); in AddVCallAndVBaseOffsets()
655 AddVBaseOffsets(Base.getBase(), RealBaseOffset); in AddVCallAndVBaseOffsets()
681 const CXXRecordDecl *RD = Base.getBase(); in AddVCallOffsets()
1210 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset()
1211 const CXXRecordDecl *DerivedRD = Derived.getBase(); in ComputeThisAdjustmentBaseOffset()
1448 const CXXRecordDecl *RD = Base.getBase(); in AddMethods()
1640 assert(Base.getBase()->isDynamicClass() && "class does not have a vtable!"); in LayoutPrimaryAndSecondaryVTables()
1653 VCallOffsetMap &VCallOffsets = VCallOffsetsForVBases[Base.getBase()]; in LayoutPrimaryAndSecondaryVTables()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DScopeInfo.cpp83 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
89 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
100 const Expr *DoubleBase = BaseProp->getBase(); in getBaseInfo()
121 const OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(PropE->getBase()); in WeakObjectProfileTy()
147 : Base(getBaseInfo(IvarE->getBase())), Property(IvarE->getDecl()) { in WeakObjectProfileTy()
184 if (isa<OpaqueValueExpr>(RefExpr->getBase())) in markSafeWeakUse()
187 markSafeWeakUse(RefExpr->getBase()); in markSafeWeakUse()
H A DSemaPseudoObject.cpp65 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
71 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
94 assert(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
97 auto *NewBase = rebuild(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
551 PRE->getBase()->getType()->castAs<ObjCObjectPointerType>(); in LookupMethodInReceiverType()
555 S.isSelfExpr(const_cast<Expr*>(PRE->getBase()))) { in LookupMethodInReceiverType()
706 InstanceReceiver = capture(RefExpr->getBase()); in rebuildAndCaptureObject()
1439 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty()
1442 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty()
/netbsd-src/external/apache2/llvm/dist/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()
1507 Expr *getBase() const { return cast<Expr>(Base); } in getBase() function
1521 return getBase()->getBeginLoc(); in getBeginLoc()
1525 return getBase()->getEndLoc(); in getBaseLocEnd()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DASTTableGen.h166 ASTNode getBase() const { in getBase() function
186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); } in getBase() function
208 TypeNode getBase() const { return TypeNode(ASTNode::getBase().getRecord()); } in getBase() function
230 StmtNode getBase() const { return StmtNode(ASTNode::getBase().getRecord()); } in getBase() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLazyMachineBlockFrequencyInfo.cpp78 OwnedMDT->getBase().recalculate(*MF); in calculateIfNotAvailable()
84 OwnedMLI->getBase().analyze(MDT->getBase()); in calculateIfNotAvailable()
H A DXRayInstrumentation.cpp177 ComputedMDT.getBase().recalculate(MF); in runOnMachineFunction()
185 ComputedMLI.getBase().analyze(MDT->getBase()); in runOnMachineFunction()
H A DMachineDominanceFrontier.cpp42 Base.analyze(getAnalysis<MachineDominatorTree>().getBase()); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp155 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
163 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
177 if (M->isArrow() || isDeclRefExprToReference(M->getBase())) { in reportBug()
179 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
187 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp70 unsigned getBase() const { in getBase() function in __anon55c4489a0111::MOVEMState
191 .addReg(State.getBase()); in Finish()
195 .addReg(State.getBase()) in Finish()
209 if (State.isStore() == IsStore && State.getBase() == Reg && in ProcessMI()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h48 SDValue getBase() { return Base; } in getBase() function
49 SDValue getBase() const { return Base; } in getBase() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSILateBranchLowering.cpp99 MDT->getBase().applyUpdates(DTUpdates); in splitBlock()
115 MDT->getBase().insertEdge(&MBB, EarlyExitBlock); in earlyTerm()
210 MDT->getBase().insertEdge(MBB, EmptyMBBAtEnd); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DRecord.h59 const Base *getBase(const RecordDecl *FD) const;
77 Base *getBase(unsigned I) { return &Bases[I]; } in getBase() function
/netbsd-src/external/apache2/llvm/dist/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()) {}
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp208 const Value *getBase() const { return Base; } in getBase() function in __anon59e977a60111::GuardWideningImpl::RangeCheck
625 auto *BaseInst = dyn_cast<Instruction>(Check.getBase()); in parseRangeChecks()
630 if (match(Check.getBase(), m_Add(m_Value(OpLHS), m_ConstantInt(OpRHS)))) { in parseRangeChecks()
635 } else if (match(Check.getBase(), in parseRangeChecks()
658 const Value *CurrentBase = Checks.front().getBase(); in combineRangeChecks()
664 return RC.getBase() == CurrentBase && RC.getLength() == CurrentLength; in combineRangeChecks()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExpr.cpp1258 bool IsBaseCXXThis = IsWrappedCXXThis(ME->getBase()); in EmitCheckedLValue()
1261 if (IsBaseCXXThis || isa<DeclRefExpr>(ME->getBase())) in EmitCheckedLValue()
2354 LV.setBaseIvarExp(Exp->getBase()); in setObjCGCLValueClass()
2410 setObjCGCLValueClass(Ctx, Exp->getBase(), LV); in setObjCGCLValueClass()
2423 setObjCGCLValueClass(Ctx, Exp->getBase(), LV, true); in setObjCGCLValueClass()
3725 EmitBoundsCheck(E, E->getBase(), Idx, IdxTy, Accessed); in EmitArraySubscriptExpr()
3737 if (E->getBase()->getType()->isVectorType() && in EmitArraySubscriptExpr()
3738 !isa<ExtVectorElementExpr>(E->getBase())) { in EmitArraySubscriptExpr()
3740 LValue LHS = EmitLValue(E->getBase()); in EmitArraySubscriptExpr()
3744 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