Home
last modified time | relevance | path

Searched refs:RowIdx (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h150 Value *CreateMatrixInsert(Value *Matrix, Value *NewVal, Value *RowIdx, in CreateMatrixInsert() argument
156 RowIdx)); in CreateMatrixInsert()
219 Value *CreateExtractElement(Value *Matrix, Value *RowIdx, Value *ColumnIdx,
222 unsigned MaxWidth = std::max(RowIdx->getType()->getScalarSizeInBits(),
224 Type *IntTy = IntegerType::get(RowIdx->getType()->getContext(), MaxWidth);
225 RowIdx = B.CreateZExt(RowIdx, IntTy);
229 Matrix, B.CreateAdd(B.CreateMul(ColumnIdx, NumRowsV), RowIdx),
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp4736 ExprResult Sema::CreateBuiltinMatrixSubscriptExpr(Expr *Base, Expr *RowIdx, in CreateBuiltinMatrixSubscriptExpr() argument
4744 ExprResult RowR = CheckPlaceholderExpr(RowIdx); in CreateBuiltinMatrixSubscriptExpr()
4747 RowIdx = RowR.get(); in CreateBuiltinMatrixSubscriptExpr()
4751 Base, RowIdx, ColumnIdx, Context.IncompleteMatrixIdxTy, RBLoc); in CreateBuiltinMatrixSubscriptExpr()
4754 if (Base->isTypeDependent() || RowIdx->isTypeDependent() || in CreateBuiltinMatrixSubscriptExpr()
4756 return new (Context) MatrixSubscriptExpr(Base, RowIdx, ColumnIdx, in CreateBuiltinMatrixSubscriptExpr()
4793 RowIdx = IsIndexValid(RowIdx, MTy->getNumRows(), false); in CreateBuiltinMatrixSubscriptExpr()
4795 if (!RowIdx || !ColumnIdx) in CreateBuiltinMatrixSubscriptExpr()
4798 return new (Context) MatrixSubscriptExpr(Base, RowIdx, ColumnIdx, in CreateBuiltinMatrixSubscriptExpr()
DTreeTransform.h2438 ExprResult RebuildMatrixSubscriptExpr(Expr *Base, Expr *RowIdx, in RebuildMatrixSubscriptExpr() argument
2441 return getSema().CreateBuiltinMatrixSubscriptExpr(Base, RowIdx, ColumnIdx, in RebuildMatrixSubscriptExpr()
10333 ExprResult RowIdx = getDerived().TransformExpr(E->getRowIdx()); in TransformMatrixSubscriptExpr() local
10334 if (RowIdx.isInvalid()) in TransformMatrixSubscriptExpr()
10342 RowIdx.get() == E->getRowIdx() && ColumnIdx.get() == E->getColumnIdx()) in TransformMatrixSubscriptExpr()
10346 Base.get(), RowIdx.get(), ColumnIdx.get(), E->getRBracketLoc()); in TransformMatrixSubscriptExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp3861 llvm::Value *RowIdx = EmitScalarExpr(E->getRowIdx()); in EmitMatrixSubscriptExpr() local
3864 RowIdx->getType()->getScalarSizeInBits(), in EmitMatrixSubscriptExpr()
3867 Builder.CreateAdd(Builder.CreateMul(ColIdx, NumRows), RowIdx); in EmitMatrixSubscriptExpr()
DCGExprScalar.cpp1713 Value *RowIdx = Visit(E->getRowIdx()); in VisitMatrixSubscriptExpr() local
1720 Matrix, RowIdx, ColumnIdx, in VisitMatrixSubscriptExpr()
/external/llvm-project/clang/include/clang/AST/
DExpr.h2657 MatrixSubscriptExpr(Expr *Base, Expr *RowIdx, Expr *ColumnIdx, QualType T, in MatrixSubscriptExpr() argument
2662 SubExprs[ROW_IDX] = RowIdx; in MatrixSubscriptExpr()
/external/llvm-project/clang/include/clang/Sema/
DSema.h5117 ExprResult CreateBuiltinMatrixSubscriptExpr(Expr *Base, Expr *RowIdx,