HomeSort by: relevance | last modified time | path
    Searched refs:Matrix (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
Math.h 1 //===- Math.h - PBQP Vector and Matrix classes ------------------*- C++ -*-===//
120 /// PBQP Matrix class
121 class Matrix {
123 friend hash_code hash_value(const Matrix &);
126 /// Construct a PBQP Matrix with the given dimensions.
127 Matrix(unsigned Rows, unsigned Cols) :
131 /// Construct a PBQP Matrix with the given dimensions and initial
133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal)
139 /// Copy construct a PBQP matrix.
140 Matrix(const Matrix &M
    [all...]
ReductionRules.h 34 using Matrix = typename GraphT::Matrix;
43 const Matrix &ECosts = G.getEdgeCosts(EId);
78 using Matrix = typename GraphT::Matrix;
96 const Matrix *YXECosts = FlipEdge1 ?
97 new Matrix(G.getEdgeCosts(YXEId).transpose()) :
100 const Matrix *ZXECosts = FlipEdge2 ?
101 new Matrix(G.getEdgeCosts(ZXEId).transpose()) :
134 const Matrix &YZECosts = G.getEdgeCosts(YZEId)
    [all...]
CostAllocator.h 114 using Matrix = MatrixT;
Graph.h 54 using Matrix = typename SolverT::Matrix;
406 /// @param Costs Cost matrix for new edge.
412 "Matrix dimensions mismatch.");
413 // Get cost matrix from the problem domain.
424 /// @param Costs Cost matrix for new edge.
438 "Matrix dimensions mismatch.");
439 // Get cost matrix from the problem domain.
504 /// Update an edge's cost matrix.
506 /// @param Costs New cost matrix
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
AllocationOrder.cpp 31 const LiveRegMatrix *Matrix) {
37 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix);
LiveRegMatrix.cpp 40 "Live Register Matrix", false, false)
44 "Live Register Matrix", false, false)
61 if (NumRegUnits != Matrix.size())
63 Matrix.init(LIUAlloc, NumRegUnits);
71 for (unsigned i = 0, e = Matrix.size(); i != e; ++i) {
72 Matrix[i].clear();
113 Matrix[Unit].unify(VirtReg, Range);
130 Matrix[Unit].extract(VirtReg, Range);
140 if (!Matrix[*Unit].empty())
181 Q.init(UserTag, LR, Matrix[RegUnit])
    [all...]
RegAllocBasic.cpp 152 Matrix->unassign(LI);
170 Matrix->unassign(LI);
217 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units);
240 Matrix->unassign(Spill);
268 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix);
272 switch (Matrix->checkInterference(VirtReg, PhysReg)) {
293 assert(!Matrix->checkInterference(VirtReg, PhysReg) &&
RegAllocBase.cpp 63 Matrix = &mat;
100 Matrix->invalidateVirtRegs();
147 Matrix->assign(*VirtReg, AvailablePhysReg);
RegAllocBase.h 68 LiveRegMatrix *Matrix = nullptr;
AllocationOrder.h 86 const LiveRegMatrix *Matrix);
RegAllocGreedy.cpp 677 Matrix->unassign(LI);
695 Matrix->unassign(LI);
806 if (!Matrix->checkInterference(VirtReg, *I)) {
855 AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix);
864 LiveIntervalUnion::Query subQ(VirtReg, Matrix->getLiveUnions()[*Units]);
921 if (Matrix->checkInterference(VirtReg, PhysReg) > LiveRegMatrix::IK_VirtReg)
939 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units);
1022 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units);
1108 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units);
1126 Matrix->unassign(*Intf)
    [all...]
