Home
last modified time | relevance | path

Searched refs:ASE (Results 1 – 25 of 34) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips.td34 // Predicate for the ASE that an instruction belongs to.
157 def FeatureDSP : SubtargetFeature<"dsp", "HasDSP", "true", "Mips DSP ASE">;
159 "Mips DSP-R2 ASE", [FeatureDSP]>;
161 : SubtargetFeature<"dspr3", "HasDSPR3", "true", "Mips DSP-R3 ASE",
164 def FeatureMips3D : SubtargetFeature<"mips3d", "Has3D", "true", "Mips 3D ASE">;
166 def FeatureMSA : SubtargetFeature<"msa", "HasMSA", "true", "Mips MSA ASE">;
168 def FeatureEVA : SubtargetFeature<"eva", "HasEVA", "true", "Mips EVA ASE">;
170 def FeatureCRC : SubtargetFeature<"crc", "HasCRC", "true", "Mips R6 CRC ASE">;
173 "Mips Virtualization ASE">;
176 "Mips Global Invalidate ASE">;
[all …]
H A DMipsMTInstrInfo.td9 // This file describes the MIPS MT ASE as defined by MD00378 1.12.
11 // TODO: Add support for the microMIPS encodings for the MT ASE and add the
H A DMipsEVAInstrInfo.td1 //===- MipsEVAInstrInfo.td - EVA ASE instructions -*- tablegen ------------*-=//
9 // This file describes Mips EVA ASE instructions.
H A DMipsScheduleGeneric.td511 // MIPS MT ASE - hasMT
521 // MIPS Virtualization ASE
528 // MIPS64 Virtualization ASE
533 // microMIPS virtualization ASE
619 // microMIPS EVA ASE - InMicroMipsMode, hasEVA
704 // MIPSR6 CRC ASE - hasCRC
710 // MIPS64R6 CRC ASE - hasCRC
1024 // MIPS DSP ASE, HasDSP
1392 // MIPS MSA ASE - hasMSA
H A DMipsRegisterInfo.td236 // DSP-ASE control register fields.
254 // MSA-ASE control registers.
263 // MSA-ASE fake control registers.
H A DMipsDSPInstrInfo.td1 //===- MipsDSPInstrInfo.td - DSP ASE instructions -*- tablegen ------------*-=//
9 // This file describes Mips DSP ASE instructions.
H A DMipsScheduleP5600.td101 // MIPS Virtualization ASE
H A DMips64InstrInfo.td630 /// Move between CPU and guest coprocessor registers (Virtualization ASE)
H A DMipsInstrInfo.td282 // Mips ISA/ASE membership and instruction group membership adjectives.
2626 // Virtualization ASE
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DInvalidatedIteratorChecker.cpp45 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
95 void InvalidatedIteratorChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt() argument
98 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt()
H A DArrayBoundCheckerV2.cpp43 const auto *ASE = dyn_cast<ArraySubscriptExpr>(E); in determineElementType() local
44 if (!ASE) in determineElementType()
47 const MemRegion *SubscriptBaseReg = C.getSVal(ASE->getBase()).getAsRegion(); in determineElementType()
56 return ASE->getType(); in determineElementType()
648 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(E)) in performCheck() local
649 if (isTainted(State, ASE->getIdx(), C.getLocationContext())) in performCheck()
H A DIteratorRangeChecker.cpp53 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
178 void IteratorRangeChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt() argument
181 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp631 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc() local
632 R1 = ASE->getLHS()->getSourceRange(); in GetUnreachableLoc()
633 R2 = ASE->getRHS()->getSourceRange(); in GetUnreachableLoc()
634 return ASE->getRBracketLoc(); in GetUnreachableLoc()
H A DUnsafeBufferUsage.cpp642 const ArraySubscriptExpr *ASE; member in __anon4f0740330511::ArraySubscriptGadget
647 ASE(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ArraySubscrTag)) {} in ArraySubscriptGadget()
670 Handler.handleUnsafeOperation(ASE, IsRelatedToDecl, Ctx); in handleUnsafeOperation()
672 SourceLocation getSourceLoc() const override { return ASE->getBeginLoc(); } in getSourceLoc()
676 dyn_cast<DeclRefExpr>(ASE->getBase()->IgnoreParenImpCasts())) { in getClaimedVarUseSites()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp370 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { in VisitArraySubscriptExpr() argument
371 return VisitChildren(ASE); in VisitArraySubscriptExpr()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp5995 auto ASE = dyn_cast<ArraySubscriptExpr>(UnaOp->getSubExpr()); in checkFormatStringExpr() local
5996 if (UnaOp->getOpcode() == UO_AddrOf && ASE) { in checkFormatStringExpr()
5998 if (ASE->getRHS()->EvaluateAsInt(IndexResult, S.Context, in checkFormatStringExpr()
6003 E = ASE->getBase(); in checkFormatStringExpr()
12155 void VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { in VisitArraySubscriptExpr() argument
12160 VisitSequencedExpressions(ASE->getLHS(), ASE->getRHS()); in VisitArraySubscriptExpr()
12162 Visit(ASE->getLHS()); in VisitArraySubscriptExpr()
12163 Visit(ASE->getRHS()); in VisitArraySubscriptExpr()
12888 auto *ASE = cast<ArraySubscriptExpr>(E); in getBaseAlignmentAndOffsetFromLValue() local
12889 return getAlignmentAndOffsetFromBinAddOrSub(ASE->getBase(), ASE->getIdx(), in getBaseAlignmentAndOffsetFromLValue()
[all …]
H A DCheckExprLifetime.cpp525 if (auto *ASE = dyn_cast<ArraySubscriptExpr>(Init)) { in visitLocalsRetainedByReferenceBinding() local
526 Init = ASE->getBase(); in visitLocalsRetainedByReferenceBinding()
H A DAnalysisBasedWarnings.cpp2234 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Operation)) { in handleUnsafeOperation() local
2235 Loc = ASE->getBase()->getExprLoc(); in handleUnsafeOperation()
2236 Range = ASE->getBase()->getSourceRange(); in handleUnsafeOperation()
H A DSemaOpenMP.cpp5169 if (auto *ASE = dyn_cast_or_null<ArraySubscriptExpr>(RefExpr)) { in getPrivateItem() local
5170 Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
18362 auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr->IgnoreParens()); in actOnOMPReductionKindClause() local
18364 if (ASE) { in actOnOMPReductionKindClause()
18365 Type = ASE->getType().getNonReferenceType(); in actOnOMPReductionKindClause()
18389 /*AcceptIfMutable*/ false, ASE || OASE)) in actOnOMPReductionKindClause()
18396 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
18507 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
18520 if (!ASE && !OASE) { in actOnOMPReductionKindClause()
18557 (!OASE && !ASE && in actOnOMPReductionKindClause()
[all …]
H A DSemaExpr.cpp13234 } else if (const ArraySubscriptExpr *ASE = in DiagnoseConstAssignment() local
13236 E = ASE->getBase()->IgnoreParenImpCasts(); in DiagnoseConstAssignment()
19155 auto *ASE = cast<ArraySubscriptExpr>(E); in rebuildPotentialResultsAsNonOdrUsed() local
19156 Expr *OldBase = ASE->getBase()->IgnoreImplicit(); in rebuildPotentialResultsAsNonOdrUsed()
19162 Expr *LHS = ASE->getBase() == ASE->getLHS() ? Base.get() : ASE->getLHS(); in rebuildPotentialResultsAsNonOdrUsed()
19163 Expr *RHS = ASE->getBase() == ASE->getRHS() ? Base.get() : ASE->getRHS(); in rebuildPotentialResultsAsNonOdrUsed()
19164 SourceLocation LBracketLoc = ASE->getBeginLoc(); // FIXME: Not stored. in rebuildPotentialResultsAsNonOdrUsed()
19166 ASE->getRBracketLoc()); in rebuildPotentialResultsAsNonOdrUsed()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1202 const ArraySubscriptExpr *ASE; in ProcessInitializer() local
1203 while ((ASE = dyn_cast<ArraySubscriptExpr>(Init))) in ProcessInitializer()
1204 Init = ASE->getBase()->IgnoreImplicit(); in ProcessInitializer()
3158 else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BD->getBinding())) { in VisitCommonDeclRefExpr() local
3159 SVal Idx = state->getSVal(ASE->getIdx(), LCtx); in VisitCommonDeclRefExpr()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4282 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySubscriptExpr() local
4283 ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true); in EmitArraySubscriptExpr()
4381 if (auto *ASE = dyn_cast<ArraySectionExpr>(Base->IgnoreParenImpCasts())) { in emitOMPArraySectionBase() local
4382 BaseLVal = CGF.EmitArraySectionExpr(ASE, IsLowerBound); in emitOMPArraySectionBase()
4553 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySectionExpr() local
4554 ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true); in EmitArraySectionExpr()
H A DCGOpenMPRuntimeGPU.cpp90 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr)) { in getPrivateItem() local
91 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
H A DCGOpenMPRuntime.cpp954 } else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Ref)) { in getBaseDecl() local
955 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl()
3582 } else if (const auto *ASE = in getPointerAndSize() local
3584 LValue UpAddrLVal = CGF.EmitArraySectionExpr(ASE, /*IsLowerBound=*/false); in getPointerAndSize()
/src/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4167 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement() local
4168 return ASE->getBase()->getType()->isVectorType(); in refersToVectorElement()
5092 while (auto *ASE = in getBaseOriginalType() local
5094 Base = ASE->getBase(); in getBaseOriginalType()

12