Home
last modified time | relevance | path

Searched refs:subExpr (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DThrowByValueCatchByReferenceCheck.cpp71 auto *subExpr = throwExpr->getSubExpr(); in diagnoseThrowLocations() local
72 if (!subExpr) in diagnoseThrowLocations()
74 auto qualType = subExpr->getType(); in diagnoseThrowLocations()
78 auto *inner = subExpr->IgnoreParenImpCasts(); in diagnoseThrowLocations()
86 diag(subExpr->getBeginLoc(), "throw expression throws a pointer; it should " in diagnoseThrowLocations()
104 auto *currentSubExpr = subExpr->IgnoreImpCasts(); in diagnoseThrowLocations()
129 diag(subExpr->getBeginLoc(), in diagnoseThrowLocations()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclConvertToDeviceExpression.h108 template <typename OP, typename Dim, typename subExpr, template <class> class MakePointer_>\
109 struct ConvertToDeviceExpression<CVQual TensorReductionOp<OP, Dim, subExpr, MakePointer_> > {\
110 …typedef CVQual TensorReductionOp<OP, Dim, typename ConvertToDeviceExpression<subExpr>::Type, MakeG…
/external/llvm-project/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp385 Expr *subExpr = E->getSubExpr(); in transformObjCToNonObjCCast() local
388 if (PseudoObjectExpr *pseudo = dyn_cast<PseudoObjectExpr>(subExpr)) { in transformObjCToNonObjCCast()
389 subExpr = pseudo->getResultExpr(); in transformObjCToNonObjCCast()
390 assert(subExpr && "no result for pseudo-object of non-void type?"); in transformObjCToNonObjCCast()
393 if (ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(subExpr)) { in transformObjCToNonObjCCast()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp388 Expr *subExpr = E->getSubExpr(); in transformObjCToNonObjCCast() local
391 if (PseudoObjectExpr *pseudo = dyn_cast<PseudoObjectExpr>(subExpr)) { in transformObjCToNonObjCCast()
392 subExpr = pseudo->getResultExpr(); in transformObjCToNonObjCCast()
393 assert(subExpr && "no result for pseudo-object of non-void type?"); in transformObjCToNonObjCCast()
396 if (ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(subExpr)) { in transformObjCToNonObjCCast()
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp74 const MCExpr *subExpr);
1216 const MCExpr *subExpr) in adjustPICRelocation() argument
1227 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10 in adjustPICRelocation()
1231 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC22 in adjustPICRelocation()
1237 return SparcMCExpr::create(VK, subExpr, getContext()); in adjustPICRelocation()
1259 const MCExpr *subExpr; in matchSparcAsmModifiers() local
1260 if (Parser.parseParenExpression(subExpr, EndLoc)) in matchSparcAsmModifiers()
1263 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp93 const MCExpr *subExpr);
1262 const MCExpr *subExpr) { in adjustPICRelocation() argument
1272 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10 in adjustPICRelocation()
1276 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC22 in adjustPICRelocation()
1282 return SparcMCExpr::create(VK, subExpr, getContext()); in adjustPICRelocation()
1303 const MCExpr *subExpr; in matchSparcAsmModifiers() local
1304 if (Parser.parseParenExpression(subExpr, EndLoc)) in matchSparcAsmModifiers()
1307 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
/external/llvm-project/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp95 const MCExpr *subExpr);
1273 const MCExpr *subExpr) { in adjustPICRelocation() argument
1283 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10 in adjustPICRelocation()
1287 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC22 in adjustPICRelocation()
1293 return SparcMCExpr::create(VK, subExpr, getContext()); in adjustPICRelocation()
1314 const MCExpr *subExpr; in matchSparcAsmModifiers() local
1315 if (Parser.parseParenExpression(subExpr, EndLoc)) in matchSparcAsmModifiers()
1318 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp1045 Expr *subExpr = E->getSubExpr(); in VisitCastExpr() local
1055 auto C = Emitter.tryEmitPrivateForMemory(subExpr, field->getType()); in VisitCastExpr()
1085 auto C = Emitter.tryEmitPrivate(subExpr, subExpr->getType()); in VisitCastExpr()
1088 LangAS srcAS = subExpr->getType()->getPointeeType().getAddressSpace(); in VisitCastExpr()
1099 return Visit(subExpr, destType); in VisitCastExpr()
1112 auto C = Emitter.tryEmitPrivate(subExpr, subExpr->getType()); in VisitCastExpr()
/external/llvm-project/mlir/lib/IR/
DAffineExpr.cpp1057 for (auto &subExpr : operandExprStack) in addLocalFloorDivId() local
1058 subExpr.insert(subExpr.begin() + getLocalVarStartIndex() + numLocals, 0); in addLocalFloorDivId()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp647 Expr *subExpr = E->getSubExpr(); in VisitCastExpr() local
648 llvm::Constant *C = CGM.EmitConstantExpr(subExpr, subExpr->getType(), CGF); in VisitCastExpr()
/external/clang/tools/libclang/
DCIndex.cpp3453 auto *subExpr = I->getSubExprAsWritten(); in getCFSTR_value() local
3455 if(subExpr->getStmtClass() != Stmt::StringLiteralClass){ in getCFSTR_value()
3551 auto *subExpr = I->getSubExprAsWritten(); in evaluateExpr() local
3552 if (subExpr->getStmtClass() == Stmt::StringLiteralClass || in evaluateExpr()
3553 subExpr->getStmtClass() == Stmt::ObjCStringLiteralClass) { in evaluateExpr()
3556 ObjCExpr = dyn_cast<ObjCStringLiteral>(subExpr); in evaluateExpr()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2657 Expr *subExpr = Exp->getSubExpr(); in RewriteObjCBoxedExpr() local
2658 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(subExpr)) { in RewriteObjCBoxedExpr()
2664 subExpr = NoTypeInfoCStyleCastExpr(Context, type, CK, subExpr); in RewriteObjCBoxedExpr()
2666 MsgExprs.push_back(subExpr); in RewriteObjCBoxedExpr()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2651 Expr *subExpr = Exp->getSubExpr(); in RewriteObjCBoxedExpr() local
2652 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(subExpr)) { in RewriteObjCBoxedExpr()
2658 subExpr = NoTypeInfoCStyleCastExpr(Context, type, CK, subExpr); in RewriteObjCBoxedExpr()
2660 MsgExprs.push_back(subExpr); in RewriteObjCBoxedExpr()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp3810 auto *subExpr = I->getSubExprAsWritten(); in getCFSTR_value() local
3812 if (subExpr->getStmtClass() != Stmt::StringLiteralClass) { in getCFSTR_value()
3943 auto *subExpr = I->getSubExprAsWritten(); in evaluateExpr() local
3944 if (subExpr->getStmtClass() == Stmt::StringLiteralClass || in evaluateExpr()
3945 subExpr->getStmtClass() == Stmt::ObjCStringLiteralClass) { in evaluateExpr()
3948 ObjCExpr = dyn_cast<ObjCStringLiteral>(subExpr); in evaluateExpr()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1383 Expr *subExpr = Record.readSubExpr(); in VisitPseudoObjectExpr() local
1384 E->getSubExprsBuffer()[i+1] = subExpr; in VisitPseudoObjectExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp944 Expr *subExpr = Reader.ReadSubExpr(); in VisitPseudoObjectExpr() local
945 E->getSubExprsBuffer()[i+1] = subExpr; in VisitPseudoObjectExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp6016 Expr *subExpr; in BuildVectorLiteral() local
6026 subExpr = cast<ParenExpr>(E)->getSubExpr(); in BuildVectorLiteral()
6027 exprs = &subExpr; in BuildVectorLiteral()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7519 Expr *subExpr; in BuildVectorLiteral() local
7529 subExpr = cast<ParenExpr>(E)->getSubExpr(); in BuildVectorLiteral()
7530 exprs = &subExpr; in BuildVectorLiteral()