Home
last modified time | relevance | path

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

1234567

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/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.cpp221 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
222 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
226 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
234 return ClassifyInternal(Ctx, cast<MatrixSubscriptExpr>(E)->getBase()); in ClassifyInternal()
340 return ClassifyInternal(Ctx, cast<ExtVectorElementExpr>(E)->getBase()); in ClassifyInternal()
510 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
536 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr()
539 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()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBlockSupport.h192 if (rhs.getBase() == getEmptyKey().getBase())
193 return lhs.getBase() == getEmptyKey().getBase();
194 if (rhs.getBase() == getTombstoneKey().getBase())
195 return lhs.getBase() == getTombstoneKey().getBase();
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLazyMachineBlockFrequencyInfo.cpp79 OwnedMDT->getBase().recalculate(*MF); in calculateIfNotAvailable()
85 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()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/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(),
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeRange.cpp23 : TypeRange(values.begin().getBase(), values.size()) {} in TypeRange()
25 : TypeRange(values.getBase(), values.size()) {} in TypeRange()
29 ValueRange::OwnerT owner = values.begin().getBase(); in TypeRange()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIntrinsicCall.cpp110 return !fir::getBase(exv); in isStaticallyAbsent()
149 : fir::getBase(dimArg); in genFuncDim()
1625 return fir::getBase(val); in toValue()
1892 if (!fir::getBase(arg)) in hasAbsentOptional()
2728 : fir::getBase(args[0]); in genExit()
2786 ? fir::getBase(value) in genGetCommandArgument()
2790 ? fir::getBase(errmsg) in genGetCommandArgument()
2857 ? fir::getBase(value) in genGetEnvironmentVariable()
2861 ? fir::getBase(errmsg) in genGetEnvironmentVariable()
3077 : fir::getBase(args[2]); in genIndex()
[all …]
H A DConvertExpr.cpp314 mlir::Value valBase = fir::getBase(exv); in placeScalarValueInMemory()
562 mlir::Value box = fir::getBase(exv); in absentBoxToUnallocatedBox()
1181 mlir::Value lhs = fir::getBase(left); in createBinaryOp()
1182 mlir::Value rhs = fir::getBase(right); in createBinaryOp()
1395 mlir::Value base = fir::getBase(input); in genval()
1760 mlir::Value base = fir::getBase(exv); in gen()
1968 mlir::Value base = fir::getBase(array); in genCoordinateOp()
2072 mlir::Value addr = fir::getBase(exv); in genArrayCoorOp()
3905 assert(fir::getBase(loopRes)); in lowerLazyArrayExpression()
7677 return fir::getBase(res); in createSubroutineCall()
[all …]
H A DOpenACC.cpp142 async = fir::getBase(converter.genExprValue( in genAsyncClause()
160 operands.push_back(fir::getBase( in genDeviceTypeClause()
194 mlir::Value v = fir::getBase( in genWaitClause()
202 waitDevnum = fir::getBase(converter.genExprValue( in genWaitClause()
231 gangNum = fir::getBase(converter.genExprValue( in createLoopOp()
254 workerNum = fir::getBase(converter.genExprValue( in createLoopOp()
261 vectorNum = fir::getBase(converter.genExprValue( in createLoopOp()
395 numGangs = fir::getBase(converter.genExprValue( in createParallelOp()
400 numWorkers = fir::getBase(converter.genExprValue( in createParallelOp()
835 deviceNum = fir::getBase(converter.genExprValue( in genACCInitShutdownOp()
[all …]
H A DCustomIntrinsicCall.cpp129 mlir::Value extremum = fir::getBase(Fortran::lower::genIntrinsicCall( in lowerMinOrMax()
147 builder.create<fir::ResultOp>(loc, fir::getBase(newExtremum)); in lowerMinOrMax()
156 extremum = fir::getBase(Fortran::lower::genIntrinsicCall( in lowerMinOrMax()
207 loc, resultType, fir::getBase(sizeExv)); in lowerIshftc()
/llvm-project-15.0.7/polly/lib/Transform/
H A DManualOptimizer.cpp139 BaseTy &getBase() { return *this; } in getBase() function in __anon7e7826410111::SearchTransformVisitor
140 const BaseTy &getBase() const { return *this; } in getBase() function in __anon7e7826410111::SearchTransformVisitor
218 getBase().visitBand(Band); in visitBand()
280 getBase().visitNode(Other); in visitNode()
H A DScheduleTreeTransform.cpp233 BaseTy &getBase() { return *this; } in getBase() function
234 const BaseTy &getBase() const { return *this; } in getBase() function
362 BaseTy &getBase() { return *this; } in getBase() function
370 return getBase().visitBand(Band); in visitBand()
381 BaseTy &getBase() { return *this; } in getBase() function
402 return getBase().visitBand(Result); in visitBand()
566 BaseTy &getBase() { return *this; } in getBase() function in __anon9ace89990111::BandCollapseRewriter
578 return getBase().visitBand(Band); in visitBand()
600 return getBase().visitBand(Band); in visitBand()
840 BaseTy &getBase() { return *this; } in getBase() function in __anon9ace89990111::GreedyFusionRewriter
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp70 unsigned getBase() const { in getBase() function in __anond2face1f0111::MOVEMState
191 .addReg(State.getBase()); in Finish()
195 .addReg(State.getBase()) in Finish()
209 if (State.isStore() == IsStore && State.getBase() == Reg && in ProcessMI()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGAddressAnalysis.h48 SDValue getBase() { return Base; } in getBase() function
49 SDValue getBase() const { return Base; } in getBase() function
/llvm-project-15.0.7/llvm/unittests/Target/WebAssembly/
H A DWebAssemblyExceptionInfoTest.cpp171 MDF.getBase().analyze(MDT.getBase()); in TEST()
346 MDF.getBase().analyze(MDT.getBase()); in TEST()
/llvm-project-15.0.7/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
/llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/
H A DLegalizeForLLVMExport.cpp115 adaptor.getBase(), op.getLoc()); in matchAndRewrite()
117 Value ptr = getStridedElementPtr(op.getLoc(), mType, adaptor.getBase(), in matchAndRewrite()
142 adaptor.getBase(), op.getLoc()); in matchAndRewrite()
144 Value ptr = getStridedElementPtr(op.getLoc(), mType, adaptor.getBase(), in matchAndRewrite()

1234567