RegAllocPBQP.cpp 392 // a null matrix, meaning the nodes' allowed registers do not have any
911 const Matrix &M = getEdgeCosts(EId);
912 assert(M.getRows() != 0 && "No rows in matrix.");
913 assert(M.getCols() != 0 && "No cols in matrix.");
938 const Matrix &EdgeCosts = getEdgeCosts(EId);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
LiveRegMatrix.h 10 // along two dimensions: Slot indexes and register units. The matrix is used by
48 // The matrix is represented as a LiveIntervalUnion per register unit.
50 LiveIntervalUnion::Array Matrix;
147 /// Query a line of the assigned virtual register matrix directly.
155 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; }
RegAllocPBQP.h 55 MatrixMetadata(const Matrix& M)
275 using RawMatrix = PBQP::Matrix;
277 using Matrix = RAMatrix;
278 using CostAllocator = PBQP::PoolCostAllocator<Vector, Matrix>;
327 void handleUpdateCosts(EdgeId EId, const Matrix& NewCosts) {
TargetRegisterInfo.h 851 const LiveRegMatrix *Matrix = nullptr) const;
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
MatrixBuilder.h 1 //===- llvm/MatrixBuilder.h - Builder to lower matrix ops -------*- C++ -*-===//
10 // to lower matrix operations to LLVM IR.
40 "One of the operands must be a matrix (embedded in a vector)");
60 /// Create a column major, strided matrix load.
61 /// \p DataPtr - Start address of the matrix read
62 /// \p Rows - Number of rows in matrix (must be a constant)
63 /// \p Columns - Number of columns in matrix (must be a constant)
89 /// Create a column major, strided matrix store.
90 /// \p Matrix - Matrix to stor
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InterleavedAccess.cpp 75 /// Performs matrix transposition on a 4x4 matrix \p InputVectors and
323 ArrayRef<Instruction *> Matrix,
326 // Matrix[0]= c0 c1 c2 c3 c4 ... c7
327 // Matrix[1]= m0 m1 m2 m3 m4 ... m7
328 // Matrix[2]= y0 y1 y2 y3 y4 ... y7
329 // Matrix[3]= k0 k1 k2 k3 k4 ... k7
349 Builder.CreateShuffleVector(Matrix[0], Matrix[1], MaskLow);
351 Builder.CreateShuffleVector(Matrix[2], Matrix[3], MaskLow)
    [all...]
X86RegisterInfo.h 151 const LiveRegMatrix *Matrix) const override;
X86RegisterInfo.cpp 914 const LiveRegMatrix *Matrix) const {
918 VirtReg, Order, Hints, MF, VRM, Matrix);
925 Register VReg = Matrix->getOneVReg(PhysReg);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIPreAllocateWWMRegs.cpp 36 LiveRegMatrix *Matrix;
105 Matrix->checkInterference(LI, PhysReg) == LiveRegMatrix::IK_Free) {
106 Matrix->assign(LI, PhysReg);
208 Matrix = &getAnalysis<LiveRegMatrix>();
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZRegisterInfo.h 139 const LiveRegMatrix *Matrix) const override;
SystemZRegisterInfo.cpp 77 const VirtRegMap *VRM, const LiveRegMatrix *Matrix) const {
83 VirtReg, Order, Hints, MF, VRM, Matrix);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMBaseRegisterInfo.h 160 const LiveRegMatrix *Matrix) const override;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LowerMatrixIntrinsics.cpp 1 //===- LowerMatrixIntrinsics.cpp - Lower matrix intrinsics -----*- C++ -*-===//
9 // Lower matrix intrinsics to vector operations.
51 #define DEBUG_TYPE "lower-matrix-intrinsics"
54 FuseMatrix("fuse-matrix", cl::init(true), cl::Hidden,
55 cl::desc("Enable/disable fusing matrix instructions."));
58 "fuse-matrix-tile-size", cl::init(4), cl::Hidden,
60 "Tile size for matrix instruction fusion using square-shaped tiles."));
61 static cl::opt<bool> TileUseLoops("fuse-matrix-use-loops", cl::init(false),
65 "force-fuse-matrix", cl::init(false), cl::Hidden,
66 cl::desc("Force matrix instruction fusion even if not profitable."))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64PBQPRegAlloc.cpp 289 PBQP::Matrix costs(G.getEdgeCosts(edge));

Completed in 27 milliseconds

1 2