Home
last modified time | relevance | path

Searched refs:RHSExpr (Results 1 – 25 of 28) sorted by relevance

12

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclExtractFunctors.h47 template <template <class, class> class UnaryCategory, typename OP, typename RHSExpr, typename Dev>
48 struct FunctorExtractor<TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> > {
49 FunctorExtractor<TensorEvaluator<RHSExpr, Dev> > rhsExpr;
51 FunctorExtractor(const TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev>& expr)
56 template <template <class, class> class UnaryCategory, typename OP, typename RHSExpr, typename Dev>
57 struct FunctorExtractor<TensorEvaluator<UnaryCategory<OP, RHSExpr>, Dev> >
58 : FunctorExtractor<TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> >{};
62 … class, class> class BinaryCategory, typename OP, typename LHSExpr, typename RHSExpr, typename Dev>
63 struct FunctorExtractor<TensorEvaluator<const BinaryCategory<OP, LHSExpr, RHSExpr>, Dev> > {
65 FunctorExtractor<TensorEvaluator<RHSExpr, Dev> > rhsExpr;
[all …]
DTensorSyclLeafCount.h57 template <template <class, class...> class CategoryExpr, typename OP, typename... RHSExpr>
58 struct LeafCount<const CategoryExpr<OP, RHSExpr...> >: CategoryCount<RHSExpr...> {};
60 template <template <class, class...> class CategoryExpr, typename OP, typename... RHSExpr>
61 struct LeafCount<CategoryExpr<OP, RHSExpr...> > :LeafCount<const CategoryExpr<OP, RHSExpr...> >{};
72 template <typename LHSExpr, typename RHSExpr>
73 struct LeafCount<const TensorAssignOp<LHSExpr, RHSExpr> >: CategoryCount<LHSExpr,RHSExpr> {};
77 template <typename LHSExpr, typename RHSExpr>
78 struct LeafCount<TensorAssignOp<LHSExpr, RHSExpr> > :LeafCount<const TensorAssignOp<LHSExpr, RHSExp…
DTensorSyclExtractAccessor.h68 template <template<class, class> class UnaryCategory, typename OP, typename RHSExpr, typename Dev>
69 struct ExtractAccessor<TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> > {
70 …getTuple(cl::sycl::handler& cgh, const TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> eval)
77 template <template<class, class> class UnaryCategory, typename OP, typename RHSExpr, typename Dev>
78 struct ExtractAccessor<TensorEvaluator<UnaryCategory<OP, RHSExpr>, Dev> >
79 : ExtractAccessor<TensorEvaluator<const UnaryCategory<OP, RHSExpr>, Dev> > {};
82 …class, class> class BinaryCategory, typename OP, typename LHSExpr, typename RHSExpr, typename Dev>
83 struct ExtractAccessor<TensorEvaluator<const BinaryCategory<OP, LHSExpr, RHSExpr>, Dev> > {
84 …l::sycl::handler& cgh, const TensorEvaluator<const BinaryCategory<OP, LHSExpr, RHSExpr>, Dev> eval)
90 …class, class> class BinaryCategory, typename OP, typename LHSExpr, typename RHSExpr, typename Dev>
[all …]
DTensorSyclExprConstructor.h64 … class> class UnaryCategory, typename OP, typename OrigRHSExpr, typename RHSExpr, typename... Para…
65 struct ExprConstructor<CVQual UnaryCategory<OP, OrigRHSExpr>, CVQual UnaryCategory<OP, RHSExpr>, Pa…
66 typedef ExprConstructor<OrigRHSExpr, RHSExpr, Params...> my_type;\
83 typename RHSExpr, typename... Params>\
84 …Category<OP, OrigLHSExpr, OrigRHSExpr>, CVQual BinaryCategory<OP, LHSExpr, RHSExpr>, Params...> {\
86 typedef ExprConstructor<OrigRHSExpr, RHSExpr, Params...> my_right_type;\
148 template <typename OrigLHSExpr, typename OrigRHSExpr, typename LHSExpr, typename RHSExpr, typename.…
149 …l TensorAssignOp<OrigLHSExpr, OrigRHSExpr>, CVQual TensorAssignOp<LHSExpr, RHSExpr>, Params...> {\
151 typedef ExprConstructor<OrigRHSExpr, RHSExpr, Params...> my_right_type;\
DTensorSyclConvertToDeviceExpression.h85 template <typename LHSExpr, typename RHSExpr>\
86 struct ConvertToDeviceExpression<CVQual TensorAssignOp<LHSExpr, RHSExpr> >\
87 : NonOpConversion<TensorAssignOp, Res, LHSExpr, RHSExpr>{};
DTensorSyclPlaceHolderExpr.h113 template <typename LHSExpr, typename RHSExpr, size_t N>\
114 struct PlaceHolderExpression<CVQual TensorAssignOp<LHSExpr, RHSExpr>, N> {\
115 …CategoryHelper<TensorAssignOp, NoOP, typename CalculateIndex<N, LHSExpr, RHSExpr>::ArgsTuple>::Typ…
/external/clang/include/clang/AST/
DAPValue.h107 const AddrLabelExpr* RHSExpr; member
161 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() argument
163 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); in APValue()
344 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; in getAddrLabelDiffRHS()
387 const AddrLabelExpr* RHSExpr) { in setAddrLabelDiff() argument
389 ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; in setAddrLabelDiff()
/external/llvm-project/clang/include/clang/AST/
DAPValue.h284 const AddrLabelExpr* RHSExpr;
343 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
345 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
564 return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr;
605 const AddrLabelExpr* RHSExpr) {
607 ((AddrLabelDiffData *)(char *)&Data)->RHSExpr = RHSExpr;
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp458 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
459 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
461 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
464 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
466 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp458 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
459 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
461 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
464 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
466 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp454 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
455 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
457 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
460 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
462 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
/external/clang/lib/Sema/
DSemaExpr.cpp6117 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
6120 Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull()
6126 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
6178 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local
6181 S.Diag(RHSExpr->getLocStart(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType()
6182 << RHSExpr->getSourceRange(); in checkConditionalVoidType()
6183 if (!RHSExpr->getType()->isVoidType()) in checkConditionalVoidType()
6979 Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument
7002 SourceRange(CondRHS->getLocStart(), RHSExpr->getLocEnd())); in DiagnoseConditionalPrecedence()
7010 Expr *RHSExpr) { in ActOnConditionalOp() argument
[all …]
DSemaChecking.cpp10435 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
10445 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
10448 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove()
10459 RHSExpr = CE->getArg(0); in DiagnoseSelfMove()
10462 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove()
10474 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
10483 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove()
10485 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove()
10511 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
10518 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7619 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
7622 Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull()
7628 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
7680 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local
7683 S.Diag(RHSExpr->getBeginLoc(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType()
7684 << RHSExpr->getSourceRange(); in checkConditionalVoidType()
7685 if (!RHSExpr->getType()->isVoidType()) in checkConditionalVoidType()
8525 Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument
8553 SourceRange(CondRHS->getBeginLoc(), RHSExpr->getEndLoc())); in DiagnoseConditionalPrecedence()
8614 Expr *RHSExpr) { in ActOnConditionalOp() argument
[all …]
DSemaChecking.cpp15145 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
15155 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
15158 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove()
15167 RHSExpr = CE->getArg(0); in DiagnoseSelfMove()
15170 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove()
15182 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
15191 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove()
15193 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove()
15219 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
15226 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp55 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local
58 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate()
62 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp54 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local
57 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate()
61 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp54 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local
57 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate()
61 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1395 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in EmitConstantValue() local
1397 llvm::Constant *RHS = EmitConstantExpr(RHSExpr, RHSExpr->getType(), CGF); in EmitConstantValue()
DCGOpenMPRuntime.cpp4526 auto *RHSExpr = UpExpr; in emitReduction() local
4527 if (RHSExpr) { in emitReduction()
4530 RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
4533 RHSExpr = ACO->getCond(); in emitReduction()
4536 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
/external/clang/lib/Analysis/
DCFG.cpp646 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
649 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator()
652 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
685 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
688 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator()
691 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
/external/llvm-project/clang/lib/Analysis/
DCFG.cpp922 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
925 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator()
928 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
961 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
964 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator()
967 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp2100 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local
2102 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
/external/clang/include/clang/Sema/
DSema.h3597 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
4055 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
4057 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
4059 Expr *LHSExpr, Expr *RHSExpr);
4067 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
4103 Expr *RHSExpr, SourceLocation RPLoc);
8821 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
/external/llvm-project/clang/include/clang/Sema/
DSema.h4737 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5302 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5304 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5306 Expr *LHSExpr, Expr *RHSExpr);
5316 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5356 Expr *RHSExpr, SourceLocation RPLoc);
11421 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,

12