Home
last modified time | relevance | path

Searched refs:PBQPNum (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/CodeGen/PBQP/
DMath.h19 typedef float PBQPNum; typedef
28 : Length(Length), Data(new PBQPNum[Length]) { in Vector()
34 Vector(unsigned Length, PBQPNum InitVal) in Vector()
35 : Length(Length), Data(new PBQPNum[Length]) { in Vector()
44 : Length(V.Length), Data(new PBQPNum[Length]) { in Vector()
69 Data = new PBQPNum[Length];
99 PBQPNum& operator[](unsigned Index) {
106 const PBQPNum& operator[](unsigned Index) const {
116 std::transform(Data, Data + Length, V.Data, Data, std::plus<PBQPNum>());
124 std::transform(Data, Data + Length, V.Data, Data, std::minus<PBQPNum>());
[all …]
DReductionRules.h48 PBQPNum Min = ECosts[0][j] + XCosts[0]; in applyR1()
50 PBQPNum C = ECosts[i][j] + XCosts[i]; in applyR1()
58 PBQPNum Min = ECosts[i][0] + XCosts[0]; in applyR1()
60 PBQPNum C = ECosts[i][j] + XCosts[j]; in applyR1()
110 PBQPNum Min = (*YXECosts)[i][0] + (*ZXECosts)[j][0] + XCosts[0]; in applyR2()
112 PBQPNum C = (*YXECosts)[i][k] + (*ZXECosts)[j][k] + XCosts[k]; in applyR2()
DRegAllocSolver.h51 if (M[i][j] == std::numeric_limits<PBQP::PBQPNum>::infinity()) { in MatrixMetadata()
332 PBQPNum N1SC = G.getNodeCosts(N1Id)[0] / G.getNodeDegree(N1Id); in operator()
333 PBQPNum N2SC = G.getNodeCosts(N2Id)[0] / G.getNodeDegree(N2Id); in operator()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h131 void addSpillCosts(PBQP::Vector &costVec, PBQP::PBQPNum spillCost);
152 PBQP::PBQPNum benefit);
157 PBQP::PBQPNum benefit);
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp117 typedef std::map<RegPair, PBQP::PBQPNum> CoalesceMap;
246 PBQP::PBQPNum spillCost = (vregLI->weight != 0.0) ? in build()
247 vregLI->weight : std::numeric_limits<PBQP::PBQPNum>::min(); in build()
286 PBQP::PBQPNum spillCost) { in addSpillCosts()
305 costMat[i + 1][j + 1] = std::numeric_limits<PBQP::PBQPNum>::infinity(); in addInterferenceCosts()
340 PBQP::PBQPNum cBenefit = in build()
390 PBQP::PBQPNum benefit) { in addPhysRegCoalesce()
398 PBQP::PBQPNum benefit) { in addVirtRegCoalesce()