/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | 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) 140 Matrix(const Matrix [all...] |
H A D | 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 [all...] |
H A D | CostAllocator.h | 114 using Matrix = MatrixT;
|
H A D | Graph.h | 54 using Matrix = typename SolverT::Matrix; 412 "Matrix dimensions mismatch."); 438 "Matrix dimensions mismatch."); 530 const Matrix& getEdgeCosts(EdgeId EId) const {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AllocationOrder.cpp | 32 const LiveRegMatrix *Matrix) 37 if (TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix)) 29 AllocationOrder(unsigned VirtReg, const VirtRegMap &VRM, const RegisterClassInfo &RegClassInfo, const LiveRegMatrix *Matrix) argument
|
H A D | 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[RegUni [all...] |
H A D | RegAllocBasic.cpp | 147 Matrix->unassign(LI); 165 Matrix->unassign(LI); 212 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 235 Matrix->unassign(Spill); 262 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); 265 switch (Matrix->checkInterference(VirtReg, PhysReg)) { 287 assert(!Matrix->checkInterference(VirtReg, *PhysRegI) &&
|
H A D | AllocationOrder.h | 46 const LiveRegMatrix *Matrix);
|
H A D | RegAllocBase.cpp | 64 Matrix = &mat; 101 Matrix->invalidateVirtRegs(); 142 Matrix->assign(*VirtReg, AvailablePhysReg);
|
H A D | RegAllocBase.h | 68 LiveRegMatrix *Matrix = nullptr; member in class:llvm::RegAllocBase
|
H A D | RegAllocGreedy.cpp | 639 Matrix->unassign(LI); 657 Matrix->unassign(LI); 769 if (!Matrix->checkInterference(VirtReg, PhysReg)) 810 AllocationOrder Order(VirtReg.reg, *VRM, RegClassInfo, Matrix); 819 LiveIntervalUnion::Query subQ(VirtReg, Matrix->getLiveUnions()[*Units]); 876 if (Matrix->checkInterference(VirtReg, PhysReg) > LiveRegMatrix::IK_VirtReg) 894 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 976 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 1063 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, *Units); 1082 Matrix [all...] |
H A D | TargetRegisterInfo.cpp | 388 const LiveRegMatrix *Matrix) const {
|
H A D | RegAllocPBQP.cpp | 900 const Matrix &M = getEdgeCosts(EId); 927 const Matrix &EdgeCosts = getEdgeCosts(EId);
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveRegMatrix.h | 50 LiveIntervalUnion::Array Matrix; member in class:llvm::LiveRegMatrix 154 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; }
|
H A D | RegAllocPBQP.h | 53 MatrixMetadata(const Matrix& M) 273 using RawMatrix = PBQP::Matrix; 275 using Matrix = RAMatrix; 276 using CostAllocator = PBQP::PoolCostAllocator<Vector, Matrix>; 325 void handleUpdateCosts(EdgeId EId, const Matrix& NewCosts) {
|
H A D | TargetRegisterInfo.h | 785 const LiveRegMatrix *Matrix = nullptr)
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIPreAllocateWWMRegs.cpp | 42 LiveRegMatrix *Matrix; member in class:__anon5032::SIPreAllocateWWMRegs 109 Matrix->checkInterference(LI, PhysReg) == LiveRegMatrix::IK_Free) { 110 Matrix->assign(LI, PhysReg); 174 Matrix = &getAnalysis<LiveRegMatrix>();
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 318 ArrayRef<Instruction *> Matrix, 321 // Matrix[0]= c0 c1 c2 c3 c4 ... c7 322 // Matrix[1]= m0 m1 m2 m3 m4 ... m7 323 // Matrix[2]= y0 y1 y2 y3 y4 ... y7 324 // Matrix[3]= k0 k1 k2 k3 k4 ... k7 344 Builder.CreateShuffleVector(Matrix[0], Matrix[1], MaskLow); 346 Builder.CreateShuffleVector(Matrix[2], Matrix[3], MaskLow); 358 ArrayRef<Instruction *> Matrix, SmallVectorImp 317 interleave8bitStride4VF8( ArrayRef<Instruction *> Matrix, SmallVectorImpl<Value *> &TransposedMatrix) argument 357 interleave8bitStride4( ArrayRef<Instruction *> Matrix, SmallVectorImpl<Value *> &TransposedMatrix, unsigned NumOfElm) argument 688 transpose_4x4( ArrayRef<Instruction *> Matrix, SmallVectorImpl<Value *> &TransposedMatrix) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZRegisterInfo.h | 66 const LiveRegMatrix *Matrix) const override;
|
H A D | SystemZRegisterInfo.cpp | 82 const LiveRegMatrix *Matrix) const { 88 VirtReg, Order, Hints, MF, VRM, Matrix);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 588 void LowerStore(Instruction *Inst, Value *Matrix, Value *Ptr, Value *Stride, argument 591 auto VType = cast<VectorType>(Matrix->getType()); 593 auto LM = getMatrix(Matrix, Shape, Builder); 608 Value *Matrix = Inst->getArgOperand(0); local 611 LowerStore(Inst, Matrix, Ptr, Stride, 681 /// Cache \p Matrix as result of \p Inst and update the uses of \p Inst. For 683 /// cached value when they are lowered. For other users, \p Matrix is 686 void finalizeLowering(Instruction *Inst, ColumnMatrixTy Matrix, argument 688 Inst2ColumnMatrix.insert(std::make_pair(Inst, Matrix)); 696 Flattened = Matrix [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseRegisterInfo.h | 157 const LiveRegMatrix *Matrix) const override;
|
H A D | ARMBaseRegisterInfo.cpp | 306 const LiveRegMatrix *Matrix) const {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64PBQPRegAlloc.cpp | 289 PBQP::Matrix costs(G.getEdgeCosts(edge));
|