Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dmem_map_base.h35 DCHECK((Addr == getBase()) || (Addr + Size == getBase() + getCapacity())); in unmap()
39 void unmap() { unmap(getBase(), getCapacity()); } in unmap()
46 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity()));
54 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in setMemoryPermission()
63 DCHECK((From >= getBase()) && (From + Size <= getBase() + getCapacity())); in releasePagesToOS()
70 DCHECK((From >= getBase()) && (From + Size <= getBase() + getCapacity())); in releaseAndZeroPagesToOS()
74 uptr getBase() { return invokeImpl(&Derived::getBaseImpl); } in getBase() function
77 bool isAllocated() { return getBase() != 0U; } in isAllocated()
113 DCHECK((Addr >= getBase()) && (Addr + Size <= getBase() + getCapacity())); in dispatch()
117 uptr getBase() { return invokeImpl(&Derived::getBaseImpl); } in getBase() function
[all …]
H A Dlist.h37 T *getBase() const { return nullptr; } in getBase() function
62 T *getBase() const { return Base; } in getBase() function
66 DCHECK_NE(getBase(), nullptr); in getNext()
83 DCHECK_NE(getBase(), nullptr); in getPrev()
149 return Iterator(LinkOp<T>(this->getBase(), this->getSize()), First); in begin()
152 return Iterator(LinkOp<T>(this->getBase(), this->getSize()), nullptr); in end()
156 return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()), in begin()
160 return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()), in end()
H A Drelease.h27 uptr getBase() const { return Base; } in getBase() function
33 RegionMemMap->releasePagesToOS(getBase() + Offset + From, Size); in releasePageRangeToOS()
53 uptr getBase() const { return Base; } in getBase() function
191 Buf.Data = reinterpret_cast<uptr *>(Buf.MemMap.getBase()); in getDynamicBuffer()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp99 if (!BasePtr0.getBase().getNode()) in computeAliasing()
103 if (!BasePtr1.getBase().getNode()) in computeAliasing()
133 if (auto *A = dyn_cast<FrameIndexSDNode>(BasePtr0.getBase())) in computeAliasing()
134 if (auto *B = dyn_cast<FrameIndexSDNode>(BasePtr1.getBase())) { in computeAliasing()
145 bool IsFI0 = isa<FrameIndexSDNode>(BasePtr0.getBase()); in computeAliasing()
146 bool IsFI1 = isa<FrameIndexSDNode>(BasePtr1.getBase()); in computeAliasing()
147 bool IsGV0 = isa<GlobalAddressSDNode>(BasePtr0.getBase()); in computeAliasing()
148 bool IsGV1 = isa<GlobalAddressSDNode>(BasePtr1.getBase()); in computeAliasing()
149 bool IsCV0 = isa<ConstantPoolSDNode>(BasePtr0.getBase()); in computeAliasing()
150 bool IsCV1 = isa<ConstantPoolSDNode>(BasePtr1.getBase()); in computeAliasing()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTTBuilder.cpp59 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs()
84 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers()
150 VTableIndex, Base.getBase(), VBases); in LayoutSecondaryVirtualPointers()
179 const CXXRecordDecl *RD = Base.getBase(); in LayoutVTT()
187 bool IsPrimaryVTT = Base.getBase() == MostDerivedClass; in LayoutVTT()
209 LayoutVirtualVTTs(Base.getBase(), VBases); in LayoutVTT()
H A DExprClassification.cpp251 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
252 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
256 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
264 return ClassifyInternal(Ctx, cast<MatrixSubscriptExpr>(E)->getBase()); in ClassifyInternal()
370 return ClassifyInternal(Ctx, cast<ExtVectorElementExpr>(E)->getBase()); in ClassifyInternal()
552 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
578 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
581 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()
428 return turnTypeToValueDependence(E->getBase()->getDependence()); in computeDependence()
433 return E->getBase()->getDependence() & ~ExprDependence::Type; in computeDependence()
447 return E->getBase()->getDependence() & ~ExprDependence::Type & in computeDependence()
456 auto D = E->getBase()->getDependence(); in computeDependence()
470 auto D = E->getBase()->getDependence(); in computeDependence()
673 auto D = E->getBase()->getDependence(); in computeDependence()
780 auto D = E->getBase()->getDependence(); in computeDependence()
874 D |= E->getBase()->getDependence(); in computeDependence()
H A DStmtPrinter.cpp1393 if (Node->getBase()) { in VisitObjCIvarRefExpr()
1395 !isImplicitSelf(Node->getBase()->IgnoreImpCasts())) { in VisitObjCIvarRefExpr()
1396 PrintExpr(Node->getBase()); in VisitObjCIvarRefExpr()
1406 else if (Node->isObjectReceiver() && Node->getBase()) { in VisitObjCPropertyRefExpr()
1407 PrintExpr(Node->getBase()); in VisitObjCPropertyRefExpr()
1681 PrintExpr(Node->getBase()); in VisitMatrixSubscriptExpr()
1691 PrintExpr(Node->getBase()); in VisitArraySectionExpr()
1716 PrintExpr(Node->getBase()); in VisitOMPArrayShapingExpr()
1765 if (!Policy.SuppressImplicitBase || !isImplicitThis(Node->getBase())) { in VisitMemberExpr()
1766 PrintExpr(Node->getBase()); in VisitMemberExpr()
[all …]
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()
687 const CXXRecordDecl *RD = Base.getBase(); in AddVCallOffsets()
1247 const CXXRecordDecl *BaseRD = Base.getBase(); in ComputeThisAdjustmentBaseOffset()
1248 const CXXRecordDecl *DerivedRD = Derived.getBase(); in ComputeThisAdjustmentBaseOffset()
1484 const CXXRecordDecl *RD = Base.getBase(); in AddMethods()
1691 assert(Base.getBase()->isDynamicClass() && "class does not have a vtable!"); in LayoutPrimaryAndSecondaryVTables()
1704 VCallOffsetMap &VCallOffsets = VCallOffsetsForVBases[Base.getBase()]; in LayoutPrimaryAndSecondaryVTables()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp85 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
91 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
102 const Expr *DoubleBase = BaseProp->getBase(); in getBaseInfo()
123 const OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(PropE->getBase()); in WeakObjectProfileTy()
149 : Base(getBaseInfo(IvarE->getBase())), Property(IvarE->getDecl()) { in WeakObjectProfileTy()
186 if (isa<OpaqueValueExpr>(RefExpr->getBase())) in markSafeWeakUse()
189 markSafeWeakUse(RefExpr->getBase()); in markSafeWeakUse()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DPointer.cpp237 Ptr = Ptr.getBase(); in toAPValue()
266 Ptr = Ptr.getBase(); in toAPValue()
270 Ptr = Ptr.getBase(); in toAPValue()
281 Ptr = Ptr.getBase(); in toAPValue()
356 P = P.getBase(); in computeOffsetForComparison()
363 P = P.getBase(); in computeOffsetForComparison()
379 if (const Record *R = P.getBase().getRecord(); R && R->isUnion()) { in computeOffsetForComparison()
381 P = P.getBase(); in computeOffsetForComparison()
390 P = P.getBase(); in computeOffsetForComparison()
530 B = B.getBase(); in activate()
[all …]
H A DRecord.h67 const Base *getBase(const RecordDecl *FD) const;
69 const Base *getBase(QualType T) const;
93 const Base *getBase(unsigned I) const { in getBase() function
H A DRecord.cpp46 const Record::Base *Record::getBase(const RecordDecl *FD) const { in getBase() function in Record
52 const Record::Base *Record::getBase(QualType T) const { in getBase() function in Record
/freebsd/contrib/llvm-project/clang/include/clang/AST/
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 DExprOpenMP.h76 return getBase()->getEndLoc(); in getEndLoc()
90 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase() function
91 const Expr *getBase() const { return getTrailingObjects<Expr *>()[NumDims]; } in getBase() function
H A DExprObjC.h581 const Expr *getBase() const { return cast<Expr>(Base); } in getBase() function
582 Expr *getBase() { return cast<Expr>(Base); } in getBase() function
594 return isFreeIvar() ? Loc : getBase()->getBeginLoc(); in getBeginLoc()
753 const Expr *getBase() const { return cast<Expr>(cast<Stmt *>(Receiver)); } in getBase() function
754 Expr *getBase() { return cast<Expr>(cast<Stmt *>(Receiver)); } in getBase() function
776 return isObjectReceiver() ? getBase()->getBeginLoc() in getBeginLoc()
1509 Expr *getBase() const { return cast<Expr>(Base); } in getBase() function
1523 return getBase()->getBeginLoc(); in getBeginLoc()
1527 return getBase()->getEndLoc(); in getBaseLocEnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp71 unsigned getBase() const { in getBase() function in __anon143e10ef0111::MOVEMState
192 .addReg(State.getBase()); in Finish()
196 .addReg(State.getBase()) in Finish()
210 if (State.isStore() == IsStore && State.getBase() == Reg && in ProcessMI()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenOpenACC.cpp95 section->getBase()->IgnoreParenImpCasts()); in getOpenACCDataOperandInfo()
106 curVarExpr = section->getBase()->IgnoreParenImpCasts(); in getOpenACCDataOperandInfo()
113 curVarExpr = subscript->getBase()->IgnoreParenImpCasts(); in getOpenACCDataOperandInfo()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDereferenceChecker.cpp220 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
228 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
242 if (M->isArrow() || isDeclRefExprToReference(M->getBase())) { in reportBug()
244 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
252 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h50 SDValue getBase() { return Base; } in getBase() function
51 SDValue getBase() const { return Base; } in getBase() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLoadStoreOpt.h47 Register getBase() { return BaseReg; } in getBase() function
48 Register getBase() const { return BaseReg; } in getBase() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp113 if (!BasePtr0.getBase().isValid() || !BasePtr1.getBase().isValid()) in aliasIsKnownForLoadStore()
120 if (BasePtr0.getBase() == BasePtr1.getBase() && BasePtr0.hasValidOffset() && in aliasIsKnownForLoadStore()
149 auto *Base0Def = getDefIgnoringCopies(BasePtr0.getBase(), MRI); in aliasIsKnownForLoadStore()
150 auto *Base1Def = getDefIgnoringCopies(BasePtr1.getBase(), MRI); in aliasIsKnownForLoadStore()
532 Register StoreBase = BIO.getBase(); in addStoreToCandidate()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DIntegerLiteralSeparatorFixer.cpp22 static Base getBase(const StringRef IntegerLiteral) { in getBase() function
110 const auto B = getBase(Text); in process()

12345