| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips.td | 34 // 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 D | MipsMTInstrInfo.td | 9 // 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 D | MipsEVAInstrInfo.td | 1 //===- MipsEVAInstrInfo.td - EVA ASE instructions -*- tablegen ------------*-=// 9 // This file describes Mips EVA ASE instructions.
|
| H A D | MipsScheduleGeneric.td | 511 // 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 D | MipsRegisterInfo.td | 236 // DSP-ASE control register fields. 254 // MSA-ASE control registers. 263 // MSA-ASE fake control registers.
|
| H A D | MipsDSPInstrInfo.td | 1 //===- MipsDSPInstrInfo.td - DSP ASE instructions -*- tablegen ------------*-=// 9 // This file describes Mips DSP ASE instructions.
|
| H A D | MipsScheduleP5600.td | 101 // MIPS Virtualization ASE
|
| H A D | Mips64InstrInfo.td | 630 /// Move between CPU and guest coprocessor registers (Virtualization ASE)
|
| H A D | MipsInstrInfo.td | 282 // Mips ISA/ASE membership and instruction group membership adjectives. 2638 // Virtualization ASE
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ArrayBoundChecker.cpp | 43 const auto *ASE = dyn_cast<ArraySubscriptExpr>(E); in getAsCleanArraySubscriptExpr() local 44 if (!ASE) in getAsCleanArraySubscriptExpr() 47 const MemRegion *SubscriptBaseReg = C.getSVal(ASE->getBase()).getAsRegion(); in getAsCleanArraySubscriptExpr() 57 return ASE; in getAsCleanArraySubscriptExpr() 65 const auto *ASE = getAsCleanArraySubscriptExpr(E, C); in determineElementType() local 66 if (!ASE) in determineElementType() 69 return ASE->getType(); in determineElementType() 694 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(E)) in performCheck() local 695 if (isTainted(State, ASE->getIdx(), C.getLocationContext())) in performCheck() 796 const ArraySubscriptExpr *ASE = getAsCleanArraySubscriptExpr(E, C); in isOffsetObviouslyNonnegative() local [all …]
|
| H A D | InvalidatedIteratorChecker.cpp | 45 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 D | IteratorRangeChecker.cpp | 53 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()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ReachableCode.cpp | 631 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 D | UnsafeBufferUsage.cpp | 1360 const ArraySubscriptExpr *ASE; member in __anon8edba8be0911::ArraySubscriptGadget 1365 ASE(Result.getNodeAs<ArraySubscriptExpr>(ArraySubscrTag)) {} in ArraySubscriptGadget() 1373 const auto *ASE = dyn_cast<ArraySubscriptExpr>(S); in matches() local 1374 if (!ASE) in matches() 1376 const auto *const Base = ASE->getBase()->IgnoreParenImpCasts(); in matches() 1379 const auto *Idx = dyn_cast<IntegerLiteral>(ASE->getIdx()); in matches() 1381 isa<ArrayInitIndexExpr>(ASE->getIdx()); in matches() 1382 if (IsSafeIndex || isSafeArraySubscript(*ASE, Ctx)) in matches() 1384 Result.addNode(ArraySubscrTag, DynTypedNode::create(*ASE)); in matches() 1391 Handler.handleUnsafeOperation(ASE, IsRelatedToDecl, Ctx); in handleUnsafeOperation() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 636 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { in VisitArraySubscriptExpr() argument 637 return VisitChildren(ASE); in VisitArraySubscriptExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 6586 auto ASE = dyn_cast<ArraySubscriptExpr>(UnaOp->getSubExpr()); in checkFormatStringExpr() local 6587 if (UnaOp->getOpcode() == UO_AddrOf && ASE) { in checkFormatStringExpr() 6589 if (ASE->getRHS()->EvaluateAsInt(IndexResult, S.Context, in checkFormatStringExpr() 6594 E = ASE->getBase(); in checkFormatStringExpr() 13588 void VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { in VisitArraySubscriptExpr() argument 13593 VisitSequencedExpressions(ASE->getLHS(), ASE->getRHS()); in VisitArraySubscriptExpr() 13595 Visit(ASE->getLHS()); in VisitArraySubscriptExpr() 13596 Visit(ASE->getRHS()); in VisitArraySubscriptExpr() 14321 auto *ASE = cast<ArraySubscriptExpr>(E); in getBaseAlignmentAndOffsetFromLValue() local 14322 return getAlignmentAndOffsetFromBinAddOrSub(ASE->getBase(), ASE->getIdx(), in getBaseAlignmentAndOffsetFromLValue() [all …]
|
| H A D | CheckExprLifetime.cpp | 732 if (auto *ASE = dyn_cast<ArraySubscriptExpr>(Init)) { in visitLocalsRetainedByReferenceBinding() local 733 Init = ASE->getBase(); in visitLocalsRetainedByReferenceBinding()
|
| H A D | AnalysisBasedWarnings.cpp | 2439 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Operation)) { in handleUnsafeOperation() local 2440 Loc = ASE->getBase()->getExprLoc(); in handleUnsafeOperation() 2441 Range = ASE->getBase()->getSourceRange(); in handleUnsafeOperation()
|
| H A D | SemaOpenMP.cpp | 5172 if (auto *ASE = dyn_cast_or_null<ArraySubscriptExpr>(RefExpr)) { in getPrivateItem() local 5173 Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem() 18997 auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr->IgnoreParens()); in actOnOMPReductionKindClause() local 18999 if (ASE) { in actOnOMPReductionKindClause() 19000 Type = ASE->getType().getNonReferenceType(); in actOnOMPReductionKindClause() 19024 /*AcceptIfMutable=*/false, ASE || OASE)) in actOnOMPReductionKindClause() 19031 if (!ASE && !OASE) { in actOnOMPReductionKindClause() 19162 if (!ASE && !OASE) { in actOnOMPReductionKindClause() 19175 if (!ASE && !OASE) { in actOnOMPReductionKindClause() 19212 (!OASE && !ASE && in actOnOMPReductionKindClause() [all …]
|
| H A D | SemaExpr.cpp | 13614 } else if (const ArraySubscriptExpr *ASE = in DiagnoseConstAssignment() local 13616 E = ASE->getBase()->IgnoreParenImpCasts(); in DiagnoseConstAssignment() 19636 auto *ASE = cast<ArraySubscriptExpr>(E); in rebuildPotentialResultsAsNonOdrUsed() local 19637 Expr *OldBase = ASE->getBase()->IgnoreImplicit(); in rebuildPotentialResultsAsNonOdrUsed() 19643 Expr *LHS = ASE->getBase() == ASE->getLHS() ? Base.get() : ASE->getLHS(); in rebuildPotentialResultsAsNonOdrUsed() 19644 Expr *RHS = ASE->getBase() == ASE->getRHS() ? Base.get() : ASE->getRHS(); in rebuildPotentialResultsAsNonOdrUsed() 19645 SourceLocation LBracketLoc = ASE->getBeginLoc(); // FIXME: Not stored. in rebuildPotentialResultsAsNonOdrUsed() 19647 ASE->getRBracketLoc()); in rebuildPotentialResultsAsNonOdrUsed()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 1206 const ArraySubscriptExpr *ASE; in ProcessInitializer() local 1207 while ((ASE = dyn_cast<ArraySubscriptExpr>(Init))) in ProcessInitializer() 1208 Init = ASE->getBase()->IgnoreImplicit(); in ProcessInitializer() 3283 else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BD->getBinding())) { in VisitCommonDeclRefExpr() local 3284 SVal Idx = state->getSVal(ASE->getIdx(), LCtx); in VisitCommonDeclRefExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 4580 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySubscriptExpr() local 4581 ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true); in EmitArraySubscriptExpr() 4691 if (auto *ASE = dyn_cast<ArraySectionExpr>(Base->IgnoreParenImpCasts())) { in emitOMPArraySectionBase() local 4692 BaseLVal = CGF.EmitArraySectionExpr(ASE, IsLowerBound); in emitOMPArraySectionBase() 4863 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySectionExpr() local 4864 ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true); in EmitArraySectionExpr()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 91 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr)) { in getPrivateItem() local 92 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getPrivateItem()
|
| H A D | CGOpenMPRuntime.cpp | 950 } else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Ref)) { in getBaseDecl() local 951 const Expr *Base = ASE->getBase()->IgnoreParenImpCasts(); in getBaseDecl() 3558 } else if (const auto *ASE = in getPointerAndSize() local 3560 LValue UpAddrLVal = CGF.EmitArraySectionExpr(ASE, /*IsLowerBound=*/false); in getPointerAndSize()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 4194 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement() local 4195 return ASE->getBase()->getType()->isVectorType(); in refersToVectorElement() 5187 while (auto *ASE = in getBaseOriginalType() local 5189 Base = ASE->getBase(); in getBaseOriginalType()
|